@import url('./fonts.css');
/* @import url('./slides.css'); */
/* @import url('./card.css'); */


:root {
    --white: #FFFFFF;
    --black: #000000;
    --text-span: #A5BFC9;
    --blue-line: #89BBD0;
    --blue-title-card: #89B3C1;
    --bg-gradient: linear-gradient(145deg, #e3f0fa 0%, #b8d4e8 50%, #8bb8d4 100%);
    --fz-main: 24px;
    --fz-1600px: 22px;
    --fz-1400px: 20px;
    --fz-1280px: 18px;
    --fz-997px: 18px;
    --margin-section-top: 90px;
    --brown: #BDAB9A;
    --brown-bg: #c1ab9bc2;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

a {
    text-decoration: none;
    color: inherit
}


ul,
li {
    list-style: none
}

body {
    font-size: var(--fz-main);
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    max-width: 2000px;
    margin: 0 auto;
    overflow-x: hidden;
}

.title {
    font-size: 54px;
    font-weight: 400;
    line-height: 110%;
}

.title_md {
    font-size: 54px;
    font-weight: 400;
    line-height: 110%;
    color: var(--brown);
    margin-bottom: 70px;
}

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
}

.transparent__black .header {
    left: 0;
    top: 20px;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.transparent__black .header__burger div {
    background: black;
    width: 38px;
    height: 6px;
    margin-bottom: 9px;
}

/* HERO START*/
/* HERO START*/
/* HERO START*/
.hero {
    position: relative;
    width: 100%;
    height: 92vh;
    background-image: url('../images/why/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 130px 0 64px;

}

.hero__wrapper {
    padding: 60px;
    border-radius: 40px;
    background: var(--brown-bg);
    max-width: 680px;
}

.hero__wrapper p {
    font-size: 60px;
    font-weight: 200;
}

.hero__wrapper-logo {
    max-width: 563px;
}

.hero__tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 60px;

}

.hero__tags span:nth-child(2),
.hero__tags span:nth-child(3) {
    grid-column: span 2;
}

.hero__tags span {
    border: 1px solid black;
    border-radius: 40px;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: var(--fz-main);
}


/* HERO END*/
/* HERO END*/
/* HERO END*/

/* CLIMAT START*/
/* CLIMAT START*/
/* CLIMAT START*/
.climat {
    background: #FBFAFC;
}

.climat__wrapper {
    display: flex;
    align-items: start;

    gap: 60px;

}

.climat__info {
    max-width: 716px;
    padding-top: 70px;
}

.climat__img {
    max-width: 910px;
    width: 100%;
    max-height: 1078px;
}

/* CLIMAT END*/
/* CLIMAT END*/
/* CLIMAT END*/


/* QUALITY START*/
/* QUALITY START*/
/* QUALITY START*/
.quality {
    background: #FBFAFC;
}

.quality__wrapper {
    display: flex;
    align-items: start;

    gap: 90px;

}

.quality__info {
    max-width: 740px;
    padding-top: 140px;
    margin-left: 100px;
}

.quality__img {
    max-width: 1073px;
    width: 100%;
    max-height: 1078px;
}

/* QUALITY END*/
/* QUALITY END*/
/* QUALITY END*/



/* SPECIFIC START*/
/* SPECIFIC START*/
/* SPECIFIC START*/
.specific {
    background: var(--brown);
    padding: 120px 0 66px;
}

.specific__info {
    display: flex;
    align-items: start;
    justify-content: space-between;

}

.specific__title {
    max-width: 946px;
}

.specific__text {
    max-width: 600px;
    padding: 16px 0 24px;
    border-bottom: 3px solid black;
}

.specific__products {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    /* flex-wrap:wrap; */
    gap: 30px;
    margin-top: 120px;
}

.specific__products-item {
    max-width: 387px;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.specific__products-item__top {
    position: relative;
    height: 480px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.specific__products-img {
    position: absolute;
    bottom: 0;
    left: 50%;

    max-height: 430px;
    width: auto;
    height: 100%;
    object-fit: contain;

    transform: translateX(-50%);
    transition: opacity .35s ease;
}

.specific__products-img--abstract {
    opacity: 1;
}

.specific__products-img--real {
    opacity: 0;
}

.specific__products-item:hover .specific__products-img--abstract {
    opacity: 0;
}

.specific__products-item:hover .specific__products-img--real {
    opacity: 1;
}

.specific__products-item__info {
    min-height: 120px;
    max-height: 320px;
    height: auto;

    border-radius: 40px;
    border: 1px solid transparent;
    padding: 20px;
    margin-top: 40px;
}

.specific__products-item:hover .specific__products-item__info {
    border-color: black;
}

.specific__products-item p {
    font-size: var(--fz-main);
}

/* SPECIFIC END*/
/* SPECIFIC END*/
/* SPECIFIC END*/

/* FOOTER START*/
/* FOOTER START*/
/* FOOTER START*/
.footer {
    padding-top: var(--margin-section-top);
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 150px;
    margin-bottom: 50px;
}

.footer__socials,
.footer__subscribe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer__subscribe-input {
    border: none;
    padding: 12px 30px;
    border: 1px solid black;
    color: var(--brown);
    font-size: var(--fz-main);
    border-radius: 40px;
}

.footer__subscribe-input::placeholder {

    color: var(--brown);

}

.footer__subscribe-btn {
    border: none;
    padding: 14px 40px;
    border-radius: 40px;
    background: var(--brown);
    color: white;
    font-size: var(--fz-main);
    cursor: pointer;
}

.footer__menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px;
}

.footer__menu-list {
    margin-left: 10px;
}

.footer__menu-item {
    margin-top: 30px;
}

/* FOOTER END*/
/* FOOTER END*/
/* FOOTER END*/

@media(max-width: 1600px) {
    .title_md {
        margin-bottom: 30px;
    }

    .title {
        font-size: 62px;
    }

    .climat__wrapper {

        gap: 30px;
    }

    .climat__info {
        padding-top: 80px;
        margin: 0 20px;
    }

    .specific__products-item p {
        font-size: var(--fz-1400px);
    }

    .quality__info {

        margin-left: 50px;
    }

    .quality__img {
        max-width: 750px;
    }
}

@media(max-width:1465px) {
    .hero__wrapper-logo {
        max-width: 400px;
    }

    .quality__img,
    .climat__img {
        max-width: 600px;
    }

    .title_md,
    .title {
        font-size: 50px;
    }
}

@media(max-width:1400px) {

    .title_md,
    .title {
        font-size: 48px;
    }

    .climat__img,
    .quality__img {
        max-width: 650px;
    }

    .quality__info {
        padding-top: 50px;
    }
}

@media(max-width:1280px) {
    body {
        font-size: var(--fz-1280px);
    }

    .title_md,
    .title {
        font-size: 44px;
    }

    .climat__wrapper {
        gap: 30px;
    }

    .specific__text {
        max-width: 435px;
    }

    .climat__img,
    .quality__img {
        max-width: 550px;
    }

    .footer__socials img {
        max-width: 50px;
    }

    .footer__top {
        gap: 80px
    }
}


@media(max-width:1140px) {
    .title {
        font-size: 40px;
    }

    .climat__wrapper {
        gap: 10px;
    }

    .specific__products {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }

    .specific__products-item {
        max-width: 100%;
        text-align: center;
    }

    .specific__products-item__top {
        height: 350px;
    }

    .footer {
        padding-top: 50px;
    }

    .footer__top {
        flex-direction: column;
        gap: 30px;
    }

    .footer__subscribe-input {
        font-size: 18px;
    }

}

@media(max-width:997px) {
    body {
        --fz-main: var(--fz-997px);
    }

    .title_md,
    .title {
        font-size: 40px;
    }

    .hero__tags {
        grid-template-columns: 1fr 1fr;
    }

    .hero__tags span:nth-child(2),
    .hero__tags span:nth-child(3) {
        grid-column: span 1;
    }

    .hero__tags span {
        display: flex;
    }

    .climat__wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0px 0 50px;
    }

    .climat__info {
        padding-top: 50px;
    }

    .quality__wrapper {
        flex-direction: column;
        align-items: center;
    }

    .quality__info {
        padding-top: 50px;
        margin-left: 50px;
        margin-right: 10px;
    }

    .climat__img,
    .quality__img {
        max-width: 669px;
    }

    .specific {
        padding: 60px 0;
    }

    .specific__info {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
    }

    .specific__products-item p {
        font-size: var(--fz-1280px)
    }

    .footer__top {
        flex-direction: column;
        text-align: center;
        margin-bottom: 50px;
    }


    .specific__products-item__top {
        height: 350px;
    }

    .specific__products-item__top img {
        max-height: 100%;
    }

    .footer__subscribe {
        width: 100%;
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
    }

    .footer__subscribe-input {
        max-width: 100%;
        width: 100%;
    }

    .footer__menu {
        flex-direction: column;
        text-align: center;
    }

    .footer__menu-list {
        width: 100%;
    }


}

@media(max-width:860px) {
    .header {
        top: 20px;
    }

    .hero {
        padding: 110px 0 64px;
    }

    .hero__wrapper {
        padding: 50px;
    }



    .header__burger div {
        width: 30px;
        height: 5px;
    }




    .quality__info {

        margin-left: 20px;
        margin-right: 20px;
    }

    .specific__products {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;

    }

    .specific__products-item:hover .specific__products-img--abstract,
    .specific__products-item.is-active .specific__products-img--abstract {
        opacity: 0;
    }

    .specific__products-item:hover .specific__products-img--real,
    .specific__products-item.is-active .specific__products-img--real {
        opacity: 1;
    }

    .specific__products-item:hover .specific__products-item__info,
    .specific__products-item.is-active .specific__products-item__info {
        border-color: black;
    }

    .footer__subscribe {
        flex-direction: column;
        gap: 20px;
    }

    .footer__menu {
        flex-direction: column;
        text-align: center;
    }

}

@media (max-width: 600px) {
    .hero {
        height: auto;
        min-height: 800px;
    }

    .hero__tags {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .hero__tags span {
        font-size: 18px;
    }

    .hero__wrapper {
        padding: 32px 20px;
    }

    .hero__wrapper-logo {
        max-width: 300px;
    }

    .hero__wrapper p {
        font-size: 44px;
        font-weight: 200;
    }

    .specific__products {
        margin-top: 50px;
    }

    .specific__products-item__top {
        height: 300px;
    }

    .climat__info {
        padding-top: 30px;
    }

}

@media(max-width:500px) {
    .specific__products-item__top {
        height: 300px;
    }

}

@media(max-width:360px) {
    .hero__wrapper-logo {
        max-width: 250px;
    }

    .hero__wrapper p {
        font-size: 40px;
    }
}