.top-bar{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: var(--primary-clr);
    z-index: 9999;
}

.top-bar ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar ul li{
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar img{
    width: 20px;
    height: auto;
}

/*NAVBAR*/

header{
    position: sticky;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.navbar-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
    background-color: var(--dark);
    border-bottom: 2px solid var(--primary-clr);
    border-top-left-radius: var(--main-radius);
    border-top-right-radius: var(--main-radius);
    transition: all 0.4s ease;
    user-select: none;
}

.navbar-container::before{
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--primary-clr);
    position: absolute;
    z-index: -1;
}

.navbar-left{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    padding-left: 50px;
}

.navbar-left img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    margin-top: 4px;
}

.logo-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.navbar-left h1{
    color: white;
    font-size: 30px;
}

.navbar-left h2{
    color: white;
    font-size: 16px;
    margin-top: -3px;
}

.navbar-center{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.navbar-center .main-menu{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 18px;
    height: 100%;
}

.navbar-center .main-menu li{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 15px;
    height: 100%;
}

.navbar-center .main-menu li a{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
}

.navbar-center .main-menu .main{
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-center .main-menu li .main::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--primary-clr);
    right: 0;
    transition: all 0.2s ease;
    transform: translateY(12px);
}

.navbar-center .main-menu li:hover .main::after{
    width: 100%;
    right: unset;
    left: 0;
}

.navbar-center .main-menu li:hover .main{
    color: var(--primary-clr);
}

.active{
    color: var(--primary-clr)!important;
}

.navbar-right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
}

.navbar-right .burger-menu-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: transparent;
    border: none;
    margin-right: 50px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    visibility: hidden;
    opacity: 0;
}

.navbar-right button::before{ 
    content: ''; 
    width: 100%; 
    height: 100%; 
    background-color: var(--primary-clr); 
    position: absolute; 
    border-radius: 50%; 
    opacity: 0; 
    transition: all 0.3s ease;
}

.navbar-right button.active:hover::before{
    opacity: 1;
}

.line1, .line2, .line3{
    position: relative;
    transition: all 0.3s ease;
    width: 25px;
    height: 2px;
    background-color: white;
    margin-block: 3px;
}

.navbar-right .burger-menu-btn.active .line1{
    position: absolute;
    margin: 0;
    transform: rotate(-45deg);
}

.navbar-right .burger-menu-btn.active .line2{
    margin: 0;
    width: 0px;
    opacity: 0;
}

.navbar-right .burger-menu-btn.active .line3{
    transform: rotate(45deg);
    position: absolute;
    margin: 0;
}

.navbar-right .burger-menu-btn.active{
    border: 2px solid white;
}

.sub-menu{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    /*left: 0;
    width: 100%;*/
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    background-color: #101010;
    transition: all 0.3s ease;
    visibility: hidden;
    opacity: 0;
    border-bottom-left-radius: var(--main-radius);
    border-bottom-right-radius: var(--main-radius);
    padding-top: 130px;
    z-index: -1;
}

.sub-menu ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.sub-menu ul li{
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-menu ul li a{
    height: 45px;
    position: relative;
}

.sub-menu ul li a::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--primary-clr);
    right: 0;
    transition: all 0.2s ease;
    transform: translateY(12px);
}

.sub-menu ul li a:hover::after{
    width: 100%;
    right: unset;
    left: 0;
}

.navbar-center .main-menu li:hover .sub-menu{
    visibility: visible;
    opacity: 1;
}

.sub-menu ul li a:hover{
    color: var(--primary-clr);
}

/*MOBILE MENU*/

.mobile-menu{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    width: 100%;
    height: 100dvh;
    min-height: 600px;
    background-color: #101010;
    z-index: 999;
    font-family: sans-serif;
    font-weight: 600;
    transform: translateY(-100%);
    transition: all 0.7s ease;
    padding-top: 90px;
}

.mobile-menu ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.mobile-menu ul li{
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    user-select: none;
    transition: all 0.2s ease;
    position: relative;
    height: 50px;
}

.mobile-menu ul li a::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--primary-clr);
    right: 0;
    transition: all 0.2s ease;
    transform: translateY(14px);
}

.mobile-menu ul li:hover a::after{
    width: 100%;
    right: unset;
    left: 0;
}

.mobile-menu ul li:hover a{
    color: var(--primary-clr);
}

.mobile-menu.active{
    transform: translateY(0);
}

/*SCROLL TO TOP*/

.scrolltotop{
    position: fixed;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 100px;
    background-color: #353535;
    transform: translateX(-50px) translateY(100px);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 99999;
    overflow: hidden;
    opacity: 1;
    transition: all 0.2s ease;
}

.scrolltotop:hover{
    transform: translateX(-50px) translateY(45px)!important;
    opacity: 1;
    background-color: var(--primary-clr);
}

.scrolltotop button{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 100%;
    height: 45px;
    border: none;
    position: relative;
    cursor: pointer;
}

.line4, .line5{
    width: 12px;
    height: 2px;
    background-color: white;
    position: absolute;
}

.line4{
    transform: rotate(-45deg);
    left: 20px;
}

.line5{
    transform: rotate(45deg);
    right: 20px;
}

@media screen and (min-width: 1920px) {
    .banner{
    height: 77vh!important;
    }
}

@media screen and (max-width: 1535px) {
}
@media screen and (max-width: 1279px) {
    .navbar-center{
        display: none;
    }
    .burger-menu-btn{
        visibility: visible!important;
        opacity: 1!important;
    }
}
@media screen and (max-width: 1023px) {}
@media screen and (max-width: 767px) {}
@media screen and (max-width: 479px) {
    .navbar-left{
        padding: 20px;
    }
    .navbar-right .burger-menu-btn{
        margin-right: 20px;
    }
}


@media (max-width: 916px) and (orientation: landscape){
    .top-bar{
        display: none;
    }
    header{
        position: relative;
    }
    .navbar-container{
        height: 92px;
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
    }
    .mobile-menu{
        min-height: unset;
    }
    .mobile-menu ul li a{
        height: 30px;
    }
}