@font-face{
    font-family: urban-shadow;
    src: url("fonts/urban-shadow.otf");
}
@font-face{
    font-family: din-alternate;
    src: url("fonts/DIN\ Alternate\ Regular.otf");
    font-weight: 400;
}
@font-face{
    font-family: din-alternate;
    src: url("fonts/DINAlternate-Bold.ttf");
    font-weight: 500;
}
@font-face{
    font-family: jerrys-handwriting;
    src: url("fonts/Jerry\'s\ Handwriting\ Font.ttf");
}
@font-face{
    font-family: jost;
    src: url("fonts/Jost-VariableFont_wght.ttf");
}

@keyframes mobile-links{
    to{
        opacity: 1;
        transform: translateX(0);
    }
}
.container{
    position: relative;
    width: 100vw;
    display: flex;
    justify-content: center;
}
.navbar{
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    width: 100vw;
    justify-content: space-between;
    padding-top: 1vw;
    padding-bottom: 1vw;
    z-index: 400;
    border-bottom: 0.15vw solid white;
    height: clamp(30px,4vw,40px);
    transition: background-color 0.5s ease;
}
.navbar.scroll{
    position: fixed;
    z-index: 999;
    background-color: white;
    box-shadow: 0px 2px 5px 5px rgba(0,0,0,0.25);
}
.links{
    display: flex;
    align-items: center;
}
.menu-option{
    text-decoration: none;
    color: white;
    cursor: url('/cursor-icon.png'), auto !important;
}
.menu-option.scroll{
    color: black;
}

.navbar li{
    display: inline-block;
    font-size: clamp(15px,1.5vw,30px);
    color: white;
    opacity: 0.75;
    transition: scale 0.25s ease;
    margin-left: 2vw;
    margin-right: 2vw;
    font-family: jost, sans-serif;
    font-weight: 500;
}
.navbar li:hover{
    cursor: url('/cursor-icon.png'), auto !important;
    scale: 1.25;
    opacity: 1;
}
.logo{
    width: clamp(30px,4vw,60px);
    margin-left: 1vw;
    transition: scale 0.25s ease;
}
.logo:hover{
    scale: 1.25;
    cursor: url('/cursor-icon.png'), auto !important;
}
.hamburger{
    display: none;
}
.mobile-overlay{
    display: none;
}
.logo-button{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}
@media(max-width: 770px){
    body.noScroll{
        overflow: hidden;
    }
    .links{
        display: none;
    }
    .hamburger{
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: clamp(20px,5vw,40px);
        margin-right: 1vw;
    }
    .hamburger.scroll{
        color: black;
    }
    .hamburger:hover{
        cursor: url('/cursor-icon.png'), auto !important;
    }
    .mobile-overlay{
        display: none;
    }
    .mobile-overlay.show{
        display: flex;
        width: 100vw;
        height: 100vh;
        position: fixed;
        background-color: rgba(0,0,0,0.9);
        z-index: 9999;
    }
    .mobile-links{
        position: absolute;
        top: 20%;
        color: white;
        width: 100vw;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    .mobile-links li{
        opacity: 0;
        transform: translateX(30px);
        list-style-type: none;
        text-align: center;
        border-top: 1px solid white;
        border-bottom: 1px solid white;
        padding: 25px;
        font-size: 30px;
        font-family: jost, sans-serif;
        animation: mobile-links 0.25s forwards;
    }
    .mobile-links a{
        text-decoration: none;
        color: white;
    }
    .close{
        background: none;
        border: none;
        color: white;
        font-size: 80px;
        margin: 10px;
        align-self: flex-end;
    }
}