/* =========================================================
   Btperformance Main Navbar
   ========================================================= */

.site-header {
    position: relative;
    width: 100%;
    height: 54px;
    z-index: 1000;
}

.site-navbar {

    width: 100%;

    height: 54px;

    background: #05050d;

}

.site-navbar-inner {
    width: min(1420px, calc(100% - 80px));
    height: 50px;
    margin: 0 auto;

    display: flex;
    align-items: center;
}

.main-page .site-header {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

}


.main-page .site-navbar {

    background: transparent;

}

/* =========================================================
   Brand
   ========================================================= */

.site-navbar-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;

    flex: 1;

    min-width: 235px;

    text-decoration: none;
    line-height: 1;
}

.brand-main {

    font-size: 17px;

    font-weight: 600;

    letter-spacing: 0.4px;

    color: #ffffff;

    white-space: nowrap;

}


.brand-bt {

    color: #ef1111;

    font-weight: 700;

}


.brand-sub {

    margin-top: 5px;

    font-size: 7px;

    font-weight: 500;

    letter-spacing: 2px;

    color: rgba(255,255,255,.45);

    white-space: nowrap;

}

/* =========================================================
   Desktop Menu
   ========================================================= */

.site-navbar-menu {
    display: flex;
    align-items: stretch;
    justify-content: center;

    height: 100%;

    flex: 0 0 auto;

    margin-left: 0;
}


.nav-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;

    padding: 0 20px;

    color: #ffffff;
    background: transparent;

    text-decoration: none;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/* =========================================================
   Hover
   ========================================================= */

.nav-link:hover {

    color: #ef1111;

    background: transparent;

}


/* =========================================================
   Active
   ========================================================= */

.nav-link.active {
    color: #ef1111;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 3px;

    background: #ef1111;

    border-radius: 3px 3px 0 0;
}


/* =========================================================
   Login
   ========================================================= */

.site-navbar-actions {
    display: flex;
    align-items: center;

    flex: 1;

    justify-content: flex-end;

    margin-left: 0;
}

.navbar-login {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 86px;
    height: 38px;

    padding: 0 20px;

    color: #ffffff;
    background: #0df000;

    border: 1px solid #0df000;
    border-radius: 9px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.navbar-login:hover {
    color: #0df000;
    background: #ffffff;
    border-color: #ffffff;
}


/* =========================================================
   Mobile Toggle
   ========================================================= */

.navbar-toggle {

    display: none;

    width: 38px;

    height: 38px;

    margin-left: auto;

    padding: 6px;

    border: 0;
    
    background: white;

    cursor: pointer;
    
    border-radius:8px;

}


.navbar-toggle span {

    display: block;

    width: 24px;

    height: 2px;

    margin: 5px auto;

    background: black;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}


/* =========================================================
   Mobile Menu
   ========================================================= */

.site-navbar-mobile {

    display: none;

}


/* =========================================================
   Compact Navbar
   991px - 1200px
   ========================================================= */

@media (max-width: 1200px) and (min-width: 992px) {

    .site-navbar-inner {
        width: calc(100% - 30px);
    }


    .site-navbar-brand {
        flex: 0 0 185px;
        min-width: 185px;
    }
    
    .site-navbar-menu {
        flex: 1;
        justify-content: center;
    }

    .site-navbar-actions {
        flex: 0 0 84px;
        justify-content: flex-end;
    }


    .brand-main {
        font-size: 15px;
    }


    .brand-sub {
        font-size: 6px;
        letter-spacing: 1.5px;
    }


    .nav-link {
        padding-left: 11px;
        padding-right: 11px;
        font-size: 13px;
    }


    .navbar-login {
        min-width: 76px;
        height: 40px;
        padding: 0 15px;
        font-size: 13px;
    }

}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991px) {

    .site-navbar-menu,
    .site-navbar-actions {

        display: none;

    }


    .navbar-toggle {

        display: block;

    }


    .site-navbar-inner {

        height: 54px;

        width: min(100% - 30px, 1180px);

    }


    .site-navbar-mobile {

        position: absolute;

        top: 54px;

        left: 15px;

        right: 15px;

        display: flex;

        flex-direction: column;

        padding: 8px;

        background: rgba(8, 8, 15, 0.97);

        border-radius: 10px;

        border: 1px solid rgba(255,255,255,0.08);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-8px);

        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;

    }


    .site-navbar-mobile.open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }


    .site-navbar-mobile .nav-link {

        width: 100%;

        height: 48px;

        justify-content: flex-start;

        padding: 0 16px;

        border-radius: 6px;

    }


    .site-navbar-mobile .nav-link.active {

        border-radius: 6px;

    }


    .site-navbar-mobile .nav-link.active::after {

        left: 10px;

        right: 10px;

        bottom: 0;

    }


    .site-navbar-mobile .navbar-login {

        margin: 8px 0 2px;

        width: 100%;

    }
    
    .nav-link.active {
        color: #ef1111;
        background: #ffffff;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-link.active::after {
        display:none;
    }
    
    .nav-link.active::before {
        content: "";
    
        position: absolute;
    
        left: 0;
        right: 0;
        bottom: 0;
    
        height: 3px;
    
        background: #ef1111;
    
        border-radius: 3px 3px 0 0;
    }

}


@media (max-width: 575px) {

    .site-navbar-brand {
        min-width: 0;
    }

    .brand-main {
        font-size: 15px;
    }

    .brand-sub {
        font-size: 6px;
        letter-spacing: 1.5px;
    }

}

/* =========================================================
   LANGUAGE SELECTOR
   ========================================================= */

.site-navbar-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


/* ---------------------------------------------------------
   Button
   --------------------------------------------------------- */

.navbar-language {

    position: relative;

}


.navbar-language-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    min-width: 52px;

    height: 42px;

    padding: 0 11px;

    border: 1px solid
        rgba(255,255,255,.12);

    border-radius: 6px;

    background: transparent;

    color: #ffffff;

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .5px;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;

}


.navbar-language-button:hover {

    color: #ef1111;

    border-color:
        rgba(239,17,17,.45);

    background:
        rgba(255,255,255,.03);

}


.navbar-language-arrow {

    font-size: 9px;

    transition:
        transform .2s ease;

}


.navbar-language.open
.navbar-language-arrow {

    transform:
        rotate(180deg);

}


/* ---------------------------------------------------------
   Dropdown
   --------------------------------------------------------- */

.navbar-language-menu {

    position: absolute;

    top: calc(100% + 9px);

    right: 0;

    min-width: 125px;

    padding: 6px;

    background: #101018;

    border: 1px solid
        rgba(255,255,255,.10);

    border-radius: 7px;

    box-shadow:
        0 14px 35px
        rgba(0,0,0,.40);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-6px);

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;

    z-index: 1000;

}


.navbar-language.open
.navbar-language-menu {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


/* ---------------------------------------------------------
   Options
   --------------------------------------------------------- */

.navbar-language-option {

    display: block;

    width: 100%;

    padding: 10px 11px;

    border-radius: 5px;

    color: #ffffff;

    font-size: 11px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color .2s ease,
        background .2s ease;

}


.navbar-language-option:hover {

    color: #ef1111;

    background:
        rgba(255,255,255,.04);

}


.navbar-language-option.active {

    color: #ef1111;

    cursor: default;

}


/* ---------------------------------------------------------
   Mobile Language
   --------------------------------------------------------- */

.navbar-mobile-language {

    display: block;

    padding: 12px 0;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color .2s ease;

}


.navbar-mobile-language:hover {

    color: #ef1111;

}