@font-face {
    font-family: "OpenSans";
    src: url("../fonts/OpenSans.ttf") format("truetype");
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    color: white;
    font-family: "OpenSans";
    text-decoration: none;
}

header{
    background-color: rgba(229, 255, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    margin-left: 6vw;
    position: relative;
}

header a{
    color:white;
    font-family: Roboto;
    text-decoration: none;
    padding: 3%;
    font-size: 220%;
    text-align: center;
    justify-content: center;
    z-index: 12;
}

header img{
    position: absolute;
    margin-top: 0vh;
    margin-left: -95vw;
    width: 5vw;
}

.menu-txt{
    margin-left:20%;
    width: 100%;
}

.active{
    text-decoration: underline;
}

header a:hover{
    text-decoration: underline;
}


















.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index:11;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.menu-icon span {
    display: block;
    width: 40px;
    height: 4px;
    background: white;
    border-radius: 2px;
}


.menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease;
    z-index: 9;
}

.menu-overlay.open {
    left: 0;
}

.close-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    font-size: 2.5rem;
    cursor: pointer;
    font-family: sans-serif;
    font-weight: 100;
    z-index: 15;
}

nav a{
    color: black;
}

.menu-overlay.open img{
    position: relative;
    margin-top: -18vh;
    padding-bottom: 12vh;
    transition: left 0.5s ease;
}


.menu-overlay nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 2rem;
    font-family: Protest Guerrilla;
    font-weight: 100;
}

#logo{
    z-index: 1;
}

header a{
    z-index: 5;
}

/* Mobile Design */
@media (max-width: 768px) {
    header a {
        display: none;
    }
    .menu-button {
        display: flex;
        margin-left: -30vw;
    }

    header img{
        position: absolute;
        margin-top: 0vh;
        width: 20vw;
        margin-left: 0vw;
    }

    .menu-overlay.open #logo{
        z-index: 4;
    }

    .menu-overlay.open .menu-button{
        visibility: hidden;
    }

}


body, html{
    overflow: hidden;
    overflow-y: visible;
}