nav{
    width: 100vw;
    height: 70px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #BF8D4E;
    box-shadow: 0 2px 5px rgb(0, 0, 0, 0.3);
    color: #FFFFFF;
    z-index: 900;
}
.nav-logo{
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.nav-logo img{
    height: 100%;
}
.nav-logo span{
    font-family: "Limelight";
    font-size: min(1.75rem, calc((100dvw - 14rem) / 8));
    color: #FFFFFF;
    letter-spacing: -0.1rem;
}
body[data-screen="desktop"] .nav-logo span{
    display: none;
}
.nav-left-logo{
    height: 70px;
    position: absolute;
    left: 0.5rem;
    top: 0;
}
.nav-right-logo{
    height: 70px;
    position: absolute;
    right: 0.5rem;
    top: 0;
}
body[data-screen="mobile"] .nav-left-logo, body[data-screen="mobile"] .nav-right-logo{
    display: none;
}
.nav-left, .nav-right{
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    /* justify-content: center; */
    align-items: center;
    list-style: none;
}
.nav-left{
    padding-right: 1.5rem;
    /* with medal */
    gap: 1.5rem;
    /* without medal */
    /* gap: 5rem; */
    justify-content: flex-end;
}
.nav-right{
    padding-left: 1.5rem;
    /* with medal */
    gap: 2.8rem;
    /* without medal */
    /* gap: 2.5rem; */
    justify-content: flex-start;
}
body[data-screen="mobile"] .nav-left, body[data-screen="mobile"] .nav-right{
    display: none;
}
.nav-item{
    position: relative;
    display: inline-flex;
    align-content: center;
    flex-wrap: wrap;
}
.nav-item-link{
    height: 70px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.nav-item-link span{
    position: relative;
    /* font-size: 1.6vw; */
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'Ade';
    color: #FFFFFF;
}
.nav-star-lt, .nav-star-rb{
    position: absolute;
    display: block;
    opacity: 0;
    /* width: 1.6vw; */
    width: 1.5rem;
    transition: all 0.8s ease;
}
.nav-item:hover .nav-item-link span .nav-star-lt, .nav-item:hover .nav-item-link span .nav-star-rb{
    opacity: 1;
}
.nav-star-lt{
    left: 0;
    top: 0;
    transform: translate(-80%, -30%);
}
.nav-star-rb{
    right: 0;
    bottom: 0;
    transform: translate(90%, 30%);
}
.nav-pulldown{
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #BF8D4E;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.nav-pulldown-star{
    display: block;
    width: 0;
    transform: rotate(-0.5turn);
    object-fit: contain;
    transition: all 0.3s ease;
}
.nav-pulldown-item-link{
    /* font-size: 1.6vw; */
    font-size: 1.5rem;
    height: auto;
    max-height: 0;
    width: 100%;
    /* padding: 0 0.8vw; */
    padding: 0rem 0.75rem;
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'ComicNeue';
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.nav-pulldown-item-link:hover{
    padding: 0;
}
.nav-pulldown-item-link:hover .nav-pulldown-star{
    /* width: 1.6vw; */
    width: 1.5rem;
    transform: rotate(0);
}
.nav-item:hover .nav-pulldown{
    padding: 1rem;
    gap: 1rem;
    opacity: 1;
}
.nav-item:hover .nav-pulldown-item-link{
    max-height: 5rem;
}
.nav-small-bt{
    width: 4rem;
    aspect-ratio: 1 / 1;
    display: none;
    position: absolute;
    top: 50%;
    right: 0.25rem;
    transform: translateY(-50%);
}
body[data-screen="mobile"] .nav-small-bt{
    display: block;
}
.nav-small-bt svg{
    width: 100%;
    aspect-ratio: 1 / 1;
}
.nav-small{
    width: 100dvw;
    height: calc(100dvh - 70px);
    padding: 1rem 0 0 0;
    background-color: #BF8D4E;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 901;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* gap: 3rem; */
    position: fixed;
    top: 70px;
    left: 0;
}
.nav-small.active{
    visibility: visible;
    opacity: 1;
}
body[data-screen="mobile"] .nav-small{
    display: flex;
}
.nav-small-item{
    width: calc(100% - 4rem);
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
}
.nav-small-item:nth-child(even){
    background-color: #D9A052;
}
.nav-small-item-link{
    text-decoration: none;
    cursor: pointer;
    font-family: "Ade";
    font-size: 2rem;
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 0.1rem;
}
.nav-small-subitems{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    column-gap: 2rem;
    row-gap: 0.5rem;
    flex-wrap: wrap;
}
.nav-small-subitem-link{
    text-decoration: none;
    cursor: pointer;
    font-family: "ComicNeue";
    font-size: 1.5rem;
    color: #FFFFFF;
    display: inline-block;
}
@media (max-width: 1500px){
    .nav-left{
        padding-right: 1rem;
        /* with medal */
        gap: 1rem;
        /* without medal */
        /* gap: 4rem; */
    }
    .nav-right{
        padding-left: 1rem;
        /* with medal */
        gap: 1.8rem;
        /* without medal */
        /* gap: 2rem; */
    }
    .nav-item-link span{
        font-size: 1.1rem;
    }
    .nav-star-lt, .nav-star-rb{
        width: 1.2rem;
    }
    .nav-pulldown-item-link{
        font-size: 1.2rem;
        padding: 0rem 0.6rem;
    }
    .nav-pulldown{
        padding: 0 0.8rem;
        gap: 0.8rem;
    }
    .nav-item:hover .nav-pulldown{
        padding: 0.8rem;
    }
    .nav-pulldown-item-link:hover .nav-pulldown-star{
        width: 1.2rem;
    }
}
@media (max-width: 1250px){
    .nav-left{
        padding-right: 1.5rem;
        /* with medal */
        gap: 1.3rem;
        /* without medal */
        /* gap: 3.2rem; */
    }
    .nav-right{
        padding-left: 1.5rem;
        /* with medal */
        gap: 2.5rem;
        /* without medal */
        /* gap: 1.5rem; */
    }
    .nav-item-link span{
        font-size: 1rem;
    }
    .nav-star-lt, .nav-star-rb{
        width: 1rem;
    }
    .nav-pulldown-item-link{
        font-size: 1rem;
        padding: 0rem 0.5rem;
    }
    .nav-pulldown{
        padding: 0 calc(2rem / 3);
        gap: calc(2rem / 3);
    }
    .nav-item:hover .nav-pulldown{
        padding: calc(2rem / 3);
    }
    .nav-pulldown-item-link:hover .nav-pulldown-star{
        width: 1rem;
    }
}