/* montserrat-300 - latin_cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: local('Montserrat Light'), local('Montserrat-Light'),
         url('../fonts/Montserrat-Light.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
/* montserrat-regular - latin_cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'),
       url('../fonts/Montserrat-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* montserrat-500 - latin_cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: local('Montserrat Medium'), local('Montserrat-Medium'),
       url('../fonts/Montserrat-Medium.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* montserrat-600 - latin_cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
       url('../fonts/Montserrat-SemiBold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.2;
    color: #000000;
}

a {
    text-decoration: none;
}

a:hover, a:focus, a:active {
    text-decoration: none;
}

.wrapper {
    max-width: 1140px;
    margin: 0 auto;
}

.purple {
    color: #801F82;
}

.yellow {
    color: #E7E06D;
}

.button {
    max-width: 241px;
    padding: 23px 0;
    background: linear-gradient(274.46deg, #801F82 -25.6%, #A943A2 100%);
    border-radius: 60px;
    color: #ffffff ;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    transition: all .2s;
}

.button:hover {
    cursor: pointer;
    transform: scale(1.05);
    transition: all .3s;
}

/* Header styles start */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #ffffff;
    transition: .3s linear;
}

.header_active {
    background: rgba(54, 54, 54, 0.9);
    z-index: 999;
}

.header__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    transition: padding .3s;
}

.header_active .header__wrapper {
    padding: 15px 0;
}

.header__logo a {
    font-weight: 600;
    font-size: 34px;
    line-height: 41px;
    color: #A842A1;
}

.header__logo a span {
    color: #E7E06D;
}

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

    font-size: 18px;
}

.header__nav-lang {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-right: 30px;
}

.header__nav-lang:hover {
    cursor: pointer;
}

.header__nav-lang_arrow {
    transition: ease .5s;
}

.header__nav-lang_arrow.open {
    transform: rotate(180deg);
    transition: ease .5s;
}

.header__nav-lang p {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    margin: 0 6px;
}

.header__nav-lang_menu {
    visibility: hidden;
    position: absolute;
    top: 39px;
    left: 0;
    width: 100px;
    background: #FFFFFF;
    border-radius: 10px;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;
}

.header__nav-lang_menu.open {
    visibility: visible;
    opacity: 1;
}

.header__nav-lang_menu::before {
    content: '';
    position: absolute;
    top: -2.84px;
    left: calc(50% - 2.84px);
    width: 5.68px;
    height: 5.68px;
    background: #ffffff;
    transform: rotate(45deg);
}

.header__nav-lang_menu-item {
    padding: 15px 0;
    text-align: center;
}

.header__nav-lang_menu hr {
    margin: 0 auto;
    padding: 0;
    border: none;
    height: 1px;
    width: 68px;
    background-color: #F5F5F5;
    color: #F5F5F5;
}

.header__nav-lang_menu-item a {
    font-weight: 600;
    font-size: 13px;
    line-height: 15px;
    color: #363636;
}

.header__nav-lang_menu-item a:hover,
.header__nav-lang_menu-item a:focus {
    color: #801F82;
    transition: all .2s;
}

.header__nav-phone a {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    margin-right: 30px;
    color: #ffffff;
}

.header__nav-phone a:hover,
.header__nav-phone a:focus,
.header__nav-phone a:active {
    color: #ffffff;
}

.header__nav-button .button {
    font-weight: 500;
    font-size: 19px;
    line-height: 23px;
    padding: 22px 28px;
    background: linear-gradient(270.98deg, #801F82 -24.69%, #A943A2 132.85%), #C4C4C4;
    border-radius: 50px;
    transition: transform .2s;
}

.header__nav-button .button:hover {
    cursor: pointer;
    transform: scale(1.05);
    transition: transform .3s;
}

/* Header styles end */



/* Intro styles start */

.intro {
    height: 100%;
    background-image: url(../img/intro_background.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #ffffff;
    padding-top: 215px;
}

.intro__wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.intro-title {
    font-weight: 600;
    font-size: 65px;
    line-height: 80px;
    margin-bottom: 20px;
}

.intro-subtitle {
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 30px;
}

.intro-button {
    margin-bottom: 45px;
}

.intro-groups {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 103px;
}

.intro-group {
    width: 89px;
    height: 89px;
    border: solid 7px rgba(169, 67, 162, 0.4);
    border-radius: 50%;
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
    margin-right: 31px;
}

.intro-group>div {
    background: linear-gradient(304.29deg, #801F82 -14.67%, #A943A2 113.08%), #A943A2;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.intro-group:last-child {
    margin-right: 0px;
}

.intro-group span {
    font-weight: 300;
    font-size: 15px;
}

/* Intro styles end */



/* Offer styles start */
.offer {
    padding-top: 60px;
}

.offer__info {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    background-image: url(../img/gymnast-red.png);
    background-repeat: no-repeat;
    background-position: center right;
}

.offer__info-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 65px;
    color: #801F82;
    margin-bottom: 30px;
}

.offer__info-subtitle {
    font-weight: 500;
    font-size: 22px;
    line-height: 27px;
    color: #801F82;
    margin-bottom: 65px;
}

.offer__info__gym {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.offer__info__gym:last-child {
    margin-bottom: 60px;
}

.offer__info__gym-icon {
    margin-right: 30px;
}

.offer__info__gym-text {
    line-height: 38px;
}

.offer__info__gym-text h3 {
    font-size: 22px;
    font-weight: 500;
    color: #000000;
}

.offer__info__gym-text p {
    font-size: 18px;
    font-weight: normal;
    color: #363636;
}

.offer__about {
    font-size: 18px;
    font-weight: normal;
    color: #363636;
    line-height: 30px;
    text-align: justify;
    margin-bottom: 60px;
}

.offer__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.offer__card {
    max-width: 555px;
    padding: 50px 20px 50px 50px;
    border-radius: 25px;
    background-repeat: no-repeat;
    background-size: cover;
}

.offer__card.health-background {
    background-image: url(../img/health-background.png);
}

.offer__card.art-background {
    background-image: url(../img/art-background.png);
}

.offer__card-title {
    font-weight: 600;
    font-size: 30px;
    line-height: 37px;
    color: #ffffff;
    margin-bottom: 30px;
}

.offer__card-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.offer__card-list__item {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    background: url(../img/correct.svg) no-repeat left 5px;
    padding-left: 30px;
    margin-bottom: 20px;
}

.offer__card-list__item:last-child {
    margin-bottom: 0;
}

.offer__card-list__item img {
    margin-right: 10px;
}

/* Offer styles end */



/* Online-training styles start */

.online-training {
    padding: 110px 0 60px 0;
}

.online-training__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.online-training__row:last-child {
    margin-bottom: 0;
}

.online-training__video {
    max-width: 555px;
}

.online-training__video video {
    width: 100%;
    max-height: 380px;
    border-radius: 25px;

    outline: none;
    border: none;
}

.online-training__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 555px;
}

.online-training__info .button {
    margin-top: auto;
}

.online-training__info-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 65px;
    color: #801F82;
    margin-bottom: 20px;
}

.online-training__info-text {
    font-weight: 500;
    font-size: 22px;
    line-height: 27px;
    color: #801F82;
    text-align: justify;
}

.online-training__info-text p {
    font-weight: normal;
    font-size: 20px;
    line-height: 35px;
    color: #000000;
    margin-top: 20px;
}

.online-training__info-text a {
    color: #801F82;
    outline: none;
    transition: all .2s;
}

.online-training__info-text a:hover,
.online-training__info-text a:active,
.online-training__info-text a:focus {
    color: #a62aa8;
    transition: all .2s;
}

.online-training__row:first-child .online-training__info-text p {
    margin-bottom: 20px;
}

.online-training__info-list {
    list-style: decimal;
    padding-left: 20px;
    margin-top: 20px;
}

.online-training__info-list li {
    color: #E7E06D;
    font-weight: normal;
    font-size: 20px;
    line-height: 35px;
    margin-bottom: 15px;
}

.online-training__info-list li:last-child {
    margin-bottom: 0px;
}

.online-training__info-list li span {
    color: #000000;
}

.online-training__image img {
    border-radius: 25px;
    max-width: 555px;
}

/* Online-training styles end */



/* Trainers styles start */

.trainers {
    padding: 60px 0;
}

.trainers-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 65px;
    color: #801F82;
    margin-bottom: 30px;
}

.trainer__card {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.trainer__card:last-child {
    margin-bottom: 0;
}

.trainer__card-icon {
    margin-right: 30px;
}

.trainer__card-info {
    font-size: 20px;
    line-height: 35px;
    color: #363636;
}

.trainer__card-info span {
    color: #DAD467;
}

.trainer__video {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 22px;
    line-height: 27px;
    color: #801F82;
}

.trainer__video a {
    font-weight: normal;
    font-size: 20px;
    line-height: 25px;
    color: #363636;
    margin-top: 15px;
}

.trainer__video a:hover,
.trainer__video a:focus,
.trainer__video a:active {
    color: #801F82;
}

/* Trainers styles end */



/* About styles start */

.about {
    padding: 60px 0;
    background-image: url(../img/about-background.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.about-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 49px;
    color: #ffffff;
    margin-bottom: 30px;
}

.about-subtitle {
    font-weight: 500;
    font-size: 22px;
    line-height: 38px;
    color: #ffffff;
    margin-bottom: 15px;
}

.about__list {
    list-style: disc;
    padding-left: 20px;
}

.about__list-item {
    color: #E7E06D;
    font-weight: 300;
    font-size: 20px;
    line-height: 35px;
    margin-bottom: 15px;
}

.about__list-item:last-child {
    margin-bottom: 0px;
}

.about__list-item span {
    color: #ffffff;
}

/* About styles end */



/* Gallery styles start */

.gallery {
    padding-top: 60px;
}

.gallery-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 65px;
    color: #801F82;
    margin-bottom: 30px;
}

.gallery__slider {
    position: relative;
}

.slider {
    position: relative;
    overflow: hidden;
}

.slider__wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

.slider__item {
    flex: 0 0 25%;
    max-width: 25%;
}

.slider__control {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    color: #fff;
    text-align: center;
    opacity: 0.8;
    height: 50px;
    transform: translateY(-50%);
    background: transparent;
}

.slider__control:hover,
.slider__control:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 1;
}

.slider__control_left {
    left: -65px;
}

.slider__control_right {
    right: -65px;
}

.slider__control::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 50px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
}

.slider__control_left::before {
    background-image: url(../img/gallery-left-arrow.svg);
}

.slider__control_right::before {
    background-image: url(../img/gallery-right-arrow.svg);
}

.slider__item>img {
    height: 273px;
    width: 273px;
    border-radius: 25px;
    object-fit: cover;
}

.slider__item>img:hover {
    cursor: pointer;
}

.gallery__fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.gallery__fullscreen.open {
    display: block;
}

.gallery__fullscreen__wrapper {
    width: 100%;
    height: 100%;
}

.gallery__fullscreen-photo {
    position: relative;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.gallery__fullscreen-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    line-height: 30px;
    color: #ffffff;
    opacity: 0.9;
}

.gallery__fullscreen-close:hover {
    cursor: pointer;
    opacity: 1;
}

.gallery__fullscreen-photo>img {
    max-height: 80%;
    max-width: 90%;
}

/* Gallery styles end */



/* Contacts styles start */

.contacts {
    padding-top: 68px;
    padding-bottom: 60px;
}

.contacts-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 49px;
    color: #801F82;
    margin-bottom: 15px;
}

.contacts-subtitle {
    font-size: 20px;
    line-height: 35px;
    color: #000000;
    margin-bottom: 30px;
}

.contacts__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contacts__form form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 560px;
}

.contacts__form form input {
    margin-bottom: 15px;
    font-family: 'Montserrat';
    font-size: 16px;
    line-height: 35px;
    padding: 10px 15px;
    border: 1px solid #801F82;
    border-radius: 15px;
    color: #801F82;
}

.contacts__form form input:hover,
.contacts__form form input:focus {
    outline: none;
}

.contacts__form form input::placeholder,
.contacts__form form textarea::placeholder {
    font-family: 'Montserrat';
    color: #801F82;
}

.contacts__form form textarea {
    height: 277px;
    margin-bottom: 15px;
    font-family: 'Montserrat';
    font-size: 16px;
    line-height: 35px;
    padding: 15px;
    border: 1px solid #801F82;
    border-radius: 15px;
    color: #801F82;
}

.contacts__form form textarea:hover,
.contacts__form form textarea:focus {
    outline: none;
}

.contacts__form form button {
    outline: none;
    text-decoration: none;
    border: none;
    text-align: center;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    background-color: #801F82;
    border-radius: 60px;
    padding: 21px 0;
    transition: background-color .2s;
}

.contacts__form form button:hover {
    cursor: pointer;
    background-color: #981f9a;
    transition: background-color .2s;
}

.contacts__info-data {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #363636;
    margin-bottom: 30px;
}

.contacts__info-data img {
    margin-right: 30px;
}

.contacts__info-phone_numbers {
    display: flex;
    flex-direction: column;
}

.contacts__info-phone_numbers a {
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #363636;
}

.contacts__info-phone_numbers a:hover,
.contacts__info-phone_numbers a:focus,
.contacts__info-phone_numbers a:active {
    color: #363636;
}

.contacts__info-map iframe {
    width: 490px;
}

/* Contacts styles end */



/* Footer styles start */

footer {
    padding: 58px 0;
    background: url(../img/footer-background.png) no-repeat;
    background-size: cover;
}

.footer__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer__logo-title {
    font-weight: 600;
    font-size: 34px;
    line-height: 41px;
    color: #801F82;
    margin-bottom: 15px;
}

.footer__logo-title span {
    color: #E7E06D;
}

.footer__logo-email {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
}

.footer__logo-email:hover,
.footer__logo-email:focus,
.footer__logo-email:active {
    color: #ffffff;
}

.footer__lang {
    align-self: flex-end;
    display: flex;
    flex-wrap: wrap;
}

.footer__lang-item {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    margin-right: 30px;
}

.footer__lang-item:last-child {
    margin-right: 0;
}

.footer__lang-item:hover {
    color: #801F82;
    transition: all .3s;
}

.footer__lang-item.active {
    color: #801F82;
}

.footer__phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: flex-end;
}

.footer__phones img {
    margin-right: 15px;
}

.footer__phones-numbers {
    display: flex;
    flex-direction: column;
}

.footer__phones-numbers a {
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: #ffffff;
}

.footer__phones-numbers a:hover,
.footer__phones-numbers a:focus,
.footer__phones-numbers a:active {
    color: #ffffff;
}

@media screen and (max-width: 1280px) {
    .wrapper {
        max-width: 1000px;
    }

    .intro {
        background-size: cover;
    }

    .offer__card {
        max-width: 480px;
    }

    .online-training__row {
        align-items: center;
    }

    .online-training__video,
    .online-training__info,
    .online-training__image img {
        max-width: 480px;
    }

    .slider__item>img {
        width: 240px;
    }

    .contacts__form form {
        width: 480px;
    }

    .contacts__info-map iframe {
        width: 480px;
    }
}

@media screen and (max-width: 1140px) {
    .wrapper {
        max-width: 900px;
    }

    .offer__card {
        max-width: 430px;
    }

    .online-training__video,
    .online-training__info,
    .online-training__image img {
        max-width: 430px;
    }

    .online-training__info-title {
        font-size: 30px;
        line-height: 45px;
    }

    .slider__item>img {
        width: 215px;
    }

    .contacts__form form {
        width: 430px;
    }

    .contacts__info-map iframe {
        width: 430px;
    }
}

@media screen and (max-width: 1030px) {
    .wrapper {
        max-width: 800px;
    }

    .offer__info {
        background-image: none;
    }

    .offer__card {
        max-width: 380px;
    }

    .online-training__video,
    .online-training__info,
    .online-training__image img {
        max-width: 380px;
    }

    .slider__item>img {
        width: 190px;
    }

    .contacts__form form {
        width: 380px;
    }

    .contacts__info {
        max-width: 380px;
    }

    .contacts__info-data {
        font-size: 16px;
    }

    .contacts__info-map iframe {
        width: 380px;
    }

    .footer__lang {
        flex-direction: column;
    }

    .footer__lang-item {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer__lang-item:last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 930px) {
    .wrapper {
        padding: 0 20px;
    }

    .header__nav-phone {
        display: none;
    }

    .offer__cards {
        justify-content: center;
    }

    .offer__card {
        max-width: 555px;
        margin-bottom: 30px;
    }

    .offer__card:last-child {
        margin-bottom: 0;
    }

    .online-training__row {
        flex-direction: column;
    }

    .online-training__info,
    .online-training__image img {
        max-width: 555px;
    }

    .online-training__video {
        margin-top: 30px;
        max-width: 555px;
        order: 2;
    }

    .online-training__row:last-child .online-training__image {
        order: 2;
    }

    .online-training__image {
        margin-top: 30px;
    }

    .online-training__info-title {
        font-size: 40px;    
        text-align: center;
    }

    .slider__item {
        display: flex;
        justify-content: center;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .slider__item>img {
        width: 95%;
    }

    .slider__control {
        width: 60px;
        height: 60px;
        opacity: 1;
        border-radius: 50%;
        background: rgba(54, 54, 54, 0.6);
    }

    .slider__control::before {
        width: 40px;
        height: 40px;
    }
    
    .slider__control_left {
        left: 25px;
    }
    
    .slider__control_right {
        right: 25px;
    }

    .contacts__form form {
        width: 360px;
    }

    .contacts__info {
        max-width: 360px;
    }

    .contacts__info-data img {
        margin-right: 20px;
    }

    .contacts__info-map iframe {
        width: 360px;
    }
}

@media screen and (max-width: 768px) {
    .intro-title {
        font-size: 45px;
        line-height: 60px;
    }
    
    .intro-subtitle {
        font-size: 24px;
        line-height: 29px;
    }

    .contacts__wrapper {
        flex-direction: column;
    }

    .contacts__form form  {
        width: 100%;
        margin-bottom: 30px;
    }

    .contacts__form form textarea {
        height: 172px;
    }

    .contacts__info {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 100%;
    }

    .contacts__info-data {
       flex-wrap: nowrap;
    }

    .contacts__info-map {
        width: 100%;
    }

    .contacts__info-map iframe {
        width: 100%;
    }

    footer {
        padding: 30px 0;
    }

    .footer__wrapper {
        flex-direction: column;
    }

    .footer__logo,
    .footer__phones {
        margin-bottom: 30px;
        align-self: center;
    }

    .footer__lang {
        flex-direction: row;
        order: 3;
        align-self: center;
    }

    .footer__lang-item {
        margin-right: 20px;
        margin-bottom: 0;
    }

    .footer__lang-item:last-child {
        margin-right: 0;
    }
}

@media screen and (max-width: 600px) {
    .header__nav-button {
        display: none;
    }

    .online-training__info,
    .online-training__image img {
        max-width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .intro-title {
        font-size: 35px;
        line-height: 50px;
    }

    .offer__info-title {
        font-size: 35px;
        word-break: break-word;
    }

    .offer__info__gym {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .offer__info__gym-text h3 {
        text-align: center;
    }

    .offer__card {
        padding: 20px;
        word-break: break-word;
    }

    .offer__card-title {
        font-size: 25px;
        text-align: center;
    }

    .trainer__card {
        flex-direction: column;
    }

    .trainer__card-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 400px) {
    .header__logo a {
        font-size: 28px;
    }

    .intro-title {
        font-size: 28px;
        line-height: 43px;
        word-break: break-word;
    }

    .intro-subtitle {
        font-size: 20px;
        line-height: 25px;
    }

    .intro-groups {
        justify-content: space-around;
    }

    .intro-group {
        margin: 0;
    }
}