header {
    position: relative;
    z-index: 99;
}

.header-nav {
    background: var(--black);
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.nav-item {
    height: 27px;
    width: 27px;
    background: var(--gray);
    border-radius: 50%;
    margin: 0 9px;
    cursor: pointer;
    position: relative;
    transition: 300ms;
}

.nav-item:hover {
    background: #fff;
}

/*.nav-item::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    height: 37px;*/
/*    width: 37px;*/
/*    background: transparent;*/
/*    border: 1px solid #fff;*/
/*    transform: translate(-51%, -49%) scale(.5);*/
/*     visibility: hidden;*/
/*     opacity: 0;*/
/*    transition: 300ms;*/
/*    border-radius: 50%;*/
/*}*/

/*.nav-item:hover::after {*/
/*    transform: translate(-51%, -49%);*/
/*    visibility: visible;*/
/*    opacity: 1;*/
/*}*/

.items-count {
    position: absolute;
    bottom: -7px;
    right: -5px;
    background: var(--gray);
    border: 1px solid var(--black);
    height: 16px;
    width: 16px;
    border-radius: 50%;
}

.items-count > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    line-height: 1.2;
    font-size: 10px;
    font-family: var(--number-font);
}

.nav-item > img {
    height: 14px;
    width: 15px;
    transform: translateY(-1px);
}

.nav-item > i {
    font-size: 15px;
    color: var(--black);
    transform: translateY(0.5px) scale(.95);
}

.nav-item > span {
    font-size: 13px;
    color: var(--black);
}

.top-logo {
    height: 48px;
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.top-white-line {
    height: 30px;
    width: 1px;
    background: var(--white);
    margin: 0 9px;
}

.header-menu {
    background: var(--black);
    border-top: 1px solid #444444;
}

.menu-item {
    color: var(--white);
    margin: 0 40px;
}

.header-menu {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 999;
    transform: translateY(100%);
}

.scrolled {
    position: fixed;
    transform: unset;
    height: fit-content;
    top: 0;
}

@media screen and (max-width: 950px) {
    .scrolled .pages-menu{
        top: 70px !important;
    }
}

.scrolled-2 {
    position: fixed;
    height: 70px;
    top: -70px;
    transition: 300ms;
}

.scrolled-2 .top-logo {
    height: 43px;
}

.scrolled-2.animate {
    transform: translateY(70px);
}

.pages-menu {
    padding: 13px 0;
}

.account-dropdown {
    position: absolute;
    background: #fff;
    bottom: -21px;
    border-radius: 0 10px 10px 10px;
    padding: 13px 10px;
    transform: translateY(95%);
    z-index: 1000;
    left: 0;
    visibility: hidden;
    transition: var(--transition);
    opacity: 0;
}

.account-link:hover .account-dropdown {
    visibility: visible;
    transform: translateY(100%);
    opacity: 1;
}

.account-dropdown a {
    font-size: 12px;
    width: max-content;
    transform: scale(.93);
    margin-bottom: 12px;
    margin-inline: 4px;
}

.account-dropdown a:last-child {
    margin-bottom: 0;
}

.account-dropdown p {
    font-size: 18px;
    margin-bottom: 12px;
}

.account-dropdown a:hover {
    color: var(--black) !important;
}

.footer-top {
    background: var(--dark-gray);
    padding: 50px 0;
}

.footer-link {
    color: var(--white);
    margin-bottom: 6px;
}

.footer-menu {
    margin-left: 50px;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-bottom {
    background: var(--black);
}

.footer-copyright {
    padding: 20px 0;
    border-bottom: 1px solid #393939;
}

.footer-copyright * {
    font-size: 16px;
}

#backToTop img {
    height: 22px;
    width: auto;
    margin-right: 6px;
    transform: translateY(-2px);
    transition: var(--transition);
}

#backToTop:hover img {
    transform: translateY(-8px);
}

.footer-bottom-menu {
    padding: 60px 0;
}

.footer-bottom-menu h4 {
    color: #586069;
    margin-bottom: 9px;
    font-size: 19px ;
    font-family: var(--font-bold);
    transform: translateX(-2px);
}

.h-mobile {
    display: block;
}

.h-mobile.d-flex {
    display: flex;
}

.d-mobile {
    display: none !important;
}

@media screen and (max-width: 800px) {
    .h-mobile {
        display: none !important;
    }

    .d-mobile {
        display: block !important;
    }

    .d-mobile.d-flex {
        display: flex !important;
    }

    .d-mobile .nav-item {
        margin: 0 0 0 18px;
    }
}

@media screen and (max-width: 940px) {
    .account-dropdown {
        left: -10px;
        padding: 13px 8px;
    }

    .pages-menu {
        position: fixed;
        height: calc(100vh - 70px);
        width: 100vw;
        top: 0;
        left: 0;
        flex-direction: column;
        padding: 0;
        background: var(--black);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-20px);
        transition: var(--transition);
    }

    .pages-menu.open {
        visibility: visible;
        opacity: 1;
        transform: unset;
    }

    .page-content {
        /*margin-top: 0;*/
        padding-top: 0;
    }

    .menu-item {
        font-size: 20px;
        padding-bottom: 34px;
        width: 94%;
        text-align: center;
        border-bottom: 1px solid #707070;
        margin-bottom: 34px;
    }

    .burger-toggle {
        display: block;
        transition: var(--transition);
    }

    .burger-line {
        width: 24px;
        display: block;
        height: 2px;
        background: #fff;
        border-radius: 10px;
        transition: var(--transition);
    }

    .burger-line.two {
        margin: 6px 0;
    }

    .burger-toggle.active .one {
        transform: translateY(8px) rotate(225deg);
    }

    .burger-toggle.active .two {
        visibility: hidden;
        opacity: 0;
    }

    .burger-toggle.active .three {
        transform: translateY(-8px) rotate(-225deg);
    }
}

@media screen and (max-width: 597px) {
    .footer-top {
        padding: 50px 0 28px 0;
    }

    .footer-menu {
        margin: 0 0 20px 0 !important;
    }

    .footer-bottom-menu {
        padding: 30px 0 10px 0 !important;
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 300ms;
}

#preloader .loader {
    animation: zoomInOut 3s ease-in-out infinite;
    height: 60px;
}

#preloader.removed {
    visibility: hidden;
    opacity: 0;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}
