html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Inter', sans-serif;
    background-color: #E6DAC0;
}

.wrapper {
    overflow: clip;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Прибити футер до низу сторінки якщо контенту мало, або багато щоб він завжди був в низу сторінки  */

.wrapper > main {
    flex-grow: 1;
}

[class*="__container"]{
    padding-inline: clamp(15px, 3vw, 100px);
}

/* Компоненти */

a.button{
    background-color: #fff;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    border-radius: 260px;
    padding-inline: clamp(30px, 2.5vw, 45px);
    padding-block: clamp(10px, 1.5vw, 35px);
    font-size: clamp(16px, 1.5vw, 32px);

}

.button:hover { 
color: #fff;
background-color: #000;
}

a.button--dark {
background-color: #000;
color: #fff;
}

.button--dark:hover {
background-color: #fff;
color: #000;
}

/* ------------ */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    /* Щоб шапка була поверх всього для того z-index з великим числом */
    z-index: 50;
    background-color: #E6DAC0;
    padding-block: clamp(15px, 1vw, 42px);
}

.header__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

}
@media (width <= 680px) {
    .header__container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        row-gap: 15px;
    }
}

.header__logo {
    width: clamp(100px, 11vw, 260px);
}
.header__menu {
    flex-grow: 1;
}
.header__button {
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    border: 1px solid #000;
    border-radius: 260px;
    padding-inline: clamp(30px, 2.5vw, 83px);
    padding-block: clamp(10px, 2vw, 19px);
    font-size: clamp(16px, 1.5vw, 32px);
}
.header__button:hover {
    background-color: #000;
    color: #fff;
}

@media (width <= 400px) {
    .header__button {
    align-self: stretch;
    }
}

.menu {
}
.menu__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 2vw, 80px);

}


.menu__item {
}
.menu__link {
    font-size: clamp(16px, 1.3vw, 32px);
}

.menu__link:hover {
    text-decoration: underline;
    transition: 0.4s;
}

/*------------*/




/*------------*/

.hero {
min-height: 100svh;
padding-top: clamp(100px, 7.5vw, 200px);
display: flex;
align-items: flex-end;
}
.hero__container {
    display: flex;
    gap: 30px;
    align-items: center;

}
.hero__content {
    flex-grow: 1;
    flex-basis: 100px;
    padding-block: clamp(20px, 2fvw, 40px)
}

.hero__title {
    font-weight: 600;
    font-size: clamp(30px, 5vw, 128px);
}

.hero__title:not(:last-child) {
    margin-bottom: 0.18575em;
}

.hero__text {
    line-height: 1.5;
    font-size: clamp(16px,1vw,40px);
}

.hero__text:not(:last-child) {
    margin-bottom: 1.6em;
}

.hero__text p:not(:last-child){
margin-bottom: 0.5em;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px,1vw,28px);;
}
.hero__button {
}

.hero__picture {
    flex-basis: 100px;
    flex-grow: 1;
    align-self: flex-end;
}
.hero__image {
    
} 

@media (width <= 630px) {
    .hero {padding-top: 160px;}
}

@media (width <= 992px){
    .hero__container {
    flex-direction: column;}

    .hero__content{
    text-align: center;
    }

    .hero__buttons{
        justify-content: center;
        align-items: center;
    }
}

@media(width <= 400px) {
    .hero__buttons{
        flex-direction: column;
        align-items: stretch;
    }
}

/*______________*/

.models {
    display: flex;
    min-height: 100svh;
}

.models__item {
}
.item-model {
    padding-inline: clamp(15px, 3vw, 100px);
    padding-top: 50px;
    padding-bottom: clamp(30px, 3vw, 350px);
    position: relative;
    flex-basis: 50%;
    display: flex;
    align-items: flex-end;
}
.item-model__content {
    position: relative;
    z-index: 2;
    color: #fff;
}
.item-model__title {
    font-weight: 600;
    font-size: clamp(28px, 3vw, 65px);
    line-height: 1.1;
}

.item-model__title:not(:last-child){
    margin-bottom: 0.37em;
}

.item-model__text {
    line-height: 1.5;
    font-size: clamp(16px,1vw,36px);
}

.item-model__text p:not(:last-child){
    margin-bottom: 0.5em;
}

.item-model__text:not(:last-child){
    margin-bottom: 1.7em;
}

.item-model__button {
}


.item-model__image {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(width < 768px){
    .models{
    flex-direction: column;
    }
    .item-model{
        flex-basis: 50svh;
    }
}

/* _____________ */

.download {

}
.download__conatiner {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    align-items: center;
}
.download__content {flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    text-align: center;
    padding-top: clamp(50px, 5vw, 300px);
    padding-bottom: clamp(30px, 5vw, 170px);
}
.download__title {
    text-wrap: balance;
    font-weight: 600;
    font-size: clamp(36px, 5vw, 96px);
}

.download__title:not(:last-child){
    margin-bottom: 0.25em;
}

.download__text {
    line-height: 1.5;
    font-size: clamp(16px,1vw,36px);
}

.download__text p:not(:last-child){
    margin-bottom: 0.5em;
}

.download__text:not(:last-child){
    margin-bottom: 1.7em;
}

.download__button {
}

.button--dark {
}
.download__image {

}

@media(width >= 768px){
    .download__image{
        max-width: 46%;
    }
}

/* ______________ */

.video {
    height: 100svh;
}
.video__item {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ______________ */

.footer {
    padding-block: clamp(15px, 1vw, 42px);
}
.footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.footer__logo {
        width: clamp(100px, 11vw, 260px);
}
.footer__button {
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    border: 1px solid #000;
    border-radius: 260px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: clamp(40px, 2vw, 85px);
    font-size: clamp(16px, 1.5vw, 32px);
}

.footer__button:hover {
    background-color: #000;
    color: #fff;
}