/* Burger menu active classes */
.cz-container {
    width: 95%!important;
}

.cz-header__burger--active .line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.cz-header__burger--active .line:nth-child(2) {
    opacity: 0;
}

.cz-header__burger--active .line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.cz-music-competition--menu-open {
    overflow: hidden;
    height: 100vh;
}

.cz-header__burger {
    display: none;
}

.cz-header__burger .line {
    width: 80%;
    height: 2px;
    background: var(--primary-fc);
    transition: 0.3s;
}

.cz-header__burger .middle-line {
    width: 100%;
}

#preloader {
    position: fixed;
    pointer-events: auto;
    touch-action: none;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background: center / cover no-repeat url(../../img/preloader-bg.webp);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный */
    z-index: -1;
}

.preloader-wrapper {
    display: grid;
    place-items: center;
}

.preloader-block {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    row-gap: 50px;
    z-index: 9002;
}

.preloader-block img {
    width: 100%;
}

.progress-bar {
    width: 100%; /* Ширина полосы */
    height: 2px;
    background-color: #747474; /* Цвет фона полосы */
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress {
    width: 0;
    height: 100%;
    background-color: #F4EADE; /* Цвет заполнения */
    transition: width 0.1s ease;
}

.cz-header {
    position: relative;
    background: center / cover no-repeat url('../../img/header-bg.jpg');
    z-index: 10;
    border-bottom: 1px solid white;
}

.cz-header__content {
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cz-header__logo-container {
    display: flex;
    align-items: center;
}

.cz-header__logo-link {
    display: block !important;
}

.cz-header__logo {
    width: 152px;
    height: 40px;
}

.cz-header__separator {
    width: 1px;
    height: 24px;
    margin: 0 20px;
    background-color: #eb7057;
}

.menu__list {
    list-style: none;
    display: flex;
    column-gap: 10px;
}

.menu__link {
    text-decoration: none;
    color: var(--primary-fc);
    font-size: 14px;
    font-weight: 400;
    transition: color .3s ease;
}

.info-btn {
    display: block;
    font-size: 14px;
    border-radius: 4px;
    padding: 15px 45px;
    font-weight: 500;
    background-color: var(--primary-fc);
    color: var(--secondary-fc)!important;
    transition: opacity .3s ease;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    margin-bottom: 30px;
    list-style: none;
}

.mobile-menu__info-item {
    display: flex;
    column-gap: 12px;
}

.cz-header__mobile-menu {
    padding: 30px 0;
    background-image: url('../../img/header-bottom-active-menu.jpg');
    background-position: 50%;
    background-size: cover;
    left: 0;
    position: absolute;
    right: 0;
    top: 55px;
    transform: translateY(-200%);
    transition: transform .3s ease;
    width: 100%;
    z-index: 1;
}

.cz-header__mobile-menu--active {
    transform: translateY(0)
}

.mobile-menu__content {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.mobile-menu__content a {
    font-size: 16px;
    color: var(--primary-fc);
}

.mobile-menu__info-btn {
    width: 100%;
    text-align: center;
    margin-top: 60px;
    padding: 15px 0!important;
}

.mobile-menu__info-item:nth-child(1) {
    margin-bottom: 12px;
}

.info-icon {
    width: 32px;
    height: 32px;
}

.mobile-menu__info-value {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}


@media only screen and (max-width: 1400px) {
    .cz-header__content a {
        font-size: 13px;
    }

    .cz-header__logo {
        width: 94px;
        height: 25px;
    }

    .cz-container {
        width: 95%!important;
    }
}

@media only screen and (max-width: 920px) {
    .cz-header__burger {
        width: 40px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .cz-header__menu, .cz-header__info {
        display: none;
    }

    .cz-header__logo-container {
        position: absolute;
        left: calc(50% - 160px);
    }

    .cz-header__logo {
        width: 152px;
        height: 40px;
    }

    .cz-header__separator {
        margin: 0 10px;
    }
}

@media only screen and (max-width: 600px) {
    .cz-header__logo {
        width: 94px;
        height: 25px;
    }

    .cz-header__mobile-menu {
        bottom: 0;
    }

    .mobile-menu__info-btn {
        position: absolute;
        bottom: 25px;
        left: 16px;
        right: 16px;
        width: auto;
    }

    .cz-header__logo-container {
        position: absolute;
        left: calc(50% - 100px);
    }
}


