
.wrapper{
    padding: 0 20px;
    max-width: 920px;
    margin: 0 auto;
}

.open{
    display: flex !important;
}

header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 3px 20px 0px rgb(0 0 0 / 15%);
}
.header{
    display: flex;
    align-items: center;
    min-height: 60px;
    background-color: #fff;
    color: #3E424B;
    padding: 0 17px;
    justify-content: center;
}

/* .logo{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 50%;
    border: 1px solid #FAF6F2;
    width: 90px;
    height: 90px;
} */

.nav{
    display: flex;
    width: 700px;
    padding: 0 40px;
}

.nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
}
nav ul li a{
    text-decoration: none;
    color: #111827;
}

.burger{
    display: none;
    position: relative;
    z-index: 50;
    align-items: center;
    justify-content: flex-end;
    width: 30px;
    height: 18px;
}

.burger span{
    height: 2px;
    width: 80%;
    transform: scale(1);
    background-color: #0b0eab;
}

.burger::before, .burger::after{
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #333;
    transition: all 0.3s ease 0s;
}

.burger::before { top: 0 }

.burger::after { bottom: 0 }


/* Добавляем класс active для анимации иконки бургера */
.burger.active span { transform: scale(0) }

.burger.active::before{
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after{
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}


/* При разрешении экрана 900px и ниже, выводим на экран иконку бургера */
@media (max-width: 900px) {

    .burger { display: flex }

    .nav{
        display: none;
        flex-direction: column;
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0; bottom: 0; left: 0; right: 0;
        z-index: 50;
        overflow-y: auto;
        padding: 50px 40px;
        background-color: #fff;
        animation: burgerAnimation 0.4s;
    }

    .nav ul{
        flex-direction: column;
        row-gap: 30px;
    }
}

@keyframes burgerAnimation {
    from {opacity: 0}
    to {opacity: 1}
}

@media (max-width: 899px) {
.header{
    display: flex;
    align-items: center;
    min-height: 60px;
    background-color: #fff;
    color: #3E424B;
    padding: 0 20px;
    justify-content: space-between;
}
}
