/*Обнуление*/
*{padding:0;margin:0;border:0;}
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
:focus,:active{outline:none;}
a:focus,a:active{outline:none;}
nav,footer,header,aside{display:block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
/*input::-ms-clear{display:none;}*/
button{cursor:pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration:none;}
a:hover{text-decoration:none;}
/*ul li{list-style:none;}*/
img{vertical-align:top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}
/*--------------------*/
body{
    font-family: "Inter", serif;
    position: absolute;
    background: #FAFBFD
}
body, html {
    overflow-x: hidden;
}
.wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main{
    flex: 1;
}
strong{
    color: #FD7C07;
}
/*--------------------*/
.hero{
    background: url('../images/hero-back.png') no-repeat center center/cover;
    height: auto;
    position: relative;
    padding: 120px 20px 120px 20px;
}
.hero__container{
    max-width: 1200px;
    margin: 0 auto;
}
.hero__container h2{
    color: #000;
    text-shadow: -3px 7px 7px rgba(0, 0, 0, 0.25);
    font-size: 72px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    margin-bottom: 70px;
    max-width: 515px;
}
.hero__container p{
    color: #616161;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 5px;
    max-width: 670px;
}
.hero__container h4{
    color: #000;
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
/*--------------------*/
.featured{
    padding: 50px 20px;
}
.featured__container{
    max-width: 1200px;
    margin: 0 auto;

}
.featured__title{
    margin-bottom: 30px;
}
.featured__title h2{
    color: #000;
    text-align: center;
    font-size: 42px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    margin-bottom: 16px;
}
.featured__title p{
    color: #898989;
    text-align: center;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.featured__content{
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.featured__content-block{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 350px;
}
.featured__content-block img{
    margin-bottom: 17px;
    max-width: 280px;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
    display: block;
}
.featured__content-block:hover img,
.featured__content-block:focus-within img {
    transform: scale(1.09) rotate(7deg);
}
.featured__content-block h2{
    color: #000;
    text-align: center;
    text-shadow: -3px 7px 7px rgba(0, 0, 0, 0.25);
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 17px;
}
.featured__content-block p{
    color: #474747;
    text-align: center;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
/*--------------------*/
.stay{
    padding: 20px;
    background: #E6F5FC;
}
.stay__container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.stay__content{
    max-width: 500px;
}
.stay__container img{
    animation: move5 3s infinite linear;
}
@keyframes move5 {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(0);
    }
}
.stay__content h2{
    color: #000;
    text-shadow: -3px 7px 7px rgba(0, 0, 0, 0.25);
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 17px;
}
.stay__content p{
    color: #444;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
/*--------------------*/
.snack{
    padding: 50px 20px;
}
.snack__container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.snack__content{
    max-width: 500px;
}
.snack__content-title h2{
    color: #000;
    font-size: 34px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    margin-bottom: 30px;
}
.snack__image img{
    max-width: 525px;
    animation: move2 3s infinite linear;
}
@keyframes move2 {
    0% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(3deg);
    }
    100% {
        transform: rotate(-2deg);
    }
}
.snack__content-main{
    display: flex;
    /*flex-direction: column;*/
    flex-wrap: wrap;
    /*justify-content: center;*/
    gap: 20px;
}
.snack__content-main-block{
    max-width: 233px;
    border: 1px solid orange;
    padding: 20px;
    border-radius: 10px;
    /*transition: 0.2s;*/
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
    display: block;

}
.snack__content-main-block:hover{
    background-color: #fff7f1;
    transition: 0.5s;
    transform: scale(1.04);
}

.snack__content-main-block h2{
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 13px;
}
.snack__content-main-block p{
    color: #696969;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
/*--------------------*/
.habits{
    background: #E6F5FC;
    padding: 40px 20px;
}
.habits__container{
    max-width: 1200px;
    margin: 0 auto;
}
.habits__title{
    color: #000;
    text-align: center;
    font-size: 34px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    margin-bottom: 35px;
}
.habits__content{
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.habits__content-block{
    max-width: 229px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.habits__content-block img{
    margin-bottom: 13px;
}
.habits__content-block h2{
    color: #000;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 20px;
}
.habits__content-block p{
    color: #525252;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
/*--------------------*/
@media(max-width: 1050px){
    .snack__image img{
        max-width: 350px;
    }
    .habits__content{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 35px;
    }
}
@media(max-width: 920px){
    .featured__content{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 40px;
    }
}
@media(max-width: 870px){
    .stay__container{
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    .stay__content{
        text-align: center;
        max-width: 100%;
    }
    .snack__image{
        display: none;
    }
    .snack__content-title h2{
        text-align: center;
    }
    .snack__container{
        display: flex;
        justify-content: center;
    }
    .snack__content-main{
        display: flex;
        justify-content: center;
    }
    .snack__content-main-block{
        /*border: 1px solid orange;*/
        /*padding: 20px;*/
    }
    .snack__content{
        max-width: 100%;
    }
}
@media(max-width: 450px){
    .hero__container h2{
        font-size: 45px;
    }
    .hero__container p{
        font-size: 21px;
    }
}
