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

:root{
    /* color */
    --darkColor : #292929;
    --primaryColor : #0B519F;
    
    /* font */
    --mainFont: "Inter", sans-serif;
}

.mobile-nav-toggle{
    display: none;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
    background: #fff;
    box-shadow: 0px 4px 64px 0px rgba(45, 45, 45, 0.15);
}

#header.header-scrolled,
#header.header-inner-pages {
    background: #fff;
}

#header .logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#header .logo img {
    max-height: 45px;
}


/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
}

.navbar li {
    position: relative;
    gap: 10px;
}

.navbar a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px 10px 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--darkColor);
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a:focus{
    color: #0B519F;
}

.navbar a i,
.navbar a:focus i {
    font-size: 14px;
    line-height: 0;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: var(--primaryColor);
}

.navbar ul .btn-login{
    font-weight: 700;
    color: var(--primaryColor);
}

.navbar ul .btn-register{
    font-weight: 700;
    background-color: var(--primaryColor);
    color: #fff;
    padding: 10px 32px;
    border-radius: 26px;
}

.navbar ul .btn-register:hover{
    background-color: var(--primaryColor);
    color: #fff;

}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        justify-content: center;
    }

    .mobile-nav-toggle {
        color: var(--darkColor);
        font-size: 28px;
        cursor: pointer;
        display: none;
        line-height: 0;
        transition: 0.5s;
    }

    .mobile-nav-toggle.bi-x {
        color: #fff;
    }
}


@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }

    .navbar-mobile {
        position: fixed;
        height: 100vh;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: #292929;
        transition: 0.3s;
        z-index: 999;
    }

    .navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .navbar-mobile ul {
        display: block;
        position: absolute;
        justify-content: center;
        height: fit-content;
        top: 50px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 30%;
        border-radius: 10px;
        background-color: #fff;
        overflow-y: hidden;
        transition: 0.3s;
    }

    .navbar-mobile li{
        text-align: center;
    }

    .navbar-mobile a,
    .navbar-mobile a:focus {
        align-items: center;
        font-size: 15px;
        color: var(--darkColor);
    }

    .navbar-mobile a:hover,
    .navbar-mobile .active,
    .navbar-mobile li:hover > a {
        color: var(--primaryColor);
    }
}

@media (max-width: 637px){
    .navbar-mobile ul {
        padding: 10px 20%;
    }
}
