@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

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

body {
    background: #171717;
    color: white;
    line-height: 1.65;
    padding: 2rem;
    max-width: 720px;
    margin: 0 auto;
    font-size: 22px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1 {
    font-family: "Playfair Display", serif;

    font-size: 1.5rem;
    font-weight: 400;
    font-size: 50px;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1.2rem;
}

.focus {
    margin: 2rem 0;
    padding-left: 1rem;
    border-left: 2px solid #171717;
    transition: border-color 0.3s ease;
}

body.dark .focus {
    border-left-color: #e5e5e5;
}

.contact-line {
    margin: 2rem 0;
}

nav {
    margin-top: 0.5rem;
    display: flex;
    gap: 1.5rem;
}

a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 1px;
    transition: opacity 0.2s ease, color 0.3s ease, border-color 0.3s ease;
}

a:hover {
    opacity: 0.6;
}


@media (max-width: 640px) {
    body {
        padding: 1.5rem;
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.3rem;
    }
    
    nav {
        flex-direction: column;
        gap: 0.8rem;
    }
}

select {
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Courier New', monospace;
    background-color: #fafafa;
    border-color: #fafafa;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}


select:focus {
    outline: none;
}

option {
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Courier New', monospace;
    padding: 4px;
}

option:checked {
    background: #2a2a2a;
    color: #fafafa;
}




