@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


:root {
    --primary: #b7b387;
    --secondary: #9c8c74;
    --disabled: #9e9e9e;
    --green: #509d60;
    --white: #ffffff;
    --blue: #3c27db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body,
html {
    background-color: var(--primary);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    transition: all 03s ease;
}

body.no-scroll {
    height: 100vh;
    overflow: hidden;
}

.main-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;

}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 1rem 0;

}

.brand-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}


.brand-info h2 {
    font-weight: 1.7rem;
    font-weight: 600;

}


#menu-toggle {
    display: none;
}

.menu-icon {
    font-size: 2rem;
    font-weight: 800;
    cursor: pointer;
}

#overlay {
    display: none;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}


nav {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    position: absolute;
    left: 0;
    right: 0;
    margin: 2rem 0;
    z-index: 1000;
    transform: translateX(150%);
    transition: all 0.3s ease;

}

#menu-toggle:checked~#overlay {
    display: block;
    position: fixed;
    inset: 0;
    top: 7rem;
    height: 100vh;
    background: var(--primary);

    opacity: 1;
    pointer-events: none;
}

#menu-toggle:checked~nav {
    transform: translateX(0%);
}


nav a {
    text-align: center;
    padding: 0.3rem;
    font-size: 1.4rem;
    border: 5px solid var(--secondary);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    opacity: 0;
    transform: translateX(150%);
    transition: all 0.3s ease;

}

#menu-toggle:checked~nav a {
    opacity: 1;
    transform: translateX(0%);
    transition-delay: calc(var(--i) * 0.2s);
}

.navlink.active {
    color: var(--green);
}

.content {
    display: none;
}

.content.active {
    display: block;
}


@media screen and (width >=1024px) {
    .menu-container {
        max-width: 900px;
    }

    header {
        position: static;
    }

    .brand-info {
        gap: 20px;
    }

    .brand-info img {
        width: 90px;
        height: 90px;
    }

    .brand-info h2 {
        font-size: 2rem;
    }

    #menu-toggle {
        pointer-events: none;
    }

    .menu-icon {
        display: none;
    }

    nav {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        position: static;
        transform: translateX(0%);
    }

    nav a {
        padding: 0;
        font-size: 1rem;
        border: none;
        opacity: 1;
        transform: translateX(0%);
    }

    nav a:hover {
        color: var(--green);
    }

}


@media screen and (width >=1250px) {
    .main-container {
        max-width: 1100px;
    }

    .brand-info img {
        width: 110px;
        height: 110px;
    }

    .brand-info h2 {
        font-size: 2.5rem;
    }

    nav {
        gap: 2rem;
    }

    nav a {
        font-size: 1.2rem;
    }

}