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

body {
margin: 0;
padding: 0;
font-size: 24px;
min-width: 760px;
}

:root {
    --hero-color: #FDF9F2;
    --about-color: #F5F0EB;
    --research-color: #FFF7EB;
    --development-color: #fff;
    --misc-color: #F5F0EB;
    --footer-color: #FFF7EB;
    --highlighter-color-green: #DBF8CB;
    --highlighter-color-orange: #FFDAAB;
    --clickable-color-orange: #FFDAAB;
    font-size: 16px;
}

.section {
    width: 100%;
    padding: 50px 0;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;  
    background-color: var(--hero-color);
    min-height: 10vh;
    padding:50px 0 0 0;
    justify-content: center;
}

.nav-section{
    display: flex;
    justify-content: center;
    align-items: center;  
    background-color: var(--hero-color);
    padding: 20px 0;
    text-align: center;
}

.about-section {
    background-color: var(--about-color);
}

.research-section {
    background-color: var(--research-color);
}

.development-section {
    background-color: var(--development-color);
}

.misc-section {
    background-color: var(--misc-color);
}

.footer-section{
    background-color: var(--footer-color);
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto 0 auto;
}

nav {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    font-size: 1.5rem;
}

.nav-button {
    font-family: 'Inria Serif', serif;
    font-size: 1.5rem;
    text-decoration: none;
    color: #333;
    position: relative;
    display: inline-block;
    z-index: 0;
    padding: 0;
    transition: all 0.2s ease;
}

.nav-button::before {
    content: "";
    position: absolute;
    left: -0.1em;
    right: -0.1em;
    top: 50%;
    transform: translateY(-50%);
    height: 25%;
    background: var(--highlighter-color-green);
    border-radius: 0.25em;
    z-index: -1;
}

.nav-button:hover {
    opacity: 0.8;
}

.hero-content {
    flex: 1;
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.subtitle {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    margin-bottom: 0rem;
    color: #666;
}
    
p {
    font-family: 'Inria Serif', serif;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
}

h1 {
    font-family: 'Inria Serif', serif;
    font-size: 4rem;
    color: #333;
}

h2 {
    font-family: 'Inria Serif', serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
    position: relative;
    display: inline-block;
    z-index: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    width: fit-content;
}

h2::before {
    content: "";
    position: absolute;
    left: -0.1em;
    right: -0.1em;
    top: 50%;
    transform: translateY(-50%);
    height: 35%;
    background: var(--highlighter-color-green);
    z-index: -1;
}
.clicky {
    position: relative;
    display: inline;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    z-index: 0;
    background: linear-gradient(to bottom, transparent 35%, var(--clickable-color-orange) 35%, var(--clickable-color-orange) 65%, transparent 65%);
    padding: 0 0.1em;
    transition: all 0.2s ease;
    border-radius: 0.25em;
}

.clicky--green {
    background: linear-gradient(to bottom, transparent 35%, var(--highlighter-color-green) 35%, var(--highlighter-color-green) 65%, transparent 65%);
}

.clicky--orange {
    background: linear-gradient(to bottom, transparent 35%, var(--clickable-color-orange) 35%, var(--clickable-color-orange) 65%, transparent 65%);
}

.clicky:hover {
    opacity: 0.8;
}

/* svgs for header */

.symbols {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.symbol-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #666;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.symbol-link:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.symbol-link svg {
    width: 24px;
    height: 24px;
}

p .symbol-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 8px;
    color: #666;
    transition: all 0.2s ease;
    border-radius: 50%;
    vertical-align: middle;
}

p .symbol-link:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

p .symbol-link svg {
    width: 18px;
    height: 18px;
}

b, strong {
    font-weight: 900;
}

.bullets {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin: 1.5rem 0;
}

.bullets li {
    font-family: 'Inria Serif', serif;
    font-weight: 400;
    line-height: 1.6;
    padding-left: 2rem;
    position: relative;
}

.bullets li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}
.back {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    background-color: var(--development-color);
}

.back p {
    margin: 0;
    text-align: center;
}

.cabinet-about {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    font-size: 1.7rem;
    font-weight: 400;
}

.cabinet-about-content.hidden {
    display: none;
}

.cabinet-about-content {
    max-width: 750px;
    padding: 2rem;
    font-family: 'Inria Serif', serif;
    line-height: 1.6;
    font-size: 1.3rem;
    font-weight: 200;
    text-align: left;
}

.cabinet-button {
    font-family: 'Inria Serif', serif;
    font-size: 1.2rem;
    padding: 12px 24px;
    background-color: #f8f8f8;
    border: 2px solid #ddd;
    border-radius: 8px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 20px 0;
}

.cabinet-button:hover {
    background-color: #e8e8e8;
    border-color: #ccc;
    transform: translateY(-1px);
}

.cabinet-content {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #fafafa;
    border-left: 4px solid var(--highlighter-color-green);
    transition: opacity 0.3s ease;
}

.cabinet-content.hidden {
    display: none;
}

.cabinet-content blockquote {
    font-size: 1.3rem;
    text-align: left;
    white-space: pre-line;
    line-height: 1.8;
    font-family: 'Inria Serif', serif;
}

.cabinet-content .attribution {
    text-align: right;
    font-weight: 600;
    color: #666;
    font-size: 1rem;
}

.cabinet-content .poem {
    font-size: 1.3rem;
    white-space: pre-line;
    text-align: left;
    font-family: 'Inria Serif', serif;
    line-height: 1.8;
}

.cabinet-content .poem-title {
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.cabinet-about .clicky--orange {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: 'Inria Serif', serif;
    background: none !important;
    position: relative;
    display: inline-block;
    z-index: 0;
    padding: 0;
    border-radius: 0;
}

.cabinet-about .clicky--orange::before {
    content: "";
    position: absolute;
    left: -0.1em;
    right: -0.1em;
    top: 50%;
    transform: translateY(-50%);
    height: 35%;
    background: var(--highlighter-color-orange);
    border-radius: 0.25em;
    z-index: -1;
}

@media (max-width: 768px) {
    body {
        font-size: 18px;
        min-width: unset;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .avatar {
        width: 150px;
        height: 150px;
    }
    
    h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1.5rem;
        font-size: 1.3rem;
        text-align: center;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .symbols {
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .bullets {
        margin: 1.5rem 0;
    }
    
    .bullets li {
        font-size: 1rem;
        padding-left: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .nav-button {
        display: inline-block !important;
        width: auto !important;
        align-self: center !important;
        font-size: 1.3rem;
    }

    .cabinet-about {
        font-size: 1.5rem;
    }
    
    .cabinet-about .clicky--orange {
        font-size: 1.3rem;
    }
    
    .cabinet-about-content {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 0 0.75rem;
        gap: 1rem;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-button {
        display: inline-block !important;
        width: auto !important;
        align-self: center !important;
        background-image: linear-gradient(to bottom,
            transparent 35%,
            var(--highlighter-color-green) 35%,
            var(--highlighter-color-green) 65%,
            transparent 65%);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        padding: 0 .15em;
        border-radius: 0.25em;
        z-index: 0;
      }
    .nav-button::before {
        left: 0;
        right: 0;
    }
    
    h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .symbols {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .symbol-link {
        width: 35px;
        height: 35px;
    }
    
    .symbol-link svg {
        width: 20px;
        height: 20px;
    }
    
    p .symbol-link {
        width: 25px;
        height: 25px;
        margin-left: 6px;
    }
    
    p .symbol-link svg {
        width: 15px;
        height: 15px;
    }
    
    .bullets li {
        font-size: 0.9rem;
        padding-left: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .back {
        padding: 1.5rem 0;
    }

    .nav-button {
        display: inline-block !important;
        width: auto !important;
        align-self: center !important;
        font-size: 1.1rem;
    }    

    .cabinet-about {
        font-size: 1.2rem;
        padding: 1.5rem 0;
    }
    
    .cabinet-about .clicky--orange {
        font-size: 1.1rem;
    }
    
    .cabinet-about-content {
        font-size: 1rem;
        padding: 1rem;
    }
}
html {
    scroll-behavior: smooth;
}