.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
    background-color: var(--color-light);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5)
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.header__body {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
}

.header__list {
    display: flex;
    text-wrap: nowrap;
    padding: 0;
    position: relative;
    z-index: 2;
}

.header__list li {
    margin: 0 0 0 20px;
}

.header__link {
    text-transform: uppercase;
    font-size: 18px;
}

.header__logo {
    flex: 0 0 160px;
    overflow: hidden;
    position: relative;
    z-index: 3;

}

.header__logo img {
    max-width: 100%;
    display: block;
}

.header__burger {
    display: none;
}

@media (max-width:900px) {

    body.lock {
        overflow: hidden;
    }

    .header__body {
        height: 50px;
    }

    .header__burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 3;
    }

    .header__burger span {
        position: absolute;
        background-color: var(--color-dark);
        left: 0;
        width: 100%;
        height: 2px;
        top: 9px;
        transition: var(--transition);
    }

    .header__burger::before,
    .header__burger::after {
        content: '';
        background-color: var(--color-dark);
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        transition: var(--transition);
    }

    .header__burger::before {
        top: 0;
    }

    .header__burger::after {
        bottom: 0;
    }

    .header__burger.active span {
        transform: scale(0);
    }

    .header__burger.active::before {
        transform: rotate(45deg);
        top: 9px;
    }

    .header__burger.active::after {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    .header__menu {
        position: fixed;
        top: -150%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-light);
        padding: 50px 10px 20px 10px;
        transition: var(--transition);
        overflow: auto;
    }

    .header__menu.active {
        top: 0;
    }

    .header__list {
        float: inline-end;
        display: block;
    }

    .header__list li {
        margin: 0px 30px 10px 0px;
    }
}