/*Header*/

.header{
    position: relative;
    min-height: 100vh;
}

.header__top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.menu__list{
    display: flex;
    align-items: center;
    gap: 0 40px;
    font-weight: 700;
}

.menu__btn{
    padding: 15px 58px;
    border-radius: 30px;
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
}

.header__content-images{
    text-align: center;
    padding-bottom: 100px;
}

.header__content-images::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: -2;
}

.header__content-images:has(.color--blue.content-item--active)::before{
    background: linear-gradient(180.00deg, rgb(202, 219, 235),rgba(235, 235, 235, 0) 100%);
}

.header__content-images:has(.color--red.content-item--active)::before{
    background: linear-gradient(180.00deg, rgb(243, 214, 209),rgba(235, 235, 235, 0) 100%);
}

.header__content-images:has(.color--green.content-item--active)::before{
    background: linear-gradient(180.00deg, rgb(221, 234, 217),rgba(235, 235, 235, 0) 100%);
}

.header__content-images:has(.color--black.content-item--active)::before{
    background: linear-gradient(180.00deg, rgb(182, 182, 182),rgba(235, 235, 235, 0) 100%);
}

.header__content-images:has(.color--white.content-item--active)::before{
    background: linear-gradient(180.00deg, rgb(250, 250, 250),rgba(235, 235, 235, 0) 100%);
}

.content-item{
    display: none;
}

.content-item.content-item--active{
    display: inline-block;
}

.title{
    font-size: 210px;
    font-weight: 700;
    position: absolute;
    padding-top: 110px;
}

.title--pod{
    position: relative;
    z-index: -1;
}

.title--s{
    display: inline-block;
    transform: translateY(60px);
}

.title--m{
    display: inline-block;
    transform: translate(-57px, 275px);
}

.title--ax{
    position: relative;
    display: inline-block;
    transform: translate(-128px, 413px);
    z-index: -1;
}

/*Section - выбор цвета наушников*/

.choose-color{
    padding: 45px 0 180px;
    text-align: center;
}

.choose-color__title{
    max-width: 557px;
    margin: 0 auto 20px;
    font-size: 36px;
    font-weight: 700;
}

.choose-color__text{
    max-width: 557px;
    margin: 0 auto 80px;
    font-size: 16px;
    font-weight: 500;
}

.choose-color__list{
    display: flex;
    gap: 40px;
    justify-content: center;
}

.choose-color-btn{
    border-radius: 20px;
    border: 1px solid #777;
    padding: 50px 55px;
}

.choose-color-btn--active{
    display: none;
}

/*Section - composition (description)*/

.composition{
    margin-bottom: 180px;
}

.composition__title{
    text-align: center;
}

.composition__text{
    max-width: 653px;
    text-align: center;
    margin: 0 auto 40px;
}

.composition__inner{
    max-width: 625px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.composition__inner-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;/*Перестраховка. Если много текста, чтобы параграфы не слипались.*/
}

.composition__inner-text p{
    max-width: 230px;
    margin: 0;
}

/*Section - Smart Case*/

.case{
    background-color: #fafafa;
    padding: 80px 0 100px;
    text-align: center;
}

.case__text{
    max-width: 825px;
    margin: 0 auto 40px;
}

.energy__title{
    padding-top: 160px;
    margin-bottom: 40px;
}

.energy__number{
    font-size: 210px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 40px 0;
}

.energy__text{
    max-width: 402px;
    margin: 0 auto;
}

/*Section - Man Photo*/

.man-photo{
    /* position: relative; */
    background-image: url(.././images/man-full.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

/* .man-photo::before{
    content: '';
    background-image: url(.././images/man.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.man-photo::after{
    content: '';
    position: absolute;
    background-image: url(.././images/audio.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    bottom: -250px;
    height: 150vh;
    width: 100%;
    left: 0;
    right: 0;
    z-index: -1;
} */

.man-photo__inner{
    min-height: 220vh;/*Минимально две высоты любого монитора*/
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.man-photo__box{
    color: #fff;
    text-align: center;
    padding-bottom: 48vh;
}

.man-photo__text{
    width: 300px;
}

.btn{
    text-transform: uppercase;
    font-weight: 700;
    color: #000;
    background-color: #fff;
    border-radius: 30px;
    padding: 15px 58px;
    margin-top: 25px;
}

/*Footer*/

.footer{
    padding: 50px 0 40px;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-weight: 700;
}

.footer__text{
    padding: 20px 0;
}

.footer__list{
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/*Adaptives*/

@media (max-width: 1469px){
    /*Header*/

    .header__content-images img{
        max-width: 100%;
    }

    .title{
        font-size: 180px;
        transform: translate(129px, 29px);
    }
}

@media (max-width: 1349px){
    /*Header*/

    .title{
        transform: none;
        font-size: 140px;
        padding-top: 14vh;
        left: 0;
        right: 0;
        text-align: center;
    }

    .title--pod{
        z-index: 1;
    }

    .title--s{
        transform: none;
    }

    .title--m{
        transform: none;
    }

    .title--ax{
        transform: none;
    }
}

@media (max-width: 1200px){
    /*Section - выбор цвета наушников*/

    .choose-color__list{
        flex-wrap: wrap;
    }
}

@media (max-width: 1349px){
    /*Header*/

    .title{
        position: relative;
        font-size: 100px;
        padding-top: 0;
    }

    .title--m{
        padding-left: 20px;
    }
}

@media (max-width: 768px){
    /*Header*/

    .title{
        font-size: 58px;
    }

    /*Section - выбор цвета наушников*/

    .choose-color{
        padding-bottom: 60px;
    }

    .choose-color__list{
        gap: 16px;
    }

    /*Section - composition (description)*/

    .composition{
        margin-bottom: 60px;
    }

    .main__title{
        font-size: 36px;
    }

    /*Section - Smart Case*/

    .case{
        padding: 60px 0;
    }

    .energy__title{
        padding-top: 70px;
        margin-bottom: 20px;
    }

    .energy__number{
        font-size: 120px;
        margin-bottom: 20px;
    }
}

@media (max-width: 560px){
    /*Header*/

    .menu__list{
        flex-wrap: wrap;
        gap: 20px 40px;
    }

    .menu__item-btn{
        margin-left: auto;
    }

    .menu__item-btn button{
        width: 250px;
    }

    .menu__item:first-child{
        margin-left: auto;
    }

    .header__top{
        align-items: flex-start;
    }

    /*Section - выбор цвета наушников*/

    .choose-color{
        padding-bottom: 40px;
    }

    .choose-color__text{
        margin-bottom: 40px;
    }

    /*Section - Smart Case*/

    .case{
        padding: 40px 0;
    }

    /*Section - composition (description)*/

    .composition__inner{
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .composition__inner-text p{
        max-width: 100%;
    }
}

@media (max-width: 414px){
    .main__title, .choose-color__title{
        font-size: 28px;
    }

    /*Section - Smart Case*/

    .energy__number{
        font-size: 90px;
    }

    .case img{
        max-width: 100%;
    }
}

@media (max-width: 414px){
    /*Header*/

    .title{
        font-size: 50px;
    }
}