html{
    padding-top: 110px;
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

#base-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-size: auto 90px;
    width: calc(100% - 20px);
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    line-height: 2rem;
    z-index: 9999;
}

#base-header #base-header-left{
    display: flex;
    flex-direction: row;
}

#base-header #base-header-left a{
    margin-right: 0;
    padding-right: 7px;
}

#base-header-right{
    display: flex;
    flex-direction: row;
    margin-top: 4px;
}

#base-header #site-title{
    margin-right: 7px;
}

#base-header #site-title img{
    height: 38px;
    margin-top: 4px;
}

#base-header a, #base-header-mobile-menu a, #base-header-popover-text, #base-header-popover-text-2{
    color: #ea166c;
    text-decoration: none;
    cursor: pointer;
    margin-right: 1.2rem;
    font-size: 19px;
    font-weight: 500;
    font-family: Inter-Regular, sans-serif;
    text-transform: uppercase;
}

#base-header-right-mobile{
    display: none;
    margin-top: 2rem;
    margin-right: 1rem;
}

#base-header-mobile-menu{
    display: none;
    flex-direction: column;
    background-color: #09194F;
    text-align: center;
    overflow-y: auto;
    z-index: 10000;
    width: 100vw;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

    position: absolute;
    top: 7rem;
    right: 0;
}

#base-header-mobile-menu a{
    padding: 3rem 1.5rem;
    font-size: 4rem;
    line-height: 5rem;
    color: #ea166c;
    border-top: 1px solid #093C4F;
}

#base-header-mobile-menu :first-child, #base-header-popover-menu :first-child, #base-header-popover-menu-2 :first-child{
    border-top: none;
}

#base-header-right-mobile img{
    height: 3rem;
}

#base-header-popover-menu, #base-header-popover-menu-2{
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: #40155d;
    margin-left: -98px;
    margin-top: 2.25rem;
    border-radius: 10px;
    border-left: 2px solid #d0ebe6;
    border-bottom: 2px solid #d0ebe6;
    border-right: 1px solid #d0ebe6;
    filter: drop-shadow(-6px 6px 2px #2e3e83);
}

#base-header-popover-menu-2 {
    margin-left: -40px !important;
}

#base-header-popover-menu a, #base-header-popover-menu-2 a{
    color: #ea166c;
    border-top: 1px solid #d3d3d3;
    text-align: center;
    font-size: 1rem;
    line-height: 3rem;
    margin-right: 2px;
    padding: 0.25rem 1rem;
}

#base-header-popover-icon {
    width: 14px;
    margin-bottom: 3px;
    margin-left: 2px;
}

@media all and (max-width: 960px), only screen and (max-device-width: 768px) {
    #base-header-right{
        display: none;
    }

    #base-header-right-mobile{
        display: unset;
    }
}

@media all and (max-width: 960px){
    #base-header-right-mobile{
        margin-top: 0.5rem;
        margin-right: 0;
    }

    #base-header-right-mobile img{
        height: 1.5rem;
    }

    #base-header-mobile-menu{
        top: 3.3rem;
        width: unset;
        border-top-left-radius: 10px;
    }

    #base-header-mobile-menu a{
        font-size: 1rem;
        line-height: 2rem;
        margin: 0;
        padding: 0.25rem .5rem;
    }
}

@media only screen and (max-device-width: 768px){
    html{
        padding-top: 260px;
        scroll-padding-top: 230px;
    }

    #base-header{
        height: 200px;
        background-size: auto 200px;
    }

    #base-header #site-title img{
        height: calc(38px * 2);
        margin-top: 30px;
        margin-left: 20px;
    }
}
