* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
}

.main-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.main-nav a {
    color: #000000;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    transition: text-decoration 0.2s ease;
}

.main-nav a:hover {
    text-decoration: line-through;
}

/* Back link styling */
.back-link {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 100;
}

.main-nav .back-link:hover,
.back-link:hover {
    text-decoration: none !important;
    color: #666666 !important;
}

.main-nav a:visited {
    color: #000000;
}

.content {
    margin-top: 3rem;
}

.content h1 {
    font-size: 2rem;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.content p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
}

/* Books styling */
.books-section {
    margin-top: 3rem;
}

.books-section:first-of-type {
    margin-top: 2rem;
}

.books-section h2 {
    font-size: 1.2rem;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.books-list {
    margin-top: 1rem;
}

.book-item {
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* Thoughts styling */
.thoughts-list {
    margin-top: 2rem;
}

.thought-item {
    font-size: 1rem;
    line-height: 1.8;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    max-width: 600px;
}

/* CV styling */
.cv-header {
    margin-bottom: 3rem;
}

.cv-header h1 {
    font-size: 2rem;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.cv-contact {
    font-size: 1rem;
    letter-spacing: 0.05em;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cv-link a {
    color: #000000;
    text-decoration: none;
    text-transform: lowercase;
    transition: text-decoration 0.2s ease;
}

.cv-link a:hover {
    text-decoration: line-through;
}

.cv-section {
    margin-bottom: 3rem;
}

.cv-section h2 {
    font-size: 1.5rem;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-decoration: underline;
}

.cv-content {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 700px;
}

.cv-item {
    margin-bottom: 2rem;
}

.cv-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cv-institution {
    font-weight: normal;
    flex: 1;
    min-width: 200px;
}

.cv-institution a {
    color: #000000;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.cv-institution a:hover {
    text-decoration: line-through;
}

.cv-date {
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: left;
    width: 160px;
    flex-shrink: 0;
}

.cv-details {
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 0;
}

.cv-subheader {
    font-size: 0.95rem;
    margin-top: 0.3rem;
    font-style: italic;
}

.cv-signature {
    margin-top: 4rem;
    max-width: 400px;
}

.signature-line {
    margin-bottom: 2rem;
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.signature-date {
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.signature-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    max-width: 400px;
}

/* Upload form styles */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.password-input,
.file-input {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    padding: 0.5rem;
    border: 1px solid #000000;
    background-color: #ffffff;
    color: #000000;
}

.upload-button {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #000000;
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    text-transform: lowercase;
    transition: text-decoration 0.2s ease;
}

.upload-button:hover {
    text-decoration: line-through;
}

.message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.message.success {
    color: #000000;
}

.message.error {
    color: #000000;
}

/* Photography gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
    margin-top: 2rem;
    width: 100%;
}

.photo-item {
    padding: 0.3rem;
    display: block;
    overflow: hidden;
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-nav a {
        font-size: 1rem;
    }
    
    .content h1 {
        font-size: 1.5rem;
    }
}

