.header{
    background-color: #0A0A0A;
}

.header__inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
}

.header__nav{
    flex-basis: 0;
    flex-grow: 1;
}

.header__menu{
    display: flex; 
}

.header__menu--items + .header__menu--items{
    padding-left: 40px;
}

.header__menu--link{
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #717171;
}  

.header__number{
    text-align: right;
    flex-basis: 0;
    flex-grow: 1;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #717171;
}

.headline{
    background-color:  #F5F5F7;
    text-align: center;
    padding: 71px 0 40px;
}

.headline__title{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 64px;
    line-height: 77px;
    color: #490E84;
    margin: 0 0 40px;
}

.headline__img{
    display: inline-block;
    margin-bottom: 25px;
}

.headline__btn{
    display: inline-block;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #490E84;
    padding: 22px 117px 19px;
    border-radius: 30px;
    cursor: pointer;
}

.news{  
    margin-top: 87px;
    margin-bottom: 150px;
}

.news__title,
.color__title{
    text-transform: uppercase;
    text-align: center;
    color: #717171;
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
}

.news__inner{
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.news__description{
    margin-right: 191px;
}

.news__description-text{
    max-width: 560px;
    margin: 0 0 30px;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #0A0A0A;
}

.news__description-text-black{
    font-weight: 700;
    font-size: 20px;
}

.color{
    padding-bottom: 150px;
}

.color__title{
    margin-bottom: 50px;
}

.color__menu{
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.color__menu--item img{
    margin-bottom: 20px;
}

.color__menu--item h3{
    font-size: 20px;
    line-height: 26px;
    margin: 0 0 10px;
}

.color__menu--item p{
    margin: 0;
}

.contacts__inner{
    display: flex;
    background-color: #574B63;
    color: #FFFFFF;
    text-align: center;
}

.contacts__form{
    width: 100%;
    padding: 140px 93px;
}

.contact__title{
    margin: 0 0 60px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 32px;
    line-height: 39px;
    text-align: left;
}

.contact__input{
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #FFFFFF;
    display: block;
    width: 100%;
    margin-bottom: 20px;
    background-color: #574B63;
}

.contact__input::placeholder{
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
    opacity: .5;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.contacts__form p{
    opacity: .5;
    text-align: center;
    margin: 30px 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
}

.contacts__form button{
    border: none;
    text-transform: uppercase;
    color: #490E84;
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 16px 81px;
    font-weight: 400;
    cursor: pointer;
}


.footer{
    background-color: #0A0A0A;
    align-items: center;
}

.footer-link{
    flex-basis: 0;
    flex-grow: 1;
}

.footer__inner{
    color: #717171;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
}

.menu-btn{
    display: none;
}


@media (max-width: 1200px){
    .headline__img{
        max-width: 100%;
    }
    .contacts__inner{
        display: block;
    }
    .contacts__form{
        width: auto;
    }
    .contact__title{
        text-align: center;
    }
    .contact__images{
        width: 100%;
    }
    .contacts{
        background-color: #574B63;
    }
}
@media (max-width: 1100px){
    .color__menu{
        flex-wrap: wrap;
    }
    .color__menu--item{
        width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 940px){
    .menu-btn{
        display: inline-block;
        width: 50px;
        height: 50px;
        background-color: transparent;
        position: relative;
        z-index: 50;
    }
    .header img,
    .header__number{
        position: relative;
        z-index: 50;
    }
    .btn-line{
        position: absolute;
        left: 0;
        width: 100%;
        background-color: #fff;
        height: 2px;
        transition: .3s ease;
    }
    .btn-line:nth-child(1){
        top: 0;
    }
    .btn-line:nth-child(2){
        top: 20px;
    }
    .btn-line:nth-child(3){
        top: 20px;
    }
    .btn-line:nth-child(4){
        top: 40px;
    }
    .menu-open .btn-line:nth-child(1){
        transform: scaleX(0);
    }
    .menu-open .btn-line:nth-child(2){
        transform: rotate(45deg);
    }
    .menu-open .btn-line:nth-child(3){
        transform: rotate(-45deg);
    }
    .menu-open .btn-line:nth-child(4){
        transform: scaleX(0);
    }
    .header__menu{
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        background-color: #0A0A0A;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transform: translateY(-100%);
        transition: .3s ease;
    }
    .menu-open .header__menu{
        transform: translateY(0%);
    }
    .header__menu--link{
        font-size: 56px;
    }
    .header__menu--items{
        padding: 50px 0 50px 0;
    }
    .header__menu--items + .header__menu--items{
        padding: 50px 0 50px 0;
    }
    .news__img{
        display: none;
    }
    .news__description{
        margin: 0;
    }
    .news__description-text,
    .news__description-text-black{
        max-width: 100%;
    }
}

@media (max-width: 768px){
    .headline,
    .news{
        padding: 50px 0;
    }
    .color{
        padding-bottom: 50px;
    }
    .contacts__form{
        padding: 50px 70px;
    }
}

@media (max-width: 640px){
    .footer__inner{
        padding: 20px 0;
        flex-direction: column;
    }        
    .footer__inner img{
        margin: 15px 0;
    }
    .header__number{
        font-size: 18px;
        line-height: 22px;
    }
}

@media (max-width: 560px){
    .headline__title{
        font-size: 34px;
        line-height: 42px ;
    }
    .headline__btn{
        font-size: 18px;
        line-height: 22px;
        padding: 16px 90px;
    }
    .news__title,
    .color__title,
    .contact__title
    {
        text-align: center;
        font-size: 28px;
        line-height: 32px;
    }

    .color__menu--item{
        width: 100%;
    }
    .color__menu--item img{
        width: 100%;
    }
    .contacts__form{
        padding: 50px 30px;
    }

    .header__menu--link{
        font-size: 32px;
    }
    .header__number{
        font-size: 16px;
        padding-left: 20px;
    }
}

@media (max-width: 490px){
    .header__number{
        font-size: 10px;
        padding-left: 20px;
    }
}

@media (max-width: 375px){
    .contacts__form{
        padding: 50px 10px;
    }
}
