@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background: #121517;

    font-size: 20px;
    line-height: 163%;
    letter-spacing: -0.02em;
    color: #d9d9d9;
}

h1,
h2,
h3 {
    font-weight: 800;
}

a {
    color: #d9d9d9;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.text-gradient {
    background: linear-gradient(223deg, #237249 0%, #35c66b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    padding: 20px 80px;
    display: inline-block;
    border-radius: 83px;

    text-align: center;
    background: linear-gradient(210deg, #237249 0%, #35c66b 100%);
    font-weight: 639;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: #fff;
}

.btn {
    padding: 20px 80px;
    display: inline-block;
    border-radius: 83px;
    text-align: center;
    background: linear-gradient(210deg, #237249 0%, #35c66b 100%);
    font-weight: 639;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: #fff;
    transition: all 0.3s ease;
    /* плавный переход */
}

.btn:hover {
    background: linear-gradient(210deg, #35c66b 0%, #237249 100%);
    /* инверсия градиента */
    transform: scale(1.05);
    /* слегка увеличиваем кнопку */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* тень при наведении */
}



/* Header */
.header {
    padding: 50px 0;
}

.header .container {
    display: flex;
    align-items: baseline;
    gap: 95px;
}

.logo {
    font-weight: 800;
    font-size: 37px;
    letter-spacing: -0.03em;
}

.header__list {
    display: flex;
    gap: 95px;
}

.header__link {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* Header */

/* Main */

.main {}

/* Main */

/* Welcome-section */

.welcome .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.welcome__desc {
    max-width: 570px;
}

.title {
    font-size: 80px;
    line-height: 109%;
    letter-spacing: -0.03em;
    color: #fff;
}

.title span {
    background: linear-gradient(223deg, #237249 0%, #35c66b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome__title {
    position: relative;
    margin-bottom: 55px;
}

.welcome__title::before {
    content: "";

    position: absolute;
    left: 80px;
    top: 40px;
    z-index: -5;

    display: block;
    width: 140px;
    height: 140px;

    border-radius: 100%;
    background: linear-gradient(245deg, rgba(35, 114, 73, 0.55) 0%, rgba(53, 198, 107, 0.73) 51.85%);
    filter: blur(90px);
}

.welcome__text {
    margin-bottom: 55px;
}

.welcome__btns-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 55px;
}

.btn {
    padding: 20px 80px;
    display: inline-block;
    border-radius: 83px;

    text-align: center;
    background: linear-gradient(210deg, #237249 0%, #35c66b 100%);
    font-weight: 639;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: #fff;

    border: none;
    cursor: pointer;
}

.link {
    padding: 20px 55px;
    border-radius: 83px;
    border: 1.02px solid #dadada;

    font-size: 24px;
    letter-spacing: -0.03em;

    transition: all 0.3s ease;
}


.link:hover {
    background: #dadada;
    color: #237249;
    transform: scale(1.05);
}

.stats {
    display: flex;
    gap: 45px;
}

.stats__item {
    width: 126px;
}

.stats__item p {
    line-height: 144%;
}

.stats__num {
    font-size: 62px;
    letter-spacing: -0.03em;
    color: #fff;
}

.stats__num::after {
    content: "+";
    background: linear-gradient(244deg, #237249 47.63%, #35c66b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome__img-wrapper {
    position: relative;
    padding-right: 60px;
}



.welcome__img-wrapper::before {
    content: "";
    width: 860px;
    height: 620px;

    position: absolute;
    right: -230px;
    bottom: -180px;
    z-index: -10;

    background-image: url("./images/icons/lines.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.welcome__img-wrapper::after {
    content: "";

    position: absolute;
    right: 130px;
    bottom: 60px;
    z-index: -5;

    width: 300px;
    height: 300px;

    border-radius: 100%;
    background: linear-gradient(245deg, rgba(35, 114, 73, 0.55) 0%, rgba(53, 198, 107, 0.73) 51.85%);
    filter: blur(170px);
}


.welcome__img {
    width: 470px;
    animation: moveCup 1s infinite alternate ease-in-out;
}

@keyframes moveCup {
    0% {
        transform: none;
    }

    100% {
        transform: translateY(-40px);
    }
}

/* Welcome-section */


/* Benefits-section */

.benefits {
    margin-top: 110px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 135px;
}


.benefits__container {
    position: relative;

    max-width: 1030px;
    padding-top: 55px;
    padding-bottom: 25px;

    display: flex;
    justify-content: space-around;

    border-radius: 46px;
    background: linear-gradient(230deg, #fff 3.94%, #e5e5e5 64.08%, #fbfbfb 88.62%);
}

.benefits__container::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 20px;
    z-index: -5;
    width: 250px;
    height: 250px;
    border-radius: 100%;
    background: linear-gradient(245deg, rgba(35, 114, 73, 0.55) 0%, rgba(53, 198, 107, 0.73) 51.85%);
    filter: blur(100px);
}

.benefits__container::after {
    white-space: pre-wrap;
    content: "we\Ahave";
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 200px;
    height: 200px;

    transform: translate(-50%, -50%);
    font-weight: 500;
    font-size: 32px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;


    background-image: url("./images/icons/star.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.benefits__item {
    max-width: 220px;
    text-align: center;
}

.benefits__img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;

}

.benefits__img-wrapper::before {
    content: "";

    display: block;
    width: 150px;
    height: 150px;


    border-radius: 100%;
    background: linear-gradient(245deg, #237249 0%, #35c66b 100%);
    box-shadow: 0 4px 41px 0 rgba(0, 0, 0, 0.39);
}

.benefits__icon {
    width: 146px;

    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;

    transform: translate(-50%, -50%);

}

.benefits__heart {
    top: calc(50% + 10px);
    left: calc(50% + 5px);
}

.benefits__rocket {
    width: 210px;
    top: calc(50% + 10px);
    left: calc(50% + -10px);
}

.benefits__money {
    width: 210px;
    top: calc(50% + 10px);
    left: calc(50% + -10px);

}

.benefits__title {
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 32px;
    color: #121517;
}

.benefits__desc {
    color: rgba(18, 21, 23, 0.9);
}

/* Benefits-section */


/* history-section */

.history {
    margin-top: 135px;
    padding-bottom: 25px;
}

.history .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.history__img-wrapper {
    position: relative;
    display: flex;
    box-shadow: -14px 26px 65px 0 rgba(0, 0, 0, 0.39);
}

.history__img-wrapper::before {
    content: "";
    position: absolute;
    top: 25px;
    left: -35px;
    width: 100%;
    z-index: -10;
    height: 100%;
    clip-path: polygon(67% 0, 100% 25%, 100% 100%, 0 100%, 0 0);
    background: #237249;
}

.history__img {
    width: 465px;
    box-shadow: -14px 26px 65px 0 rgba(0, 0, 0, 0.39);
    clip-path: polygon(67% 0, 100% 25%, 100% 100%, 0 100%, 0 0);
}

.history__text {
    position: relative;
    max-width: 460px;
}


.history__title {
    margin-bottom: 65px;
}

.history__title {
    position: relative;
}

.history__title::before {
    content: "";

    position: absolute;
    right: 60px;
    top: 30px;
    z-index: -5;

    display: block;
    width: 140px;
    height: 140px;

    border-radius: 100%;
    background: linear-gradient(245deg, rgba(35, 114, 73, 0.55) 0%, rgba(53, 198, 107, 0.73) 51.85%);
    filter: blur(90px);
}

.history__desc {
    margin-bottom: 65px;
}

.history__text::before {
    content: "";
    width: 920px;
    height: 670px;

    position: absolute;
    right: -145px;
    bottom: -290px;
    z-index: -10;

    background-image: url("./images/icons/lines.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(37deg);
}


/* history-section */

/* Products-section */
.products {
    margin-top: 100px;
}



.text-row {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 65px;
}


.text-row__title {
    max-width: 400px;
    position: relative;
}

.text-row__title::before {
    content: "";

    position: absolute;
    right: 60px;
    top: 20px;
    z-index: -5;

    display: block;
    width: 140px;
    height: 140px;

    border-radius: 100%;
    background: linear-gradient(245deg, rgba(35, 114, 73, 0.55) 0%, rgba(53, 198, 107, 0.73) 51.85%);
    filter: blur(90px);
}


.text-row__desc {
    width: 450px;
}

.products__cards {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    position: relative;

    width: 270px;
    padding: 30px;
    padding-top: 50px;

    text-align: center;
    background-color: #121517;

    border-radius: 30px;
}

.card::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -5;
    background: rgb(218, 218, 218);
    background: linear-gradient(110deg, rgba(218, 218, 218, 0.7) 0%, rgba(218, 218, 218, 0.07) 42%, rgba(218, 218, 218, 0.7) 100%);

    border-radius: 30px;
}

.card:hover::before {
    background: rgb(35, 114, 73);
    background: linear-gradient(260deg, rgba(35, 114, 73, 1) 0%, rgba(53, 198, 107, 1) 100%);
}

.card:hover .card__img {
    transform: translateY(-5px);
}

.card__img-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.card__img-wrapper::before {
    content: "";
    display: inline-block;
    width: 190px;
    height: 190px;

    border-radius: 100%;
    background: linear-gradient(245deg, #237249 0%, #35c66b 100%);
    box-shadow: 0 4px 41px 0 rgba(0, 0, 0, 0.39);
}

.card__img {
    position: absolute;
    top: -30px;
    left: 0px;

    width: 180px;

    filter: drop-shadow(0 4px 46px rgba(0, 0, 0, 0.48));
    transition: transform 0.5s;
}



.card__title {
    font-weight: 500;
    font-size: 32px;
    line-height: 163%;
    color: #fff;
    padding-bottom: 20px;
}

.card__desc {
    padding-bottom: 10px;
}

.card__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 30px;
}

.card__price {
    font-weight: 500;
    font-size: 32px;
    color: #fff;

}



.card__btn {
    padding: 15px 0;
    width: 185px;
    font-size: 17px;
}

/* Products-section */


/* Events-section */

.text-row.text-row--reverse {
    flex-direction: row-reverse;
}

.events {
    margin-top: 100px;
}


.event__title {
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 32px;
    line-height: 109%;
    color: #fff;
    margin-bottom: 50px;
    max-width: 294px;
    /* padding-top: 45px; */
}


.events__desc {}

.events__inner-wrapper {
    display: grid;
    gap: 25px;
    grid-auto-rows: 260px;
    grid-template-columns: 1fr 0.5fr 0.5fr 1fr;
    grid-template-areas: "price price kitchen kitchen"
        "free social social choose";
    position: relative;
}

.events__inner-wrapper::before {
    content: "";
    width: 860px;
    height: 620px;

    position: absolute;
    top: -410px;
    left: -610px;
    z-index: -10;

    background-image: url("./images/icons/lines.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    transform: rotate(410deg);
}

.text-row__title {
    position: relative;
}

.text-row__title::after {
    content: "";

    position: absolute;
    bottom: 60px;
    right: 20px;
    z-index: -5;

    display: block;
    width: 140px;
    height: 140px;

    border-radius: 100%;
    background: linear-gradient(245deg, rgba(35, 114, 73, 0.55) 0%, rgba(53, 198, 107, 0.73) 51.85%);
    filter: blur(90px);
}


.event {
    padding: 45px 30px 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 30px;
}




.event__btn {
    padding: 20px 50px;
    display: inline-block;
}

.event--price {
    background-image: url("./images/events/1.png");
    grid-area: price;
}

.event--kitchen {
    background-image: url("./images/events/2.png");
    grid-area: kitchen;
}

.event--free {
    background-image: url("./images/events/3.png");
    grid-area: free;
}

.event--social {
    background-image: url("./images/events/4.png");
    grid-area: social;
}

.event--choose {
    background-image: url("./images/events/5.png");
    grid-area: choose;
}

/* Events-section */


/* Contacts-section */
.contacts {
    padding-top: 130px;
    overflow: hidden;
    padding-bottom: 100px;
}

.contacts .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contacts__text {
    width: 390px;
}

.contacts__title {
    margin-bottom: 50px;
}

.contacts__desc {
    margin-bottom: 50px;
}

.contacts__phone {
    display: flex;
    align-items: center;
    gap: 25px;
    font-weight: 500;
    font-size: 32px;
    color: #fff;
}

.contacts__phone::before {
    display: inline-block;
    content: "";
    background-image: url("./images/icons/phone.png");
    background-size: contain;
    background-position: center;
    height: 45px;
    width: 45px;
}

.contacts__img-wrapper {
    position: relative;
}

.contacts__img-wrapper::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 30px;
    z-index: -5;
    width: 120px;
    height: 120px;
    border-radius: 100%;
    background: linear-gradient(245deg, rgba(35, 114, 73, 0.55) 0%, rgba(53, 198, 107, 0.73) 51.85%);
    filter: blur(90px);
}

.contacts__img-wrapper::after {
    content: "";
    width: 920px;
    height: 670px;
    position: absolute;
    right: -245px;
    bottom: -360px;
    z-index: -15;
    background-image: url(./images/icons/lines.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(17deg);
}

.contacts__img-inner-wrapper {
    position: relative;
    padding-right: 35px;
}

.contacts__img-inner-wrapper::before {
    content: "";
    width: calc(100% - 35px);
    height: 100%;
    position: absolute;
    bottom: -25px;
    right: 0;
    z-index: -10;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 26%);
    background: #237249;
}

/* Текст we have */
.contacts__img-inner-wrapper::after {
    content: "we\Ahave";
    white-space: pre-wrap;
    position: absolute;
    top: 55px;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    width: 250px;
    height: 250px;
    font-weight: 500;
    font-size: 38px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    transform: translate(-50%, -50%);
    background-image: url(./images/icons/star.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.contacts__img {
    width: 350px;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 26%);
}


/* Contacts-section */



/* Footer */
.footer {
    background: #0b0c0d;
    padding: 40px 0;
}

.footer .container {}

.footer__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 85px;
}

.footer__logo {}

.footer__nav {
    display: flex;
    gap: 80px;
}

.footer__nav-link {
    letter-spacing: -0.01em;
    color: rgba(187, 179, 179, 0.43);
}

.footer__nav-link:nth-child(1) {
    color: #bbb3b3;
}

.footer__nav-col {
    display: flex;
    flex-direction: column;
}

.footer__up-link {
    width: 85px;
    height: 85px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    border-radius: 29px;
    border: 1.5px solid transparent;
    background: linear-gradient(#0b0c0d, #0b0c0d) padding-box,
        linear-gradient(-30deg, #237249, #35C66B) border-box;
}

.footer__arrow {
    height: 35px;
}

.footer__phone {
    font-weight: 500;
    font-size: 26px;
    background: linear-gradient(245deg, #237249 0%, #35c66b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */


/* Adaptive for Tablet */

@media (max-width: 1140px) {
    .benefits__container::after {
        left: 50px;
    }

    .welcome__img-wrapper {
        padding-right: 0;
    }



    .events__inner-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "price price"
            "free social"
            "kitchen choose";
    }

}

@media (max-width: 1000px) {
    .footer__nav {
        gap: 40px;
    }

    .welcome__img {
        width: 280px;
    }

    .welcome .container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .welcome__img-wrapper::before {
        width: 550px;
        height: 550px;
        position: absolute;
        right: -150px;
        bottom: -150px;
    }

    .history .container {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .history {
        text-align: center;
    }

    .history__text::before {
        right: -255px;
    }

    .history__img {
        width: 450px;
        height: 400px;
        object-fit: contain;
    }

    .text-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .text-row.text-row--reverse {
        flex-direction: column;
    }

    .text-row__title::before {
        right: auto;
        left: 50px;
    }

    .hide-text-mobile {
        display: none;
    }
}


@media(max-width:850px) {
    .contacts {
        text-align: center;
    }

    .contacts .container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 50px;
    }

    .contacts__img {
        width: 450px;
        height: 340px;
        object-fit: cover;
    }

    .contacts__img-inner-wrapper::after {
        left: auto;
        right: -200px;
        top: 0;
    }

    .contacts__img-wrapper::after {
        transform: rotate(33deg);
        bottom: -240px;
    }

    .footer__row {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 40px;
        margin-bottom: 40px;
    }

    .footer__nav {
        display: flex;
        width: 100%;
        order: 1;
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer__nav-col {
        width: calc(50% - 15px);
    }

    .events__inner-wrapper {
        content: none;
    }

    .header__burger {
        display: none;
    }

}

/* Adaptive for Tablet */
.header__burger {
    display: none;
}

/*  Adaptive for Phone */
@media (max-width:740px) {
    body {
        font-size: 14px;
    }

    .header__list {
        display: none;
    }

    .header__burger {
        display: block;
    }

    .header__burger img {
        display: block;
        width: 35px;
        height: 35px;
    }

    .header__logo {
        font-size: 22px;
    }

    .header .container {
        justify-content: space-between;
    }

    .welcome__img {
        width: 250px;
    }

    .welcome__img-wrapper::before {
        width: 420px;
        height: 420px;
        right: -100px;
        bottom: -100px;
    }

    .welcome {
        margin-top: 10px;
    }

    .title {
        font-size: 48px;
    }

    .welcome__title {
        margin-bottom: 35px;
    }

    .welcome__text {
        margin-bottom: 35px;

    }

    .btn {
        font-size: 16px;
        align-items: center;
        padding: 15px 50px;
        border-radius: 56px;
    }

    .link {
        font-size: 16px;
        padding: 15px 35px;
        border-radius: 56px;

    }

    .stats__num {
        font-size: 41px;
    }

    .stats__item {
        width: 85px;
    }

    .welcome__title::before {

        left: 140px;
        top: 30px;
        z-index: -5;

        display: block;
        width: 80px;
        height: 80px;

        border-radius: 100%;
        background: linear-gradient(245deg, rgba(35, 114, 73, 0.55) 0%, rgba(53, 198, 107, 0.73) 51.85%);
        filter: blur(90px);
    }

    .welcome__img-wrapper::after {

        right: 90px;
        bottom: 80px;
        z-index: -5;

        width: 130px;
        height: 130px;

        filter: blur(60px);
    }

    .benefits {
        margin-top: 65px;

    }

    .benefits__container {
        flex-direction: column;
        align-items: center;
        max-width: 220px;
        border-radius: 27px;
        gap: 25px;
    }

    .benefits__icon {
        width: 85px;
    }

    .benefits__img-wrapper::before {
        width: 87px;
        height: 87px;
    }

    .benefits__heart {
        top: calc(50% + 3px);
        left: calc(50% + 3px);
    }

    .benefits__rocket {
        width: 127px;
    }

    .benefits__money {
        width: 123px;
    }

    .benefits__title {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .benefits__img-wrapper {
        margin-bottom: 10px;
    }

    .benefits__item {
        max-width: 140px;
        margin-bottom: 25px;
    }

    .benefits__desc {
        font-size: 11px;
    }

    .benefits__container::after {
        width: 120px;
        height: 120px;
        font-size: 18px;
        left: 10px;
    }

    .benefits__container::before {
        left: auto;
        right: -10px;
        top: -10px;
        width: 100px;
        height: 100px;
        border-radius: 100%;
        background: linear-gradient(245deg, rgba(35, 114, 73, 0.55) 0%, rgba(53, 198, 107, 0.73) 51.85%);
        filter: blur(40px);
    }

    .history {
        margin-top: 60px;
        padding-bottom: 0;
    }

    .history__img {
        width: 340px;
        height: 270px;
    }

    .history__img-wrapper::before {
        top: 15px;
    }

    .history .container {
        gap: 40px;
    }

    .history__title {
        margin-bottom: 35px;
    }

    .history__desc {
        margin-bottom: 35px;
    }

    .products {
        margin-top: 65px;
    }

    .card {
        padding: 20px;
        padding-top: 40px;
        width: 180px;
    }

    .card__img {
        width: 115px;
        left: 5px;
    }

    .card__img-wrapper {
        margin-bottom: 10px;
    }

    .card__img-wrapper::before {
        width: 120px;
        height: 120px;
    }

    .card__title {
        font-size: 22px;
    }

    .card__price {
        font-size: 22px;
    }

    .card__btn {
        padding: 10px 0;
        width: 100%;
        font-size: 11px;
    }

    .card__row {
        margin-bottom: 15px;
    }

    .products__cards {
        gap: 25px 15px;
    }

    .events {
        margin-top: 85px;
    }

    .text-row {
        margin-bottom: 40px;
    }

    .event__title {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
        font-size: 18px;
        max-width: 160px;
    }

    .events__inner-wrapper::before {
        display: none;
    }


    .event__btn {
        font-size: 14px;
        padding: 10px 30px;
    }

    .event {
        padding: 20px 5px;
        text-align: center;
    }

    .events__inner-wrapper {
        grid-auto-rows: auto;
        grid-template-columns: 1fr 1fr;
        gap: 15px 25px;
        grid-template-areas: "price price"
            "free social"
            "kitchen kitchen";
    }

    .event--choose {
        display: none;
    }

    .text-row__desc {
        width: auto;
        max-width: 450px;
    }

    .contacts__img {
        width: 340px;
        height: 240px;
    }

    .contacts__img-inner-wrapper::before {
        bottom: -15px;
    }

    .contacts__img-wrapper::after {
        width: 630px;
        height: 630px;
        right: -135px;
        bottom: -260px;
    }

    .contacts {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .contacts__img-inner-wrapper::after {
        font-size: 28px;
        right: -140px;
        width: 200px;
        height: 200px;
    }

    .contacts__title {
        margin-bottom: 40px;
    }

    .contacts__desc {
        margin-bottom: 40px;
    }

    .contacts__phone {
        font-size: 20px;
        justify-content: center;

    }

    .contacts__phone::before {
        width: 30px;
        height: 30px;
    }

    .contacts__text {
        width: auto;
        max-width: 390px;
    }

    .contacts__img-wrapper::before {
        left: auto;
        right: -50px;
        top: 80px;
        filter: blur(60px);
    }

    .contacts__desc::before {
        content: none;
    }

    .footer {
        padding: 20px;
    }

    .logo {
        font-size: 24px;
    }

    .footer__up-link {
        width: 55px;
        height: 55px;
        border-radius: 18px;
    }

    .footer__arrow {
        height: 27px;
    }

    .footer__phone {
        font-size: 16px;
    }
}

@media (max-width:470px) {
    .history__text::before {
        width: 550px;
        height: 550px;
        right: -45px;
        bottom: -240px;

    }
    .btn{
        padding-left: 30px;
        padding-right: 30px;
    }
}

/*  Adaptive for Phone */