@import "reset..css";

body {
    font-family: Montserrat, sans-serif;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.container__nav.active {
    display: block;
}

.burger,
.submit,
.zoom,
.zoom__container,
.icon__arrow-left,
.icon__arrow-right,
.container__arrow-right,
.container__arrow-left
.arrow__slide:hover {
    cursor: pointer;
}

.input {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    padding-left: 15px;
}

.input:focus {
    outline: solid 2px #00ADC4;
    border: none;
}

.error-message {
    text-align: start;
    font-size: 14px;
}


@media (min-width: 320px) {
    .header {
        padding: 23px 0 20px;
        background-color: #fff;
        position: fixed;
        width: 100%;
    }

    .header.open-nav {
        border: solid 1px black;
    }

    .header__container,
    .logo__page {
        display: flex;
        align-items: center;
    }

    .header__container {
        justify-content: space-evenly;
    }

    .logo__page {
        padding: 0 20px;
    }

    .logo__link {
        text-decoration: none;
        color: #000;
        text-transform: uppercase;
    }

    .letter__first {
        font-weight: 700;
    }

    .container__nav {
        width: 100%;
        background-color: #fff;
        position: absolute;
        left: 0;
        top: 69px;
        display: none;
    }

    .navigation__element {
        border: solid 1px black;
        padding: 13px 0 13px 20px;
    }

    .navigation__link {
        text-decoration: none;
        color: #000;

        font-weight: 400;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 2px;
    }

    .banner {
        padding-top: 70px;
    }

    .banner__img {
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.72),
        rgba(102, 102, 102, 0)), url("../img/banners_img/rectangle-1.webp");
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 270px;

        display: flex;
        align-items: center;
    }

    .name__page {
        font-weight: 700;
        font-size: 32px;
        line-height: 39px;
        letter-spacing: 2px;
        color: #fff;

        display: flex;
        flex-direction: column;
        padding-left: 20px;
    }

    .works__container {
        background-color: #000;
        color: #fff;
    }

    .works__contents {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: row;
        column-gap: 20px;
        padding: 16px 20px 28px;
    }

    .works__content,
    .works__bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .counter__plus {
        display: flex;
    }

    .counter,
    .plus {
        font-weight: 700;
        font-size: 28px;
        line-height: 34px;
    }

    .works__description {
        text-transform: lowercase;
        text-align: center;
    }

    .white__order {
        background-color: #fff;
        color: #000;
        text-align: center;
        display: inline-block;
        width: 280px;
        padding: 11px 0;
        margin-bottom: 24px;
        border-radius: 25px;

        font-weight: 500;
        font-size: 18px;
        line-height: 18px;
    }

    .more {
        margin-bottom: 10px;
    }

    .arrow__down {
        margin-bottom: 20px;
    }

    .contacts__container {
        background-color: #D9D9D9;
        padding: 48px 0 48px 19px;
        display: flex;
        flex-direction: column;
        row-gap: 14px;
    }

    .contact__title,
    .address__title {
        font-weight: 700;
        font-size: 14px;
        line-height: 18px;
        color: #000;
    }

    .contact__time,
    .contact__phone,
    .address__contact {
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #000;
    }

    .second-phone {
        margin: 10px 0 0 0;
    }

    .cabins__container,
    .containers__container {
        background-color: #fff;
        display: flex;
        flex-direction: column;
    }

    .directory {
        padding: 60px 0 0 0;
    }

    .directory__description::before {
        content: '';
        display: inline-block;
        width: 65px;
        height: 3px;
        background-color: #000;
        margin-left: 20px;
        margin-right: 8px;
    }

    .directory__description {
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
        color: #000;
        text-transform: uppercase;
    }

    .cabins__title {
        font-weight: 700;
        font-size: 24px;
        line-height: 29px;
        color: #000;
        text-transform: uppercase;
        margin: 15px 0 32px 20px;
    }

    .container__content {
        display: flex;
        justify-content: center;
        flex-direction: row;
        margin-bottom: 46px;
    }

    .content__block-first,
    .content__block-second,
    .content__block-third,
    .content__block-four,
    .content__block-five,
    .container__block-first,
    .container__block-second,
    .container__block-third,
    .container__block-four,
    .container__block-five {
        width: 100%;
        height: 390px;
        margin: 0 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .content__block-second,
    .content__block-third,
    .content__block-four,
    .content__block-five,
    .container__block-second,
    .container__block-third,
    .container__block-four,
    .container__block-five {
        display: none;
        height: 300px;
        width: 350px;
    }

    .content__block-first {
        background-image: url("../img/cabins_img/cabins-1.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .content__block-second {
        background-image: url("../img/cabins_img/cabins-2.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .content__block-third {
        background-image: url("../img/cabins_img/cabins-3.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .content__block-four {
        background-image: url("../img/cabins_img/cabins-4.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .content__block-five {
        background-image: url("../img/cabins_img/cabins-5.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .content__block {
        display: none;
    }

    .lope {
        text-align: end;
    }

    .description {
        background: linear-gradient(to top, rgba(0, 0, 0, 1),
        rgba(0, 0, 0, 0.25));
        display: flex;
        flex-direction: column;
        row-gap: 15px;
        color: #fff;
        padding: 26px 0 20px 26px;
    }

    .description__title {
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
        text-transform: uppercase;
        display: flex;
        flex-direction: column;
    }

    .description__text {
        font-weight: 400;
        font-size: 13px;
        line-height: 16px;
        width: 190px;
    }

    .description__price {
        font-weight: 700;
        font-size: 14px;
        line-height: 16px;
    }

    .price {
        font-weight: 700;
        font-size: 24px;
        line-height: 20px;
        color: #00ADC4;
    }

    .old__price {
        color: #939393;
    }

    .arrow__slide,
    .container__arrow-slide {
        margin: 0 20px;
        display: flex;
        justify-content: space-between;
    }

    .container__arrow-slide {
        margin-bottom: 60px;
    }

    .container__block-first {
        background-image: url("../img/containers_img/container-1.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .container__block-second {
        background-image: url("../img/containers_img/container-2.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .container__block-third {
        background-image: url("../img/containers_img/container-3.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .container__block-four {
        background-image: url("../img/containers_img/container-4.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .container__block-five {
        background-image: url("../img/containers_img/container-5.webp");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .organic__container {
        background-color: #000;
        text-align: center;
        padding: 48px 20px;
        color: #fff;
    }

    .organic__text {
        font-weight: 700;
        font-size: 20px;
        line-height: 24px;
        padding-bottom: 5px;
    }

    .organic__title {
        font-family: "Asap Condensed", sans-serif;
        font-weight: 700;
        font-size: 28px;
        line-height: 36px;
    }

    .about__container {
        background-color: #fff;
        display: flex;
        flex-direction: column;
        row-gap: 28px;
    }

    .about__banner {
        background-image: url("../img/banners_img/rectangle-2.webp");
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        height: 220px;
    }

    .about__title {
        margin-left: 20px;
        font-weight: 700;
        font-size: 22px;
        line-height: 28px;

        display: flex;
        flex-direction: column;
    }

    .about__bottom {
        display: flex;
        flex-direction: column;
        row-gap: 15px;
        padding-bottom: 60px;
        padding-top: 28px;
    }

    .about__description {
        display: flex;
    }

    .description__number {
        margin: 0 28px 0 27px;
        width: 40px;
        height: 40px;
        border: solid 1px #000;
        border-radius: 50px;
        text-align: center;
        background-color: #fff;
    }

    .about__description-text {
        padding-right: 20px;
        font-size: 18px;
        font-weight: 400;
        line-height: 20px;
    }

    .ellipse__between {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .delivery__container {
        background-color: #D9D9D9;
        text-align: center;
    }

    .delivery__text {
        padding: 60px 0 35px;
        display: flex;
        flex-direction: column;
        row-gap: 16px;
    }

    .delivery__title,
    .delivery__cabins {
        color: #000;
        font-weight: 700;
        font-size: 24px;
        line-height: 16px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        row-gap: 10px;
        padding-bottom: 16px;
    }

    .delivery__cabins,
    .delivery__description {
        font-weight: 400;
    }

    .delivery__description {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
        font-size: 12px;
        line-height: 20px;
    }

    .container__icons {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        padding: 60px 0;
    }

    .icon__arrow-left {
        padding-left: 20px;
    }

    .icon__arrow-right {
        padding-right: 20px;
    }

    .container__icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 17px;
    }

    .icon__name {
        font-weight: 700;
        font-size: 16px;
        line-height: 20px;
        text-align: center;
        color: #000;
    }

    .icon__second,
    .icon__third,
    .icon__four,
    .icon__five,
    .icon__six {
        display: none;
    }

    .container__content-text {
        padding: 32px 20px 30px;
    }

    .content__text {
        border-bottom: solid 2px #000;
    }

    .content__top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .content__bottom {

    }

    .title__answer {
        padding: 10px 0 10px 15px;

        font-weight: 700;
        font-size: 14px;
        line-height: 17px;
        color: #000;
    }

    .text__answer {
        display: none;
        padding: 10px 0 18px 15px;
        font-weight: 400;
        font-size: 16px;
        line-height: 20px;
        color: rgba(0, 0, 0, 0.7);
    }

    .container__form,
    .form {
        display: flex;
        flex-direction: column;
        row-gap: 28px;
        text-align: center;
    }

    .container__form {
        padding: 30px 20px;
    }

    .form__text {
        color: #000;
    }

    .title__form {
        font-weight: 700;
        font-size: 18px;
        line-height: 22px;
    }

    .form__description {
        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
    }

    .input {
        width: 260px;
        height: 32px;
        outline: none;
        border: solid 1px #000;
        border-radius: 10px;
    }

    .input:not(:last-child) {
        margin-bottom: 10px;
    }

    .submit {
        width: 100%;
        border-radius: 50px;
        background-color: #000;
        color: #fff;
        padding: 12px 0;
        text-align: center;
        border: none;
    }

    .footer__container {
        background-color: #000;
        color: #fff;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__text {
        margin: 60px 20px 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 25px;
    }

    .footer__title {
        text-transform: uppercase;
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
    }

    .footer__title::after {
        content: '';
        display: block;
        width: 130px;
        height: 3px;
        background-color: #fff;
        margin: 10px 0 20px 0;
    }

    .footer__description {
        font-weight: 500;
        font-size: 12px;
        line-height: 15px;
    }

    .footer__submit {
        background-color: #fff;
        color: #000;
        border-radius: 50px;
        width: 280px;
    }

    .footer__contact {
        padding: 32px 0;
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }

    .footer__contact-title,
    .footer__contact-description,
    .footer__link {
        font-weight: 700;
        font-size: 12px;
        line-height: 15px;
        color: #fff;
        letter-spacing: 0.5px;
    }

    .footer__contact-description,
    .footer__link {
        font-weight: 500;
        line-height: 20px;
    }

    .works__text,
    .directory__second {
        display: none;
    }

    .contacts__content {
        display: flex;
        flex-direction: column;
        row-gap: 15px;
    }
}


@media (min-width: 768px) {
    .header {
        width: 100%;
        padding: 0;
    }

    .header__container {
        padding: 23px 0 20px;
        border: solid 1px #000;
    }

    .btn__burger,
    .container__text,
    .directory__top {
        display: none;
    }

    .container__nav {
        display: flex;
        width: auto;
        background-color: transparent;
        position: static;
    }

    .navigation__list {
        display: flex;
    }

    .navigation__element {
        border: none;
    }

    .banner {
        padding-top: 88px;
    }

    .banner__img {
        background-image: url("../img/banners_img/banner_first-2.webp");
        background-size: cover;
        background-repeat: no-repeat;
        height: 370px;
    }

    .works__container {
        display: flex;
        justify-content: space-between;
    }

    .works__text,
    .works__container-content {
        display: flex;
        justify-content: center;
        flex-direction: column;
        row-gap: 45px;
        padding: 20px 0 20px 30px;
    }

    .works__contents {
        padding-top: 30px;
    }

    .contacts__container {
        row-gap: 32px;
    }

    .contacts__content {
        flex-direction: row;
    }

    .contacts__link {
        padding-left: 50px;
    }

    .content__block-first,
    .content__block-second,
    .container__block-first,
    .container__block-second {
        width: 350px;
        height: 300px;
        display: block;
        background-position: center;
        display: flex;
    }

    .cabins__container {
        margin-bottom: 60px;
    }

    .arrow__slide,
    .container__arrow-slide {
        display: flex;
        justify-content: center;
    }

    .arrow__left,
    .container__arrow-left {
        padding-right: 20px;
    }

    .organic__container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .organic__text {
        padding: 0 15px 0 0;
    }

    .about__banner {
        margin-top: 60px;
        height: 500px;
    }

    .directory__second {
        display: block;
    }

    .container__form {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }

    .form__text {
        text-align: start;
        padding: 20px 30px 20px 20px;
    }

    .title__form {
        padding-bottom: 20px;
    }

    .container__arrow,
    .delivery__text {
        display: none;
    }

    .delivery__text {
        width: 250px;
    }

    .icon__second,
    .icon__third,
    .icon__four,
    .icon__five,
    .icon__six {
        display: block !important;
    }

    .footer__container {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .footer__title {
        display: flex;
        flex-direction: row-reverse;
    }

    .footer__title::after {
        content: '';
        display: inline-block;
        width: 130px;
        height: 3px;
        background-color: #fff;
        margin: 10px 8px 20px 0;
    }

    .footer__description {
        font-weight: 400;
        font-size: 16px;
        line-height: 20px;
        width: 300px;
    }

    .footer__contact-title,
    .footer__contact-description,
    .footer__link {
        font-size: 15px;
        line-height: 20px;
    }

}

@media (min-width: 1200px) {
    .banner__img {
        height: 467px;
    }

    .works__text {
        padding-bottom: 34px;
    }

    .name__page {
        display: flex;
        column-gap: 10px;
        flex-wrap: wrap;
        flex-direction: row;
        width: 400px;
        font-size: 56px;
        line-height: 68px;
        letter-spacing: 1px;
    }

    .works__container {
        display: flex;
        justify-content: space-around;
    }

    .works__text {
        padding-left: 0;
    }

    .works__content {
        width: 90px;
        align-items: flex-start;
    }

    .works__description {
        text-align: start;
    }

    .contacts__container {
        flex-direction: row-reverse;
        justify-content: space-around;
        align-items: center;
    }

    .contacts__content {
        column-gap: 53px;
    }

    .content__block-first,
    .content__block-second,
    .content__block-third,
    .container__block-first,
    .container__block-second,
    .container__block-third {
        width: 350px;
        height: 280px;
        display: flex;
        background-size: contain;
        background-position: center;
    }

    .about__container {
        flex-direction: row;
        column-gap: 20px;
    }

    .about__container-text {
        width: 50%;
        margin-top: 60px;
        display: flex;
        flex-direction: column;
        row-gap: 24px;
    }

    .ellipse__bottom {
        display: none;
    }

    .about__banner {
        width: 600px;
        background-size: contain;
    }

    .container__icon {
        display: block;
    }

    .delivery__title {
        padding-bottom: 16px;
    }


    .form__input {
        display: flex;
        flex-direction: column;
    }
}

