/*======================================================
                          Navbar
  ======================================================*/
#navbar {
    background: #F7F0EB;
    color: #000;
    height: 60px;
    line-height: 60px;
    width: 100vw;
    z-index: 10;
}

#navbar.hide {
    top: -100%;
}

.nav-wrapper {
    margin: auto;
    text-align: center;
    width: 80%;
}

@media (max-width: 768px) {
    .nav-wrapper {
        width: 90%;
    }
}

@media (max-width: 638px) {
    .nav-wrapper {
        width: 95%;
    }
}


.logo {
    float: left;
    height: 50px;
}

#navbar ul {
    display: inline-block;
    float: right;
    list-style: none;
    margin-top: -2px;
    text-align: right;
    transition: transform 0.5s ease-out;
    -webkit-transition: transform 0.5s ease-out;
}

@media (max-width: 1370px) {
    #navbar ul {
        display: none;
    }
}

#navbar li {
    display: inline-block;
}

#navbar li a {
    color: #000;
    display: block;
    font-size: 1em;
    height: 50px;
    margin: 0 1.5rem;
    position: relative;
    text-decoration: none;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

#navbar li a:hover {
    /* border-bottom: 1px solid rgb(28, 121, 184); */
    color: #FF9EDE;
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
}

/* Animated Bottom Line */
#navbar li a:before, #navbar li a:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: -1px;
    background: rgb(13, 26, 38);
}

#navbar li a:before {
    left: 0;
    transition: 0.5s;
}

#navbar li a:after {
    background: rgb(13, 26, 38);
    right: 0;
    /* transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); */
}

#navbar li a:hover:before {
    background: rgb(13, 26, 38);
    width: 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#navbar li a:hover:after {
    background: transparent;
    width: 100%;
    /* transition: 0s; */
}


/*======================================================
                    Mobile Menu Menu Icon
  ======================================================*/
@media (max-width: 1370px) {
    .menuIcon {
        cursor: pointer;
        display: block;
        position: sticky;
        right: 2rem;
        top: 3.75rem;
        height: 23px;
        width: 27px;
        z-index: 12;
    }

    /* Icon Bars */
    .icon-bars {
        background: #000;
        position: absolute;
        left: 1px;
        top: 45%;
        height: 2px !important;
        width: 20px !important;
        -webkit-transition: 0.4s;
        transition: 0.4s;
    }

    .icon-bars::before {
        background: rgb(13, 26, 38);
        content: '';
        position: absolute;
        left: 0;
        top: -8px;
        height: 2px;
        width: 20px;
        /*     -webkit-transition: top 0.2s ease 0.3s;
            transition: top 0.2s ease 0.3s; */
        -webkit-transition: 0.3s width 0.4s;
        transition: 0.3s width 0.4s;
    }

    .icon-bars::after {
        margin-top: 0px;
        background: rgb(13, 26, 38);
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        height: 2px;
        width: 20px;
        /*     -webkit-transition: top 0.2s ease 0.3s;
            transition: top 0.2s ease 0.3s; */
        -webkit-transition: 0.3s width 0.4s;
        transition: 0.3s width 0.4s;
    }

    /* Bars Shadows */
    .icon-bars.overlay {
        background: black;
        width: 20px;
    }

    .icon-bars.overlay::before {
        background: black;
        width: 10px;
    }

    .icon-bars.overlay::after {
        background: black;
        width: 15px;
    }

    /* Toggle Menu Icon */
    .menuIcon.toggle .icon-bars {
        top: 5px;
        transform: translate3d(0, 5px, 0) rotate(135deg);
        transition-delay: 0.1s;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .menuIcon.toggle .icon-bars::before {
        top: 0;
        transition-delay: 0.1s;
        opacity: 0;
    }

    .menuIcon.toggle .icon-bars::after {
        top: 10px;
        transform: translate3d(0, -10px, 0) rotate(-270deg);
        transition-delay: 0.1s;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .menuIcon.toggle .icon-bars.overlay {
        width: 20px;
        opacity: 0;
        -webkit-transition: all 0s ease 0s;
        transition: all 0s ease 0s;
    }
}


/*======================================================
                   Responsive Mobile Menu
  ======================================================*/
.overlay-menu {
    background: #F7F0EB;
    color: #000;
    display: flex;
    align-items: start;
    justify-content: end;
    position: absolute;
    top: 9rem;
    right: 0;
    padding-right: 15px;
    transform: translateX(-100%);
    width: 100vw;
    height: 100vh;
    -webkit-transition: transform 0.2s ease-out;
    transition: transform 0.2s ease-out;
    opacity: 1;
    z-index: 1;
}


@media (max-width: 720px) {
    .overlay-menu {
        justify-content: center;
    }

    .logo-img {
        width: 90% !important;
    }
}

.overlay-menu ul, .overlay-menu li {
    display: block;
    position: relative;
}

@media (max-width: 720px) {
    .overlay-menu ul, .overlay-menu li {
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;
    }
}

.overlay-menu li a {
    display: block;
    font-size: 1rem;
    padding: 10px 0;
    text-align: right;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
    text-decoration: none;
    color: #000 /*   -webkit-transition: 0.2s opacity 0.2s ease-out;
  transition: 0.2s opacity 0.2s ease-out; */
}

.overlay-menu li a:hover,
.overlay-menu li a:active {
    color: #FF9EDE;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

@media (max-width: 1370px) {
    #headerDiv {
        display: flex;
    }
}

.login-btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #000;
    border-radius: 0.5rem;
}

.signup-btn {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    color: #000;
    height: 3rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0.5rem;
    border: 1px solid #000;
}

.mobile-menuIcon {
    display: none;
}

@media (max-width: 1370px) {
    .login-btn {
        width: 20rem;
    }

    .signup-btn {
        width: 20rem;
    }

    .mobile-menuIcon {
        cursor: pointer;
        display: block;
        position: sticky;
        right: 7rem;
        height: 23px;
        width: 27px;
        z-index: 12;
    }

    .mobile-menu-initials {
        display: none !important;
    }
}

.mobile-menu-search {
    display: block;
}

@media (min-width: 992px) {
    .mobile-menu-search {
        display: none;
    }
}

.menu-open .overlay {
    display: block;
}

@media (max-width: 1370px) {
    .admin-href {
        display: none !important;
    }
}
