/*
design inspired by ivan khatchatourian
https://www.math.utoronto.ca/~ivan/
 */

@font-face {
    font-family: 'TiemposHeadline';
    src: url('./assets/TiemposHeadline-Bold.otf') format('opentype');
    font-weight: bold;
}

@font-face {
    font-family: 'TiemposHeadline';
    src: url('./assets/TiemposHeadline-Black.otf') format('opentype');
    font-weight: 900;
}

#literatureTitle {
    color: #ffffff;
    font-family: 'TiemposHeadline', serif;
    font-size: 3rem;
}

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

::selection {
    background-color: #a6ffb8;
    color: #1a1a1a;
}

::-moz-selection {
    background-color: #a6ffb8;
    color: #1a1a1a;
}

body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    min-height: 100vh;
    padding: 40px 20px;
    cursor: crosshair;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

nav a {
    color: #a6ffb8;;
    text-decoration: underline;
    font-size: 1rem;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

nav a:hover {
    opacity: 0.7;
}

nav span.separator {
    color: #e0e0e0;
}

@media (max-width: 768px) {
    nav {
        gap: 15px;
    }

    nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    nav {
        gap: 10px;
    }

    nav a {
        font-size: 0.8rem;
    }

    nav span.separator {
        font-size: 0.8rem;
    }
}

main {
    margin-top: 30px;
}

.intro {
    font-size: 0.95rem;
    line-height: 1.6;
}

.intro a {
    color: #a6ffb8;
    text-decoration: none;
}

.intro a:hover {
    text-decoration: underline;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 0.75rem;
    color: #666;
    text-align: right;
    line-height: 1.4;
}

html {
    scroll-behavior: smooth;
}

.projects-section {
    margin-top: 50px;
}

.projects-section h2 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 30px;
    color: #a6ffb8;
}

.project {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.project:last-child {
    border-bottom: none;
}

.project-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.project-desc {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 8px;
}

.project-desc a {
    color: inherit;
    text-decoration: none;
}

.project-desc a:hover {
    text-decoration: underline;
    color: inherit;
}

.project-tech {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.project-links a {
    color: #a6ffb8;
    text-decoration: none;
    margin-right: 15px;
    font-size: 0.9rem;
}

.project-links a:hover {
    text-decoration: underline;
}

.extra-section {
    margin-top: 50px;
}

.extra-section h2 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 30px;
    color: #a6ffb8;
}

.extra-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.extra-content p {
    margin-bottom: 1em;
}

.extra-content a {
    color: #a6ffb8;
    text-decoration: none;
}

.extra-content a:hover {
    text-decoration: underline;
}

.profile-photo {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
}

@media (max-width: 768px) {
    .profile-photo {
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .profile-photo {
        max-width: 140px;
    }
}
