.header {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.header-active {
    background: white;
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding-bottom: 20px;
}

.header-wrap {
    display: flex;
    align-items: center;
}

.header-active .header-wrap {
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    gap: 44px;
}

.header-hamburger {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    padding: 6px 3.75px;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    cursor: pointer;
    position: relative;
}

.header-active .header-hamburger:before {
    top: 7px;
    left: 4px;
    transform: rotate(-45deg);
}

.header-active .header-hamburger:after {
    top: 5px;
    left: 4px;
    transform: rotate(45deg);
}

.header-active .header-hamburger:before,
.header-active .header-hamburger:after {
    width: 4px;
    height: 2px;
    background-color: black;
    position: absolute;
    content: '';
    border-radius: 10px;
}

.header-active .header-hamburger__line:nth-child(1) {
    width: 65%;
    margin-left: auto;
}

.header-hamburger__line {
    width: 16.5px;
    height: 2px;
    background-color: #333333;
    border-radius: 5px;
    display: block;
}

.header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-active .header-logo {
    order: 1;
    justify-content: start;
    margin-top: auto;
}

.header-logo__item {
    margin-right: 24px;
}

.header-menu {
    display: none;
    width: 100%;
}

.header-active .header-menu {
    display: block;
    overflow: auto;
}

.header-menu__list {
    padding: 0;
    margin: 0;
    list-style-type: none;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.header-menu__list-item {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.5px;
}

@media (min-width: 768px) {
    .header {
        min-height: 80px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header-active {
        padding-bottom: 40px;
    }

    .header-active .header-wrap {
        gap: 62px;
    }

    .header-hamburger {
        width: 32px;
        height: 32px;
        padding: 8px 5px;
    }

    .header-active .header-hamburger:before,
    .header-active .header-hamburger:after {
        width: 5px;
    }

    .header-active .header-hamburger:after {
        top: 7px;
    }

    .header-active .header-hamburger:before {
        top: 9px;
    }

    .header-active .header-hamburger__line:nth-child(1) {
        width: 70%;
    }

    .header-hamburger__line {
        width: 22px;
    }

    .header-logo__item {
        margin-right: 32px;
    }

    .header-menu__list-item {
        font-size: 18px;
        line-height: 21.94px;
    }
}

@media (min-width: 1200px) {
    .header {
        min-height: 78px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .header-hamburger {
        display: none;
    }

    .header-logo {
        justify-content: start;
    }

    .header-menu {
        display: flex;
        justify-content: flex-end;
    }

    .header-menu__list {
        flex-direction: row;
        align-items: center;
        gap: 25px;
    }
}