﻿:root {
    --white-howden: #E5E5E5;
    --light-white-howden: #F4F4F4;
    --blue-howden: #0b2c48;
    --light-blue-howden: #3B8FE9;
}

.header-nav::before {
    content: "";
    display: block;
    background: rgb(0, 212, 255);
    background: linear-gradient(90deg, rgba(0, 212, 255, 0) 0%, rgba(11, 44, 72, 1) 50%);
    width: 100%;
    height: 50px;
}


.mobile-menu {
    padding: 24px 16px 24px;
    background: #0857C3 !important;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    margin: 0;
    position: fixed;
    width: 25%;
    padding: 0;
    /*height: calc(100% - 60px);*/
    overflow-y: auto;
    right: 100%;
    transition: right 0.3s;
    display: block;
}

    .mobile-menu a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        /* margin-bottom: 24px; */
    }

    .mobile-menu ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .mobile-menu ul:nth-child(1) {
            border-bottom: 1px solid var(--very-light-pink);
        }

        .mobile-menu ul li {
            margin-bottom: 24px;
            border-bottom: 1px solid var(--light-white-howden);
        }

.nav-wrapper-scroll-y {
    display: block;
    height: 91vh;
}


/* TOGGLE */
.nav-toggle {
    color: #0b2c48;
    background: none;
    border: none;
    font-size: 30px;
    padding: 0 20px;
    line-height: 60px;
    cursor: pointer;
    display: block;
}

.nav-menu_visible {
    right: 75%;
}

.nav-toggle:focus:not(:focus-visible) {
    outline: none;
}

/* MOBILE */
@media (max-width: 768px) {

    .mobile-menu {
        z-index: 2;
        flex-direction: column;
        align-items: center;
        margin: 0;        
        position: fixed;
        top: 120px;
        width: 100%;
        padding: 0;
        height: calc(100% - 60px);
        overflow-y: auto;
        left: 100%;
        transition: left 0.3s;
        display: block;
    }

    .nav-toggle {
        display: block;
    }

    .header-nav::before {
        margin-bottom: 24px;
    }

    

    .mobile-menu ul li {
        margin-left: 16px;
        padding: 8px;
        margin-bottom: 8px;
    }

}