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

body {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #666666;
    background-color: #fcfcfc;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 0.2rem;

    border-style: solid;
    border-width: 0.01rem;
    border-color: #f0f0f0;
    width: 90%;
    max-width: 27rem;

    border-radius: 1.5rem;
    position: sticky;
    top: 1rem;
    margin: 1rem auto 0 auto;
    z-index: 1000;
}

.navbar li {
    display: flex;
    border-color: #ffffff;
    border-style: solid;
    border-width: 0.01rem;
    border-radius: 1.5rem;
    list-style: none;
    padding: 0.7rem;
    width: 5rem;
    align-content: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    margin: 0 0.2rem;
}

.navbar .links {
    display: flex;
    justify-content: center;
    gap: 0.1rem;
    list-style: none;
    width: 100%;
}

.navbar .links a {
    color: #666666;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar li:hover {
    background-color: #eaeaea;
}

.projects-button {
    background-color: #eaeaea;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666666;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    margin: 1rem;
}

.section {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 1.5rem;
    border-style: solid;
    border-width: 0.01rem;
    border-color: #f0f0f0;
    height: 32rem;
}

@media (max-width: 768px) {
    .navbar {
        width: 90%;
        left: 5%;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar .links {
        display: none;
        grid-column: 1/-1;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-top: 1rem;
    }

    .navbar .links.active {
        display: flex;
    }

    .content {
        grid-template-columns: 1fr;
    }

}