@import url(theme-root.css);

.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index:99;
}

#responsive-container {
    position: absolute;
    left: 0px;
    right: 0px;
    margin-top: 50px;
}

.header-columns {
    display: flex;
    justify-content: space-between;
}

.header-columns .columns {
    background-color: var(--off-bg);
    border-radius: 30px;
}

.column-1 {
    width: 416px;
    padding: 8px;
    display: flex;
    align-items: center;
}

.header-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0px;
    padding: 0px;
}

.header-nav li {
    list-style: none;
    padding: 0px 16px;
}

.header-nav li a {
    font-size: 18px;
    font-weight: 400;
    line-height: 25.2px;
    text-decoration: none;
    color: var(--normal-text);
}

.responsive-li {
    display: none;
}

.column-2 {
    width: 266px;
    display: flex;
    justify-content: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    width: auto;
    height: 48px;
}

.column-3 {
    /*width: 169px;*/
    width: 205px;
    padding: 8px;
    display: flex;
    align-items: center;
}

.column-4 {
    width: 197px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
}

.header-donate {
    border-radius: 30px;
    font-size: 14px;
    line-height: 25.2px;
    text-decoration: none;
    padding: 10px;
    background: #C9A84C !important;
    color: #1B2A4A;
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid #C9A84C;
}

.header-donate:hover {
    background: #b8941e !important;
    color: #1B2A4A;
}

.header-cart {
    padding-left: 14px;
}

.logo-close {
    display: none;
}

nav {
    display: none;
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    background-color: var(--off-bg);
    height: 100%;
    z-index: 1;
}

.menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.submenu-li{
    position: relative;
}
.menu-about{
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.menu-about::after{
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M9.96004 4.4751L6.70004 7.7351C6.31504 8.1201 5.68504 8.1201 5.30004 7.7351L2.04004 4.4751' stroke='%23292D32' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    display: block;
    line-height: 0;
    flex-shrink: 0;
}
.submenu{
    position: absolute;
    left: -14px;
    top: 31px;
    width: 155px;
    padding: 16px 0px;
    border-radius: 16px;
    background-color: var(--primary-bg);
    text-align: center;
    display: none;

}
.projectsubmenu{
    width: 300px !important;
}
.submenu li{
    padding: 8px 15px;
    text-align:left;
}
.submenu li a{
    color: var(--off-text);
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}
.mobile-btns{
    display: none;
}
.showmmenusub:hover + .submenu{
    display: block;
}
.submenu:hover{
    display: block;
}
.submenu:active{
    display: block;
}


@media screen and (min-width: 900px) {
    .menu-button {
        display: none;
    }

    nav {
        display: flex;
        justify-content: space-around;
        position: static;
    }

    .column-1 {
        flex-shrink: 0;
    }

    .header-nav li a,
    .showmmenusub {
        white-space: nowrap;
    }

    .submenu li a,
    .sub-submenu li a {
        white-space: normal;
    }

}

@media only screen and (max-width: 899px) {
    .column-3 {
        display: none;
    }

    .column-1 {
        width: 52px;
        height: 52px;
        justify-content: center;
        padding: 4px;
        border-radius: 50%;
        align-self: center;
    }
    .header-logo img{
        height: 35px;
    }

    .responsive-li {
        display: block;
    }

    .header-nav li {
        padding: 10px 0px;
        border-bottom: 1px solid #dbdbdb;
    }

    .header-nav li a {
        font-size: 22px;
    }

    .column-4 {
        width: auto;
        gap: 8px;
    }

    .header-account {
        padding-right: 20px;
    }

    .header-donate {
        display: inline-flex;
        font-size: 11px;
        padding: 8px 10px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .header-nav {
        display: block;
        padding: 50px;
    }

    .header-close-btn {
        display: block;
        display: flex;
        justify-content: end;
    }

    nav {
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .logo-close {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 50px;
    }
    .submenu {
        position: relative;
        left: 0px;
        top: 0px;
        width: 100% !important;
        text-align: start;
        background-color: transparent;
        padding: 0px;
    }
    .submenu li{
        padding: 8px 10px;
    }
    .submenu-li div{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .submenu li:first-child{
        border-top: 1px solid #dbdbdb;
        margin-top: 10px;
    }
    .submenu li:last-child{
        border-bottom: none;
        padding: 8px 10px 0px 10px;
    }
    .submenu li a{
        color: var(--normal-text);
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
    }
    .menu-logo{
        display: flex;
        justify-content: center;
        width: 630px;
    }
    .mobile-btns{
        margin-top: 50px;
        display: block;
    }
    .cart-account{
        text-align: center;
    }
    .mobile-cart, .mobile-account{
        padding: 10px 20px;
        border-radius: 30px;
        background-color: var(--Background-Grey);
        font-size: 18px;
        font-weight: 500;
        line-height: 25.2px;
        border: none;
        width: 48%;
        text-decoration: none;
        color: var(--normal-text);
    }
    .mobile-cart:hover, .mobile-account:hover{
        background-color: var(--prominent-bg);
    }
    .mobile-cart svg, .mobile-account svg{
        margin-right: 5px;
    }
    .mobile-donate-btn{
        padding: 18px 30px;
        border-radius: 50px;
        background: #7cf2a4 !important;
        font-size: 18px;
        line-height: 19.2px;
        margin-top: 50px;
        border: none;
        width: 100%;
        text-decoration: none;
        color: #1f4f7c;
        font-family: system-ui, -apple-system, sans-serif;
        font-weight: 700;
        letter-spacing: 0.5px;
        border: 1px solid #1f4f7c;
        /* color: var(--Primary-Navy); */
        /* background-color: var(--prominent-bg); */

    }
    .mobile-donate-btn:hover{
        background-color: var(--primary-text);
        color: var(--prominent-text);
    }
    .menu-about::after{
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M15.0312 6.177L21.3542 12.4999L15.0312 18.8228' stroke='%23275A91' stroke-width='1.875' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.64584 12.5H21.1771' stroke='%23275A91' stroke-width='1.875' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        position: absolute;
        right: 12px;
        rotate: 0deg;
    }
    .rotate .menu-about::after{
        rotate: 90deg;
    }
}

@media only screen and (max-width: 480px) {
    .column-1 {
        width: 40px;
        height: 40px;
        padding: 4px;
    }
    .menu-button svg{
        width: 32px;
        height: 32px;
    }
    .header-cart {
        padding-left: 15px;
    }
    .header-account {
        padding-right: 15px;
    }
    .column-2{
        width: 160px;
    }
    .column-4{
        width: 90px;
    }
    .header-logo img {
        height: 25px;
    }
    .header-nav{
        padding: 20px;
    }
    .menu-logo img{
        height: 30px;
    }
    .header-nav li a{
        font-size: 18px;
        font-weight: 500;
        line-height: 25.2px;
    }
    .header-close-btn svg{
        width: 24px;
        height: 24px;
    }
    /*.container{*/
    /*    margin-left: 0px !important;*/
    /*    margin-right: 0px !important;*/
    /*}*/
}
