.header {
  padding: 69px 40px;
  width: 100vw;
  background-color: #EEEEEE;
}

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

.header-logo a {
  display: flex;
  align-items: center;
}

.header-list {
  list-style-type: none;
  display: flex;
  gap: 10px;
}

.header-list__item a {
  color: var(--color-text);
  font-size: 16px;
  line-height: 20px;
  font-family: var(--inter-400);
  padding: 12px 30px;
}

.header-list__item:hover a {
  background-color: #fff;
  border-radius: 6px;
}

.header-menu__humberger {
  display: none;
  position: relative;
}

.header-menu__mob {
  position: relative;
}

.header-menu__mobile {
  padding: 20px;
  background-color: var(--color-white);
  border-radius: 30px;
  position: absolute;
  right: 0;
  top: 60px;
  min-width: 205px;
  min-height: 248px;
  visibility: hidden;
  transition: 0.3s;
  opacity: 0;
  z-index: 1;
}

.header-menu__mobile.active {
  visibility: visible;
  opacity: 1;
}

.header-list__mobile {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  list-style-type: none;
}

.header-item__mobile a {
  color: #A8A8A8;
  font-size: 16px;
  line-height: 20px;
  font-family: var(--inter-400);
  padding: 10px 20px;
}

.header-item__mobile:hover a {
  background-color: #F1F1F1;
  border-radius: 6px;
  color: var(--color-text);
}

.footer-wrap {
  border-top: 1px solid #999999;
  padding: 40px 0;
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1.4fr 0fr;
}

.footer-wrap__left span {
  font-family: var(--inter-400);
  font-size: 16px;
  line-height: 20px;
  color: #999999;
}

@font-face {
  font-family: "Inter-Regular";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter-Medium";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter-SemiBold";
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter-Bold";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --container-max-width: 1496px;
  --container-padding-x: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Gilroy-Medium, Arial, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --main-accent: #0392F2;
  --color-text: #444444;
  --inter-400: "Inter-Regular";
  --inter-500: "Inter-Medium";
  --inter-600: "Inter-SemiBold";
  --inter-700: "Inter-Bold";
  color: var(--color-text);
  overflow-x: hidden;
  width: 100vw;
  --color-white: #fff;
  --background-color: #EBEEF3;
}

.h2 {
  font-family: var(--inter-500);
  font-size: 40px;
  line-height: 44px;
  text-transform: uppercase;
  font-weight: 500;
}

.container {
  max-width: calc(var(--container-max-width) + var(--container-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

a {
  text-decoration: none;
}

.z-index {
  position: relative;
  z-index: -1;
}

.main {
  background-color: #EEEEEE;
  padding-top: 50px;
  margin-bottom: 60px;
}

.main-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.main-top__title {
  text-transform: uppercase;
  font-size: 128px;
  line-height: 98px;
  font-family: var(--inter-700);
  font-weight: 700;
}

.main-top__subtitle {
  line-height: 24px;
  font-size: 20px;
  max-width: 765px;
}

.main-top__text {
  margin-bottom: 40px;
}

.main-top__block {
  position: relative;
  display: flex;
}

.main-top__link {
  line-height: 20px;
  font-size: 16px;
  outline: none;
  border: none;
  padding: 32px 46px;
  background-color: var(--main-accent);
  font-family: var(--inter-600);
  color: var(--color-white);
  border-radius: 115px;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.main-top__img {
  width: 100%;
  height: 100%;
  animation: size-img 2s;
}

.big-title {
  min-height: 88px;
  margin-bottom: 120px;
}

.cards-first {
  min-height: 300px;
  margin-bottom: 60px;
}

.cards-first__wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 28px;
}

.cards-first__wrap a img {
  transition: transform .8s ease-in-out;
}

.cards-first__wrap a:hover img {
  transform: rotate(45deg);
}

.cards-first__card {
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  border-radius: 30px;
  min-height: 300px;
}

.cards-first__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cards-first__title {
  font-size: 32px;
  line-height: 36px;
  font-family: var(--inter-500);
  color: var(--color-text);
  font-weight: 500;
}

.cards-first__text {
  color: #999999;
  font-size: 20px;
  line-height: 24px;
  font-family: var(--inter-400);
}

.gray {
  background-color: var(--background-color);
  padding-block: 60px;
}

.for-masters__top {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.for-masters__link {
  line-height: 20px;
  font-size: 16px;
  outline: none;
  border: none;
  padding: 20px 30px;
  background-color: var(--main-accent);
  font-family: var(--inter-600);
  color: var(--color-white);
  border-radius: 139px;
}

.for-masters__wrap.top {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  margin-bottom: 28px;
}

.for-masters .masters-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: 30px;
  justify-content: space-between;
  min-height: 100%;
}

.masters-card.mob .masters-card__underText {
  display: none;
}

.for-masters .masters-card.long {
  flex-direction: row-reverse;
  max-width: 100%;
  max-height: 400px;
  min-height: 400px;
  position: relative;
}

.for-masters .masters-card__top {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  aspect-ratio: 1/1;
  border-radius: 30px 30px 0 0;
  width: 100%;
  max-height: 400px;
}

.for-masters .masters-card__top.long,
.for-users .users-card__top.long,
.for-playgrounds .playgrouns-card__top.long {
  border-radius: 0px 30px 30px 0px;
}

.for-masters .masters-card.mob {
  display: none;
}

.for-masters .masters-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
}

.for-masters .masters-card__title {
  font-size: 32px;
  line-height: 36px;
  font-family: var(--inter-500);
  font-weight: 500;
  max-width: 400px;
}

.for-masters .masters-card__text {
  font-size: 20px;
  line-height: 24px;
  font-family: var(--inter-400);
}

.for-masters__wrap.bottom {
  display: grid;
  gap: 28px;
  grid-template-columns: 988px 1fr;
}

.for-masters__wrap.bottom .masters-card:first-child .masters-card__top {
  display: flex;
}

.for-masters__wrap.bottom .masters-card:first-child .masters-card__bottom {
  max-width: 468px;
  min-width: 468px;
}

.for-masters__wrap.bottom .masters-card:first-child img {
  max-width: 480px;
  max-height: 400px;
}

.banner-first__wrap {
  position: relative;
  display: flex;
}

.banner-first__img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  animation: size-img 2s;
}

.banner-first__title {
  position: absolute;
  max-width: 757px;
  top: 43%;
  left: 3%;
}

.banner-first picture {
  display: flex;
  overflow: hidden;
}

.for-users__wrap.bottom {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
}

.for-users__block {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
  grid-template-columns: 988px 1fr;
}

.for-users .users-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: 30px;
  min-height: 689px;
}

.for-users .users-card__top {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  aspect-ratio: 1/1;
  border-radius: 30px 30px 0 0;
  width: 100%;
  max-height: 400px;
}

.for-users .users-card.long {
  flex-direction: row-reverse;
  max-width: 100%;
  max-height: 400px;
  min-height: 400px;
  position: relative;
}

.for-users .users-card__underText {
  position: absolute;
  text-transform: uppercase;
  font-family: var(--inter-500);
  font-size: 40px;
  line-height: 44px;
  text-transform: uppercase;
  font-weight: 500;
  left: 0;
  max-width: 900px;
  bottom: -200px;
}

.for-users .users-card__top.long {
  background-image: url("../img/card-6.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1/1;
  max-width: 480px;
}

.users-card.long, .playgrouns-card.long {
  justify-content: space-between;
}


.masters-card__top.long {
  max-width: 480px;
}

.for-users .users-card__bottom.long {
  max-width: 468px;
}

.for-users .users-card__top img {
  width: 100%;
  height: 100%;
}

.for-users .users-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
}

.for-users .users-card__title {
  font-size: 32px;
  line-height: 36px;
  font-family: var(--inter-500);
  font-weight: 500;
  max-width: 400px;
}

.for-users .users-card__text {
  font-size: 20px;
  line-height: 24px;
  font-family: var(--inter-400);
}

.banner-second, .banner-first {
  display: flex;
  justify-content: center;
}

.banner-second__wrap {
  position: relative;
  display: flex;
}

.banner-second__img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  animation: size-img 2s;
}

.banner-second__title {
  position: absolute;
  max-width: 740px;
  top: 43%;
  left: 3%;
}

.banner-second picture {
  display: flex;
  overflow: hidden;
}

.for-playgrounds__wrap.top {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
}

.for-playgrounds .playgrouns-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: 30px;
  min-height: 689px;
}

.for-playgrounds .playgrouns-card.mob {
  display: none;
}

.for-playgrounds .playgrouns-card__top {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  aspect-ratio: 1/1;
  border-radius: 30px 30px 0 0;
  width: 100%;
  max-height: 400px;
}

.for-playgrounds .playgrouns-card__top img {
  width: 100%;
  height: 100%;
}

.for-playgrounds .playgrouns-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
}

.for-playgrounds .playgrouns-card__title {
  font-size: 32px;
  line-height: 36px;
  font-family: var(--inter-500);
  font-weight: 500;
  max-width: 400px;
}

.for-playgrounds .playgrouns-card__text {
  font-size: 20px;
  line-height: 24px;
  font-family: var(--inter-400);
}

.for-playgrounds .playgrouns-card.long {
  flex-direction: row-reverse;
  max-width: 100%;
  max-height: 400px;
  min-height: 400px;
  position: relative;
}

.for-playgrounds .playgrouns-card__underText {
  position: absolute;
  text-transform: uppercase;
  font-family: var(--inter-500);
  font-size: 40px;
  line-height: 44px;
  text-transform: uppercase;
  font-weight: 500;
  left: 0;
  max-width: 900px;
  bottom: -200px;
}

.for-masters .masters-card__underText {
  position: absolute;
  text-transform: uppercase;
  font-family: var(--inter-500);
  font-size: 40px;
  line-height: 44px;
  text-transform: uppercase;
  font-weight: 500;
  left: 0;
  max-width: 900px;
  bottom: -200px;
}

.for-playgrounds .playgrouns-card__top.long {
  max-width: 480px;
}

.for-playgrounds .playgrouns-card__bottom.long {
  max-width: 468px;
}

.for-playgrounds__block {
  display: grid;
  gap: 28px;
  margin-top: 28px;
  grid-template-columns: 1fr 988px;
}

.consultation {
  padding: 60px 0 100px 0;
  min-height: 632px;
}

.consultation .consultation-wrap.active {
  visibility: visible;
}

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

.consultation-wrap__left {
  max-width: 544px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.consultation-wrap__block-text {
  display: flex;
  flex-direction: column;
  min-height: 108px;
}

.consultation-wrap__text {
  font-size: 32px;
  line-height: 36px;
  font-family: var(--inter-500);
  font-weight: 500;
}

.consultation-wrap span {
  font-family: var(--inter-400);
  font-size: 16px;
  line-height: 20px;
}

.consultation-wrap__right {
  max-width: 624px;
  width: 100%;
  display: flex;
}

.consultation-wrap__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.consultation-wrap__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: start;
}

.consultation-wrap__label {
  font-family: var(--inter-400);
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
}

.consultation-wrap__input {
  background-color: #EDEDED;
  padding: 20px 30px;
  width: 100%;
  font-family: var(--inter-400);
  font-size: 16px;
  line-height: 20px;
  border-radius: 139px;
  outline: none;
  border: none;
}

.consultation-wrap__input::-moz-placeholder {
  color: #999999;
  font-family: var(--inter-400);
  font-size: 16px;
  line-height: 20px;
}

.consultation-wrap__input::placeholder {
  color: #999999;
  font-family: var(--inter-400);
  font-size: 16px;
  line-height: 20px;
}

.consultation-wrap__button {
  width: 100%;
  text-align: center;
  padding-block: 20px;
  background-color: var(--main-accent);
  color: var(--color-white);
  font-family: var(--inter-600);
  font-size: 16px;
  line-height: 20px;
  border: none;
  border-radius: 139px;
  cursor: pointer;
}

.consultation-wrap__confirm {
  font-family: var(--inter-400);
  font-size: 16px;
  line-height: 20px;
}

.consultation-wrap__confirm a {
  text-decoration: underline;
  color: var(--color-text);
  text-underline-offset: 3px;
}

.scrolling-header,
.scrolling-main,
.scrolling-text {
  opacity: 100 !important;
}

.hidden-ani {
  opacity: 0;
  transition: opacity 2.5s;
}

.main-top__link {
  z-index: 1;
}

.main-top__subtitle.active {
  display: block;
}

.overflow-hidden {
  overflow: hidden;
}

.big-title__block.active {
  display: block;
}

.cards-first__wrap a:nth-child(2) {
  animation-delay: 0.5s;
}

.cards-first__wrap a:nth-child(3) {
  animation-delay: 1s;
}

.cards-first__wrap.active {
  display: grid;
}

.for-masters {
  min-height: 880px;
}

.for-users,
.for-playgrounds {
  min-height: 1617px;
}

.for-masters__top {
  min-height: 60px;
}

.consultation-wrap__text.active {
  visibility: visible;
}

.consultation-wrap span.active {
  visibility: visible;
}

.for-masters__top.active {
  visibility: visible;
}

.for-users__block.active,
.for-users__wrap.bottom.active,
.for-playgrounds__block.active,
.for-playgrounds__wrap.top.active {
  display: grid;
}

.for-users__block .hidden:nth-child(2) {
  animation-delay: 0.5s;
}

.for-users__wrap.bottom .hidden:nth-child(1) {
  animation-delay: 0s;
}

.for-users__wrap.bottom .hidden:nth-child(2) {
  animation-delay: 0.5s;
}

.for-users__wrap.bottom .hidden:nth-child(3) {
  animation-delay: 1s;
}

.for-playgrounds__wrap.top .hidden:nth-child(2) {
  animation-delay: 0.5s;
}

.for-playgrounds__wrap.top .hidden:nth-child(3) {
  animation-delay: 1s;
}

.for-playgrounds__block .hidden:nth-child(1) {
  animation-delay: 0.5s;
}

.for-playgrounds__block .hidden:nth-child(2) {
  animation-delay: 1s;
}

.for-masters__wrap.top.active,
.for-masters__wrap.bottom.active {
  display: grid;
}

.for-masters__wrap.top .hidden:nth-child(2) {
  animation-delay: 0.5s;
}

.for-masters__wrap.top .hidden:nth-child(3) {
  animation-delay: 1s;
}

.for-masters__wrap.top .hidden:nth-child(4) {
  animation-delay: 1.5s;
}

.for-masters__wrap.bottom .hidden:nth-child(1) {
  animation-delay: 0.5s;
}

.for-masters__wrap.bottom .hidden:nth-child(2) {
  animation-delay: 1s;
}

.banner-first__wrap.active {
  display: flex;
}

.consultation-wrap__right.active {
  display: flex;
}

.consultation-wrap__form .hidden:nth-child(4) {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@keyframes size-img {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1);
  }
}

@media screen and (max-width: 1527px) {

  .for-masters__wrap.top,
  .for-users__wrap.bottom,
  .for-playgrounds__wrap.top {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .masters-card__top.long {
    max-width: 100%;
  }

  .for-masters__wrap.bottom .hidden:nth-child(2) .masters-card .masters-card__top {
    background-image: url(../img/card-5-second.png) !important;
  }

  .users-card__top.long {
    background-image: url(../img/card-6-second.png) !important;
  }

  .for-users__block .hidden:last-child .users-card .users-card__top {
    background-image: url(../img/card-7-second.png) !important;
  }

  .for-masters .masters-card__top.long,
  .for-users .users-card__top.long,
  .for-playgrounds .playgrouns-card__top.long {
    border-radius: 30px 30px 0px 0px;
  }

  .for-users .users-card__top.long {
    width: 100%;
  }

  .for-masters__wrap.top .hidden:nth-child(4) {
    display: none;
  }

  .cards-first__wrap a:nth-child(3),
  .for-masters__wrap.top .hidden:nth-child(3),
  .for-masters__wrap.top .hidden:nth-child(4),
  .for-masters__wrap.bottom .hidden:nth-child(2),
  .for-playgrounds__wrap.top .hidden:nth-child(2),
  .for-playgrounds__wrap.top .hidden:nth-child(3),
  .for-playgrounds__block .hidden:nth-child(2),
  .for-users__wrap.bottom .hidden:nth-child(3),
  .for-users__wrap.bottom .hidden:nth-child(2),
  .for-masters__wrap.top .hidden:nth-child(2),
  .for-users__wrap.bottom .hidden:nth-child(1) {
    animation-delay: 0s;
  }

  .cards-first__wrap a:nth-child(2) {
    animation-delay: 0, 5s;
  }

  .cards-first__wrap {
    grid-template-columns: repeat(auto-fit, minmax(328px, 1fr));
  }

  .for-playgrounds__wrap.top .hidden:nth-child(4) {
    display: none;
  }

  .for-playgrounds__block .hidden:nth-child(1) {
    display: flex;
    order: 1;
  }

  .for-playgrounds__block .hidden .playgrouns-card.long {
    display: flex;
    order: -1;
  }

  .consultation-wrap {
    gap: 24px;
  }

  .masters-card__top img,
  .users-card__top img,
  .playgrouns-card__top img {
    max-height: 400px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 30px 30px 0 0;
  }

  .for-users .users-card,
  .for-playgrounds .playgrouns-card,
  .for-masters .masters-card {
    min-height: 100%;
    justify-content: flex-start;
  }

  .for-masters__wrap.bottom .hidden .masters-card:last-child {
    min-height: 100%;

  }

  .for-masters__wrap.bottom .masters-card:first-child {
    flex-direction: column;
  }

  .for-masters .masters-card.long {
    max-height: 100%;
  }

  .for-masters__wrap.bottom .masters-card:first-child .masters-card__bottom {
    max-width: 100%;
    min-height: 100%;
    min-width: 100%;
  }

  .for-masters__wrap.bottom .masters-card:first-child img {
    max-width: 100%;
  }

  .for-masters__wrap.bottom {
    grid-template-columns: 1fr 1fr;
  }

  .for-users__block {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-bottom: 100px;
  }

  .for-users .users-card.long {
    max-height: 100%;
    flex-direction: column;
    min-height: 100%;
  }

  .for-users .users-card__top.long {
    max-width: 100%;
  }

  .for-users .users-card__underText,
  .for-playgrounds .playgrouns-card__underText,
  .for-masters .masters-card__underText {
    font-size: 24px;
    line-height: 28px;
    bottom: -80px;
  }

  .for-playgrounds__block {
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  }

  .for-masters__wrap.bottom {
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    margin-bottom: 50px;
  }

  .for-playgrounds .playgrouns-card__top.long {
    max-width: 100%;
    width: 100%;
  }

  .for-playgrounds .playgrouns-card__bottom.long {
    max-width: 100%;
  }

  .for-playgrounds .playgrouns-card.long {
    flex-direction: column;
    max-height: 100%;
  }
}

@media screen and (max-width: 1300px) {

  .for-masters .masters-card__title,
  .for-users .users-card__title,
  .for-playgrounds .playgrouns-card__title {
    font-size: 24px;
    line-height: 28px;
  }

 

  .for-masters .masters-card__text,
  .for-users .users-card__text,
  .for-playgrounds .playgrouns-card__text {
    font-size: 16px;
    line-height: 20px;
  }
}

@media screen and (max-width: 1047px) {

  .for-masters__wrap.top .hidden:nth-child(4),
  .for-masters .masters-card.mob {
    display: flex;
  }



  .for-masters__wrap.bottom .hidden:nth-child(1) {
    display: none;
  }

  .for-playgrounds__wrap.top .hidden:nth-child(4),
  .for-playgrounds .playgrouns-card.mob {
    display: flex;
  }

  .for-playgrounds__block .hidden:nth-child(1) {
    display: none;
  }

  .for-playgrounds__block .hidden .playgrouns-card.long {
    margin-bottom: 100px;
  }

  .masters-card.mob .masters-card__underText {
    display: block;
  }

  .masters-card.mob {
    position: relative;
  }

  .for-masters__wrap.top {
    margin-bottom: 130px;
  }

   .for-masters__wrap.bottom .hidden:nth-child(2) .masters-card .masters-card__top {
    background-image: url(../img/card-5-third.png) !important;
  }

  .users-card__top.long {
    background-image: url(../img/card-6.png) !important;
  }

  .for-users__block .hidden:last-child .users-card .users-card__top {
    background-image: url(../img/card-7.png) !important;
  }
}

@media screen and (max-width: 1019px) {
  .for-users__block .hidden:nth-child(1) {
    animation-delay: 0.5s;
  }

  .cards-first__wrap a:nth-child(2) {
    animation-delay: 0s;
  }

  .for-users .users-card__bottom.long {
    max-width: 100%;
  }

  .for-masters__wrap.bottom {
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 991px) {
  .for-users .hidden .users-card.long .users-card__top img {
    min-height: 300px;
  }

  .big-title {
    margin-bottom: 40px;
    min-height: 168px;
  }

  .consultation-wrap {
    flex-direction: column;
  }

  .consultation-wrap__left,
  .consultation-wrap__right {
    max-width: 100%;
  }

  .header {
    padding: 40px 4px;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }

  .header-menu__humberger {
    width: 42px;
    height: 42px;
    background-color: #fff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1019607843);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .header-menu__icon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 17px 13px;
    transition: 0.5s;
  }

  .header-menu__icon.active {
    gap: 0px;
  }

  .header-menu__humberger.active .header-menu__line:first-child {
    transform: translateY(2px) rotate(225deg);
    transition: transform 0.4s ease-in-out;
    min-width: 14px;
  }

  .header-menu__humberger.active .header-menu__line:last-child {
    transform: translateY(0px) rotate(140deg);
    transition: transform 0.4s ease-in-out;
    min-width: 14px;
  }

  .header-menu__line {
    border: 1px solid #1A1A1A;
    width: 100%;
    transition: transform 0.4s ease-in-out;
  }

  .header-list {
    display: none;
  }

  .for-users .users-card__underText {
    bottom: -100px;
  }

  .for-users__block {
    margin-bottom: 130px;
  }

  .for-masters .masters-card__underText {
    bottom: -95px;

  }

  .cards-first {
    margin-bottom: 40px;
  }

  .gray {
    padding-block: 40px;
  }
}

@media screen and (max-width: 826px) {
  .for-users .users-card__underText {
    bottom: -125px;
  }
}

@media screen and (max-width: 800px) {
  .banner-first .h2 {
    font-size: 24px;
    line-height: 28px;
  }
}

@media screen and (max-width: 768px) {
  .main-top__title {
    font-size: 64px;
    line-height: 68px;
  }

  .for-playgrounds .playgrouns-card__underText {
    font-size: 24px;
    line-height: 28px;
  }

  .for-masters__top {
    flex-direction: column;
    align-items: normal;
  }

  .for-masters__link {
    text-align: center;
  }

  .h2 {
    font-size: 24px;
    line-height: 28px;
  }
}

@media screen and (max-width: 699px) {
  .for-users__block .hidden:nth-child(1) {
    order: 1;
  }

  .for-masters__wrap.top .hidden:first-child .masters-card .masters-card__top {
    background-image: url(../img/card-1-mob.png) !important;
  }

  .for-masters__wrap.top .hidden:nth-child(2) .masters-card .masters-card__top {
    background-image: url(../img/card-2-mob.png) !important;
  }

  .for-masters__wrap.top .hidden:nth-child(3) .masters-card .masters-card__top {
    background-image: url(../img/card-3-mob.png) !important;
  }

  .for-masters__wrap.top .hidden:nth-child(4) .masters-card .masters-card__top {
    background-image: url(../img/card-4-mob.png) !important;
  }

  

  .for-users__block .hidden:first-child .users-card.long .users-card__top.long {
    background-image: url(../img/card-6-mob.png) !important;
  }

  .for-users__block .hidden:nth-child(2) .users-card .users-card__top {
    background-image: url(../img/card-7-mob.png) !important;
  }

  .for-users__wrap.bottom .hidden:nth-child(1) .users-card .users-card__top {
    background-image: url(../img/card-8-mob.png) !important;
  }
  .for-users__wrap.bottom .hidden:nth-child(2) .users-card .users-card__top {
    background-image: url(../img/card-9-mob.png) !important;
  }
  .for-users__wrap.bottom .hidden:nth-child(3) .users-card .users-card__top {
    background-image: url(../img/card-10-mob.png) !important;
  }

  .for-playgrounds__wrap.top .hidden:first-child .playgrouns-card .playgrouns-card__top {
    background-image: url(../img/card-11-mob.png) !important;
  }

  .for-playgrounds__wrap.top .hidden:nth-child(2) .playgrouns-card .playgrouns-card__top {
    background-image: url(../img/card-12-mob.png) !important;
  }

  .for-playgrounds__wrap.top .hidden:nth-child(3) .playgrouns-card .playgrouns-card__top {
    background-image: url(../img/card-13-mob.png) !important;
  }
  .for-playgrounds__wrap.top .hidden:nth-child(4) .playgrouns-card .playgrouns-card__top {
    background-image: url(../img/card-14-mob.png) !important;
  }

  .playgrouns-card__top.long {
    background-image: url(../img/card-15-mob.png) !important;
  }

  .for-users .users-card__underText {
    bottom: -100px;
  }

  .for-masters .masters-card__top,
  .for-users .users-card__top,
  .for-playgrounds .playgrouns-card__top {
    max-height: 300px;
  }

  .for-masters .masters-card__underText {
    bottom: -80px;

  }

  .for-masters__wrap.bottom {
    grid-template-columns: repeat(auto-fit, minmax(328px, 1fr));
  }
}

@media screen and (max-width: 550px) {

  .for-masters__wrap.top,
  .for-users__wrap.bottom,
  .for-playgrounds__wrap.top,
  .cards-first__wrap,
  .for-users__block,
  .for-playgrounds__block {
    grid-template-columns: repeat(auto-fit, minmax(328px, 1fr));
  }

  .banner-first__wrap picture,
  .banner-second__wrap picture {
    width: 100%;
    display: flex;
  }

  .banner-first__title,
  .banner-second__title {
    top: 40px;
  }

  .cards-first__wrap {
    gap: 10px;
  }

  .cards-first__title {
    font-size: 24px;
    line-height: 28px;
  }

  .cards-first__text {
    font-size: 16px;
    line-height: 20px;
  }

  .consultation-wrap__text {
    font-size: 24px;
    line-height: 28px;
  }

  .cards-first__card img {
    max-width: 46px;
    max-height: 46px;
  }

  .cards-first__card {
    min-height: 200px;
  }

  .for-masters .masters-card__title,
  .for-users .users-card__title,
  .for-playgrounds .playgrouns-card__title {
    font-size: 24px;
    line-height: 28px;
  }

  .for-masters .masters-card__text,
  .for-users .users-card__text,
  .for-playgrounds .playgrouns-card__text {
    font-size: 16px;
    line-height: 20px;
  }

  .for-masters .masters-card__bottom,
  .for-users .users-card__bottom,
  .for-playgrounds .playgrouns-card__bottom {
    padding: 40px 20px;
  }
}

@media screen and (max-width: 450px) {
  .main-top__title {
    font-size: 48px;
    line-height: 52px;
  }

  .for-masters__wrap.top .hidden:first-child .masters-card .masters-card__top {
    background-image: url(../img/card-1.png) !important;
  }

  .for-masters__wrap.top .hidden:nth-child(2) .masters-card .masters-card__top {
    background-image: url(../img/card-2.png) !important;
  }

  .for-masters__wrap.top .hidden:nth-child(3) .masters-card .masters-card__top {
    background-image: url(../img/card-3.png) !important;
  }

  .for-masters__wrap.top .hidden:nth-child(4) .masters-card .masters-card__top {
    background-image: url(../img/card-4.png) !important;
  }

  .for-masters__wrap.bottom .hidden:nth-child(2) .masters-card .masters-card__top {
    background-image: url(../img/card-5.png) !important;
  }

  .for-users__block .hidden:first-child .users-card.long .users-card__top.long {
    background-image: url(../img/card-6.png) !important;
  }

  .for-users__block .hidden:nth-child(2) .users-card .users-card__top {
    background-image: url(../img/card-7.png) !important;
  }

  .for-users__wrap.bottom .hidden:nth-child(1) .users-card .users-card__top {
    background-image: url(../img/card-8.png) !important;
  }
  .for-users__wrap.bottom .hidden:nth-child(2) .users-card .users-card__top {
    background-image: url(../img/card-9.png) !important;
  }
  .for-users__wrap.bottom .hidden:nth-child(3) .users-card .users-card__top {
    background-image: url(../img/card-10.png) !important;
  }

  .for-playgrounds__wrap.top .hidden:first-child .playgrouns-card .playgrouns-card__top {
    background-image: url(../img/card-11.png) !important;
  }

  .for-playgrounds__wrap.top .hidden:nth-child(2) .playgrouns-card .playgrouns-card__top {
    background-image: url(../img/card-12.png) !important;
  }

  .for-playgrounds__wrap.top .hidden:nth-child(3) .playgrouns-card .playgrouns-card__top {
    background-image: url(../img/card-13.png) !important;
  }
  .for-playgrounds__wrap.top .hidden:nth-child(4) .playgrouns-card .playgrouns-card__top {
    background-image: url(../img/card-14.png) !important;
  }

  .playgrouns-card__top.long {
    background-image: url(../img/card-15.png) !important;
  }

  .main-top__subtitle {
    font-size: 16px;
    line-height: 20px;
  }

  .for-masters__link {
    padding: 20px 7px;
  }

  .main-top__link {
    padding: 20px 30px;
    top: -30px;
  }

  .for-users .users-card__underText {
    bottom: -133px;
  }

  .for-playgrounds .playgrouns-card__underText {
    bottom: -130px;
  }

  .for-users__block {
    margin-bottom: 150px;
  }

  .for-masters .masters-card__underText {
    bottom: -100px;
  }
}

/*# sourceMappingURL=style.css.map */