/* 
---------------------------------------------
GENERAL
--------------------------------------------- 
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: 0;
    text-decoration: none !important;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html,
body {
    font-family: 'Montserrat', sans-serif;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #000000;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-thumb {
    background-color: #d658046f;
    border-radius: 10px;
}

/* 
---------------------------------------------
Navigation Bar (HERO)
--------------------------------------------- 
*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
    width: 100vw;
    position: fixed;
    z-index: 100;
    transition: all 0.6s ease;
    transition: background-color 0.2s ease;
}

.navbar.active {
    background-color: white;
}

.navbar .navbarLogo {
    transition: 0.5s ease;
}

.navbarLogo img {
    position: absolute;
    width: 200px;
    top: 30px;
    left: 90px;
    transition: 0.5s ease;
}

.navbar .navbarLogoScroll {
    visibility: hidden;
}

.navbar ul {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    width: 50%;
    margin-right: 30px;
}

.navbar ul li a,
.navbar ul li {
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.navbar ul li.clientPortal {
    background-color: #e97020;
    padding: 5px;
    color: white !important;
    border-radius: 2px;
    white-space: nowrap;
}

.navbar ul li a.active,
.navbar ul li a:active,
.navbar ul li a:hover,
.navbar ul li.active,
.navbar ul li:active,
.navbar ul li:hover {
    color: #00397e;
    font-weight: 600;
}

.navbar ul li:hover {
    transform: scale(1.1);
}

/* MOBILE */
@media(max-width:1100px) {
    .navbar ul {
        width: 60%;
        margin-right: 10px;
    }
}

@media(max-width:870px) {
    .navbar ul li a {
        font-size: 18px;
    }
}

@media(max-width:767px) {
    .navbar {
        flex-direction: column;
    }

    .navbar ul {
        background-color: white;
        flex-direction: column;
        margin: auto;
        text-align: center;
        width: 100%;
        margin-top: 142px;
        padding: 0;
        border-radius: 0px 0px 10px 10px;
        visibility: hidden;
    }

    .navbar.active ul {
        visibility: visible;
    }

    .navbar ul li {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50px;
        box-shadow: 0.5px 0.5px 1px 0.5px #0000001f;
    }

    .navbarLogo img {
        top: 8px;
        left: 5%;
    }

    .navbar ul li a,
    .navbar ul li {
        color: black;
    }
}

@media(max-width:450px) {
    .navbarLogo img {
        width: 150px;
        top: 25px;
    }
}

/* 
  ---------------------------------------------
  Navigation Bar (ON SCROLL)
  --------------------------------------------- 
  */

.navbar.navOnScroll {
    top: 0;
    background-color: white;
    box-shadow: 5px 1px 10px 1px black;
    height: 80px;
}

.navbar.navOnScroll ul li a {
    color: black;
    transition: transform 0.2s ease;
}

.navbar.navOnScroll ul li.clientPortal a {
    color: white !important;
}

.navbar.navOnScroll ul li a.active {
    color: #00397e;
    font-weight: 600;
}

.navbar.navOnScroll ul li:hover,
.navbar.navOnScroll ul li a:hover {
    transform: scale(1.1);
    color: #00397e;
}

.navbar.navOnScroll .navbarLogo {
    visibility: hidden;
}

.navbar.navOnScroll .navbarLogo img {
    top: -200px;
}

.navbar.navOnScroll .navbarLogoScroll {
    visibility: visible;
}

.navbarLogoScroll h1 {
    position: absolute;
    color: #00397e;
    white-space: nowrap;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

/* MOBILE */

@media(max-width:1000px) {
    .navbarLogoScroll h1 {
        font-size: 40px;
    }
}

@media(max-width:880px) {
    .navbarLogoScroll h1 {
        font-size: 30px;
    }
}

@media(max-width:767px) {
    .navbar.navOnScroll ul {
        margin-top: 70px;
    }

    .navbarLogoScroll h1 {
        left: 5%;
        top: 50%;
    }
}

@media(max-width:380px) {
    .navbarLogoScroll h1 {
        font-size: 25px;
    }
}

@media(max-width:320px) {
    .navbarLogoScroll h1 {
        font-size: 18px;
    }
}

/* 
  ---------------------------------------------
  Navigation Bar (ON MOBILE) (HAMBURGER ICON FOUND HERE)
  --------------------------------------------- 
  */
@media(min-width:768px) {
    .hamburger {
        display: none;
    }
}

.hamburger {
    width: 30px;
    cursor: pointer;
    position: absolute;
    right: 40px;
    top: 60px;
}

.navbar.navOnScroll .hamburger {
    top: 30px;
}

.burgerLine {
    display: block;
    width: 100%;
    box-shadow: 0 2px 10px 0 #0000004d;
    border-radius: 3px;
    height: 4px;
    background: #fff;
    transition: all .3s;
    position: relative;
}

.navbar.navOnScroll .burgerLine {
    background: black;
    box-shadow: 0 0.1px 5px 0 #0216ad0e;
}

.navbar.active .burgerLine {
    background: black;
    box-shadow: 0 0.1px 5px 0 #0216ad0e;
}

.burgerLine+.burgerLine {
    margin-top: 4px;
}

.active .burgerLine:nth-child(1) {
    animation: ease .7s top forwards;
}

.not-active .burgerLine:nth-child(1) {
    animation: ease .7s top-2 forwards;
}

.active .burgerLine:nth-child(2) {
    animation: ease .7s scaled forwards;
}

.not-active .burgerLine:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
}

.active .burgerLine:nth-child(3) {
    animation: ease .7s bottom forwards;
}

.not-active .burgerLine:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
}

@keyframes top {
    0% {
        top: 0;
        transform: rotate(0);
    }

    50% {
        top: 5px;
        transform: rotate(0);
    }

    100% {
        top: 5px;
        transform: rotate(45deg);
    }
}

@keyframes top-2 {
    0% {
        top: 5px;
        transform: rotate(45deg);
    }

    50% {
        top: 5px;
        transform: rotate(0deg);
    }

    100% {
        top: 0;
        transform: rotate(0deg);
    }
}

@keyframes bottom {
    0% {
        bottom: 0;
        transform: rotate(0);
    }

    50% {
        bottom: 10px;
        transform: rotate(0);
    }

    100% {
        bottom: 10px;
        transform: rotate(135deg);
    }
}

@keyframes bottom-2 {
    0% {
        bottom: 5px;
        transform: rotate(135deg);
    }

    50% {
        bottom: 5px;
        transform: rotate(0);
    }

    100% {
        bottom: 0;
        transform: rotate(0);
    }
}

@keyframes scaled {
    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes scaled-2 {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* THE SUB MENUS ON THE NAVBAR */
/* THE SUB MENUS ON THE NAVBAR */
.mainUL {
    position: relative;
}

.navSubMenu {
    display: none !important;
}

.navSubMenu.active {
    display: flex !important;
    flex-direction: column;
    background-color: #fff;
    margin: 0 !important;
    padding: 10px 20px;
    position: absolute;
    top: 60px;
    box-shadow: 0px 5px 10px 1px black;
}

.navSubMenu.magazineMenu {
    right: 0;
}

.navSubMenu li a {
    color: #000000 !important;
}

/* THE SUB MENUS ON THE NAVBAR (MOBILE) */

@media(max-width:767px) {
    .navSubMenu.active {
        position: static;
        box-shadow: 0px 1px 5px 0px black;
    }
}