* {
  margin: 0;
  padding: 0;
  outline: 0;
  appearance: 0;
  border: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

html {
  font-family: 'Unbounded', cursive;
  font-size: 16px;
}

body {
  background: #000;
  padding: 0 0 96px;
}

h1 {
  font-size: 4.375rem;
  font-weight: 500;
}

h2 {
  font-size: 1.875rem;
  font-weight: 500;
}

.container {
  max-width: 1620px;
  margin: 0 auto;
}

.inner {
  padding: 0 15px;
}

.text-block {
  display: block;
}

.text-green {
  color: #7cfe5b;
}

._text-hidden {
  display: none;
}

.button {
  display: inline-flex;
  padding: 30px 82px;
  background: #7cfe5b;
  border-radius: 50px;
  transition: 0.3s;
}

.button:hover {
  background: #fff;
}

.button a {
  color: #000;
  font-size: 1.375rem;
}

.button::after {
  content: '';
  background-image: url('images/icons/arrowButton.svg');
  width: 14px;
  height: 10px;
  margin-left: 17px;
  display: flex;
  align-self: center;
}

/*=====SCROLLBAR=====*/

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #121212;
}

::-webkit-scrollbar-thumb {
  background: #7cfe5b;
  border-radius: 8px;
  border: solid 3px #121212;
}

::-webkit-scrollbar-thumb:hover {
  background: #fff;
}

/*=====HEADER=====*/

.header {
  z-index: 2;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding-top: 15px;
  padding-bottom: 15px;
  background: #000;

  transition: 0.3s;
}

.header.hide {
  transform: translateY(-80px);
}

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

.nav__icon {
  display: none;
}

.nav__list ul {
  display: flex;
}

.nav__list ul > li {
  margin-right: 50px;
}

.nav__list ul > li:last-child {
  margin-right: 0;
}

.nav__list ul li a {
  font-family: 'Unbounded', cursive;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  font-size: 1.125rem;
  transition: 300ms;
}

.nav__list ul li a:hover {
  color: rgb(255, 255, 255);
}

.header__button a {
  color: rgb(255, 255, 255);
  font-weight: 500;
  font-size: 1.125rem;
}

.nav__icon {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.5);
  display: none;
}

.nav__icon span {
  height: 2px;
  width: 50%;
  transform: scale(1);
  background: #fff;
}

.nav__icon::before,
.nav__icon::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 50%;
  background: #fff;
  transition: all 0.3s ease 0s;
}

.nav__icon::before {
  top: 12px;
}

.nav__icon::after {
  bottom: 12px;
}

.nav__icon._active span {
  transform: scale(0);
}

.nav__icon._active::before {
  top: 50%;
  transform: rotate(-45deg) translate(0, -50%);
}

.nav__icon._active::after {
  bottom: 50%;
  transform: rotate(45deg) translate(0, 50%);
}

/*=====MAIN=====*/
main {
  color: #fff;
  margin-top: 189px;
}

.intro {
  position: relative;
}

.intro__inner {
  position: relative;
  background-image: url('../images/introBack.png');
  display: flex;
  flex-direction: column;
  height: 870px;
}

.intro__title {
  position: absolute;
  top: 47px;
  left: 0;
  width: 70%;
  z-index: 1;
}

.intro__slogan {
  position: absolute;
  top: 24px;
  right: 0;
  width: 19%;
  z-index: 1;
}

.intro__description {
  position: absolute;
  bottom: -75px;
  left: 0;
  width: 70%;
  z-index: 1;
  margin-bottom: 30px;
}

.intro__description p {
  font-size: 1.875rem;
  line-height: 40px;
  font-weight: 300;
}

.intro__button {
  position: absolute;
  bottom: 64px;
  right: 0;
  z-index: 1;
}

.schedule__inner {
  margin-top: 97px;
  padding-top: 49px;
  position: relative;
  overflow: hidden;
}

.schedule__inner::before {
  content: '';
  background-image: url('../images/atom.png');
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50px;
  right: 152px;
  display: block;
  width: 273px;
  height: 310px;
  transform: rotate(15deg);
  /*
  width: calc(166px+ (273 - 166) * ((100vw - 1024px) / (1620-1024)));
  height: calc(188px+ (310 - 188) * ((100vw - 1024px) / (1620-1024)));*/
}

.schedule__images {
  display: flex;
  gap: 118px;
  margin-bottom: 97px;
  position: relative;
  overflow: hidden;
}

.schedule__image {
  width: 75%;
  margin-left: -35px;
}

.schedule__image img {
  width: 100%;
}

.schedule__table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    'a b .'
    '. c d';
  gap: calc(10px + 10 * ((100vw / 360) / (1920 / 360)));
  height: 100%;
  margin-top: 77px;
}

.table__items {
  aspect-ratio: 1/1;
  padding: calc(10px + 30 * ((100vw / 360) / (1920 / 360)));
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.5fr;
  grid-template-rows: 0.5fr 1.5fr 1fr;
  gap: 10px 10px;
  grid-template-areas:
    'Descr Descr Icon'
    'Descr Descr .'
    'Date Date Date';
}

.table__items.item-1 {
  border-radius: 0 calc(14px + 36 * ((100vw / 360) / (1920 / 360)));
  background: #c35df5;
  color: #fff;
  grid-area: a;
}

.table__items.item-2,
.table__items.item-3 {
  border-radius: calc(14px + 36 * ((100vw / 360) / (1920 / 360)));
}

.table__items.item-4 {
  border-radius: calc(14px + 36 * ((100vw / 360) / (1920 / 360))) 0;
  background: #7cfe5b;
  color: #000;
  grid-area: d;
}

.table__items.item-2 {
  background: #7cfe5b;
  color: #000;
  grid-area: b;
}

.table__items.item-3 {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2),
      rgba(255, 255, 255, 0)
    ),
    url('../images/peopleWork.png'), center;
  background-size: contain;
  color: #fff;
  grid-area: c;
}

.item__description {
  grid-area: Descr;
  font-size: calc(12px + 8 * ((100vw / 360) / (1920 / 360)));
  font-weight: 400;
  align-self: start;
}

.item__date {
  grid-area: Date;
  /*font-size: 3.125rem;*/
  font-size: calc(28px + 22 * ((100vw / 360) / (1920 / 360)));
  align-self: end;
  font-weight: 500;
}

.item__icon {
  grid-area: Icon;
  justify-self: end;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item__icon span {
  transform: rotate(-45deg);
  color: #c35df5;
  /*font-size: 2.5rem;*/
  font-size: calc(24px + 16 * (100vw / 1920));
}

.item-2 .item__icon {
  background: #000;
}

.item-2 .item__icon span {
  color: #fff;
}

.item-3 .item__icon {
  background: #fff;
}

.item-3 .item__icon span {
  color: #000;
}

.item-4 .item__icon {
  background: #000;
}

.item-4 .item__icon span {
  color: #7cfe5b;
}

.insctructors__inner {
  margin: 335px 0 0;
}

.insctructors__cubes {
  width: 100%;
  height: 645px;
  margin-top: 80px;
  overflow: hidden;
}

.cubes {
  position: relative;
}
.cubes__item {
  position: absolute;
  overflow: hidden;
  border-radius: 40px 0;
  aspect-ratio: 1/1;
}
.cubes__item > div {
  position: relative;
  aspect-ratio: 1/1;
}

.cubes__item img {
  position: absolute;
  bottom: -2px;
  right: -12px;
  width: 100%;
  height: 100%;
}

.cube-1 {
  width: calc(100px + 156 * (100vw - 360px) / (1620 - 360));
  background: #fff;
  bottom: 0;
  left: 25%;
}
.cube-2 {
  width: calc(100px + 156 * (100vw - 360px) / (1620 - 360));
  background: #c35df5;
  top: 12%;
  left: 17.5%;
}
.cube-3 {
  width: calc(100px + 156 * (100vw - 360px) / (1620 - 360));
  background: #7cfe5b;
  top: 34%;
  left: 44%;
}
.cube-4 {
  width: calc(100px + 156 * (100vw - 360px) / (1620 - 360));
  background: #fff;
  top: 0%;
  right: 14.5%;
}
.cube-5 {
  width: calc(54px + 82 * (100vw - 360px) / (1620 - 360));
  background: #7cfe5b;
  top: 4%;
  left: 40%;
}
.cube-6 {
  width: calc(54px + 82 * (100vw - 360px) / (1620 - 360));
  background: #7cfe5b;
  top: 35%;
  left: 3%;
}
.cube-7 {
  width: calc(54px + 82 * (100vw - 360px) / (1620 - 360));
  background: #7cfe5b;
  bottom: 5%;
  right: 7%;
}
.cube-8 {
  width: calc(100px + 156 * (100vw - 360px) / (1620 - 360));
  background: #c35df5;
  bottom: 12%;
  right: 21%;
}
.cube-9 {
  width: calc(46px + 21 * (100vw - 360px) / (1620 - 360));
  background: #c35df5;
  bottom: 21%;
  left: 14%;
  border-radius: 20px 0;
}

.inviting {
  position: relative;
}

.inviting__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bg__case {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.case__items {
  position: absolute;
  background: url('../images/atom.png');
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1/1;
}

.case__items.item-1 {
  top: 38%;
  left: 31%;
  width: 140px;
  transform: rotate(45deg);
  filter: blur(1px);
}

.case__items.item-2 {
  bottom: 9%;
  left: 23%;
  width: 210px;
}

.case__items.item-3 {
  bottom: 0%;
  left: 3%;
  width: 80px;
  transform: rotate(30deg);
  filter: blur(1px);
}

.inviting__inner {
  margin-top: 320px;
  padding-bottom: 110px;
}

.inviting__content {
  margin-top: 73px;
  display: flex;
  justify-content: space-between;
}

.inviting__description {
  font-size: calc(18px + (30 - 18) * (100vw - 360px) / (1620 - 360));
  /*width: 45%;*/
  word-spacing: 2px;
  flex: 0 1 50%;
  padding-right: 5%;
}

.inviting__form {
  display: flex;
  flex: 0 1 50%;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.form {
  width: 100%;
}

.form__string {
  margin-bottom: 46px;
}

.form__string .form__input {
  font-family: inherit;
  font-size: calc(16px + 2 * (100vw - 360px) / (1620 - 360));
  background: #343538;
  color: #c6c6c6;
  font-weight: 300;
}

.form__string .form__input[name='location'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  color: #c6c6c6;
}

.form__location {
  position: relative;
}

.form__location option {
  color: #c6c6c6;
}

.form__location::after {
  content: '';
  background-image: url('../images/icons/keyboard_arrow_down_black_24dp.svg');
  background-repeat: no-repeat;
  background-size: calc(16px + 6 * (100vw - 360px) / (1620 - 360));
  background-position: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin-right: 27px;
  width: 22px;
  width: calc(16px + 6 * (100vw - 360px) / (1620 - 360));
  pointer-events: none;
}

.form__string .form__input::placeholder {
  color: #b4b4b49a;
  font-size: calc(16px + 2 * (100vw - 360px) / (1620 - 360));
}

.form__string .form__input:hover {
  background: #404144;
}

.form__string .form__input:focus {
  background: #404144;
  border: solid 1px rgba(255, 255, 255, 0.3);
}

.form__input {
  width: 100%;
  padding: 27px;
  border-radius: 50px;
  font-weight: 300;
}

.form__button {
  margin-top: 62px;
}

.form__button button {
  font-size: calc(19px + 3 * (100vw - 360px) / (1620 - 360));
  font-family: inherit;
}

.finalwords__inner {
  margin-top: 170px;
  word-spacing: 5px;
}

.finalwords__title {
  display: flex;
  justify-content: center;
  text-align: center;
}

.finalwords__title h1 {
  font-size: calc(38px + 52 * (100vw - 360px) / (1620 - 360));
}

/*=====FOOTER=====*/

.footer__inner {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1.5fr 1fr auto;
  grid-template-rows: 1fr;
  gap: 10px;
  grid-template-areas: 'a b c d';
  margin-top: 288px;
  color: #fff;
}

.footer__logo {
  grid-area: a;
}

.footer__menu {
  grid-area: b;
}

.footer__menu nav {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-template-areas: 'clmn-1 clmn-2';
}

.footer__menu .clmn-1 {
  grid-area: clmn-1;
}

.footer__menu .clmn-2 {
  grid-area: clmn-2;
}

.footer__menu .nav__list > div > div {
  margin-right: 0;
  margin-bottom: 20px;
}

.footer__menu a {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  transition: 300ms;
}

.footer__menu a:hover {
  color: rgba(255, 255, 255);
  font-weight: 300;
}

.footer__social {
  grid-area: c;
}

.footer__button {
  grid-area: d;
}
.footer__button.button::after {
  display: none;
}

.footer__button a {
  font-size: 1.125rem;
  color: #fff;
  background: rgba(0, 0, 0, 0);
  border: 1px solid #fff;
  transition: 300ms;
}

.footer__button a:hover,
.footer__button a:active {
  color: #000;
  background: #fff;
}

.social__title h4 {
  font-size: 17px;
}

.social__icons {
  margin-top: 15px;
}

.social__icons img {
  height: 22px;
  margin-right: 20px;
  cursor: pointer;
}

/*=====RESPONSIVE AND ADAPTIVE=====*/

@media (min-width: 1921px) {
  .table__items {
    padding: 40px;
  }

  .item__description {
    font-size: 1.25rem;
  }

  .item__date {
    font-size: 3.125rem;
  }

  .item__icon span {
    font-size: 2.5rem;
  }

  .cube-1 {
    width: 256px;
  }
  .cube-2 {
    width: 256px;
  }
  .cube-3 {
    width: 256px;
  }
  .cube-4 {
    width: 256px;
  }
  .cube-5 {
    width: 136px;
  }
  .cube-6 {
    width: 136px;
  }
  .cube-7 {
    width: 136px;
  }
  .cube-8 {
    width: 256px;
  }
  .cube-9 {
    width: 67px;
  }
}

@media screen and (min-width: 1620px) {
  .cube-1 {
    width: 256px;
  }
  .cube-2 {
    width: 256px;
    background: #c35df5;
    top: 12%;
    left: 17.5%;
  }
  .cube-3 {
    width: 256px;
    background: #7cfe5b;
    top: 34%;
    left: 44%;
  }
  .cube-4 {
    width: 256px;
    background: #fff;
    top: 0%;
    right: 14.5%;
  }
  .cube-5 {
    width: 136px;
    background: #7cfe5b;
    top: 4%;
    left: 40%;
  }
  .cube-6 {
    width: 136px;
    background: #7cfe5b;
    top: 35%;
    left: 3%;
  }
  .cube-7 {
    width: 136px;
    background: #7cfe5b;
    bottom: 5%;
    right: 7%;
  }
  .cube-8 {
    width: 256px;
    background: #c35df5;
    bottom: 12%;
    right: 21%;
  }
  .cube-9 {
    width: 67px;
    background: #c35df5;
    bottom: 21%;
    left: 14%;
    border-radius: 20px 0;
  }

  .inviting__description {
    font-size: 1.875rem;
  }

  .form__button button {
    font-size: 22px;
  }

  .form__string input {
    font-size: 18px;
  }

  .form__location::after {
    background-size: 22px;
    width: 22px;
  }

  .finalwords__title h1 {
    font-size: 90px;
  }
}

@media (max-width: 1439px) {
  /*=====HEADER ADAPTIVE=====*/
  .nav__list ul li a,
  .header__button a {
    font-size: 1rem;
  }

  /*=====MAIN ADAPTIVE=====*/
  h1 {
    font-size: calc(4.375rem * 87.5 / 100);
  }

  h2 {
    font-size: calc(1.875rem * 87.5 / 100);
  }

  .intro__description p {
    font-size: calc(1.875rem * 87.5 / 100);
  }

  .button a {
    font-size: calc(1.375rem * 87.5 / 100);
  }
  .schedule__inner::before {
    width: calc(273px * 0.9);
    height: calc(310px * 0.9);
  }
}

@media (max-width: 1300px) {
  /*=====HEADER ADAPTIVE=====*/
  .nav__list ul li a,
  .header__button a {
    font-size: 0.9rem;
  }

  /*=====MAIN ADAPTIVE=====*/
  h1 {
    font-size: calc(4.375rem * 80 / 100);
  }

  h2 {
    font-size: calc(1.875rem * 80 / 100);
  }

  .intro__description p {
    font-size: calc(1.875rem * 80 / 100);
  }

  .schedule__inner::before {
    width: calc(273px * 0.8);
    height: calc(310px * 0.8);
    right: 85px;
  }

  .insctructors__inner {
    margin-top: 200px;
  }

  .cube-7 {
    right: 0;
  }

  .cube-8 {
    right: 15%;
  }

  .inviting__inner {
    margin-top: 220px;
  }

  /*=====FOOTER ADAPTIVE=====*/

  .footer__inner {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0px 0px;
    grid-template-areas:
      'a b'
      'c c'
      'd d';
  }
  .footer__menu {
  }

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

  .footer__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer__social > div {
    display: flex;
  }

  .footer__button {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1199px) {
  /*=====HEADER ADAPTIVE=====*/
  .nav__list ul li a,
  .header__button a {
    font-size: 0.8rem;
  }
  .header__logo img {
    width: 180px;
  }

  /*=====MAIN ADAPTIVE=====*/
  h1 {
    font-size: calc(4.375rem * 70 / 100);
  }

  h2 {
    font-size: calc(1.875rem * 70 / 100);
  }

  .intro__inner {
    height: 700px;
  }

  .intro__description p {
    font-size: calc(1.875rem * 70 / 100);
  }

  .button {
    padding: 25px 70px;
  }
}

@media (max-width: 1100px) {
  /*=====HEADER ADAPTIVE=====*/
  .nav__list ul li a,
  .header__button a {
    font-size: 0.7rem;
  }

  /*=====MAIN ADAPTIVE=====*/

  .schedule__inner::before {
    width: calc(273px * 0.7);
    height: calc(310px * 0.7);
    right: 75px;
  }
}

@media (max-width: 1023px) {
  /*=====HEADER ADAPTIVE=====*/
  .nav__list,
  .header__button {
    display: none;
  }

  .nav__list._open,
  .header__button._open {
    display: flex;
  }

  .nav__icon {
    display: flex;
  }

  .header__nav {
    z-index: 2;
  }

  .nav__list._open {
    display: block;
    z-index: 2;
    background-color: #242424;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    transition: left 0.3s ease 0s;
    overflow: auto;
  }

  .nav__list ul {
    top: 90px;
    right: 0;
    z-index: 2;
    position: relative;
    flex-direction: column;
    align-items: flex-end;
  }

  .nav__list ul > li {
    margin: 0;
    padding: 20px 30px 20px 20px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    border-top: solid 2px rgba(255, 255, 255, 0.1);
  }

  .nav__list ul > li:last-child {
    border-bottom: solid 2px rgba(255, 255, 255, 0.1);
  }

  .header__button._open {
    z-index: 2;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 20px 30px 50px;

    display: flex;
    justify-content: flex-end;
  }

  .nav__list ul li a,
  .header__button a {
    font-size: 1rem;
  }

  /*=====MAIN ADAPTIVE====*/
  main {
    margin-top: 96px;
  }

  h1 {
    font-size: calc(4.375rem * 65 / 100);
  }

  h2 {
    font-size: calc(1.875rem * 65 / 100);
  }

  .intro__inner {
    height: 600px;
  }

  .intro__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100vw;
  }

  .intro__title {
    position: static;
    margin-bottom: 65px;
  }

  .intro__slogan {
    position: static;
    display: flex;
    align-self: flex-end;
    text-align: right;
    width: 70%;
    margin-bottom: 70px;
  }

  .intro__description {
    position: static;
    margin-bottom: 32px;
    width: 100%;
  }

  .intro__description.inner {
    padding: 0;
  }

  .intro__button {
    position: static;
    align-self: center;
  }

  .intro__description p {
    font-size: calc(1.875rem * 65 / 100);
  }

  .schedule__inner {
    padding-top: 67px;
  }

  .schedule__inner::before {
    filter: blur(2px);
    transform: rotate(-20deg);
    top: -4px;
    right: -40px;
    aspect-ratio: 1/1;
    width: 91px;
  }

  .schedule__image {
    width: 100%;
    margin-left: 0;
  }

  .insctructors__inner {
    margin-top: 150px;
  }

  .inviting__inner {
    margin-top: 170px;
  }

  .inviting__content {
    flex-direction: column;
    margin-top: 28px;
  }

  .inviting__description {
    width: 100%;
  }

  .inviting__form {
    margin-top: 45px;
  }

  .case__items.item-1 {
    top: 15%;
    left: 85%;
    width: 85px;
    z-index: 1;
  }

  .case__items.item-3 {
    /*display: none;*/
  }

  .case__items.item-2 {
    display: none;
  }

  .form__string {
    position: relative;
    z-index: 2;
  }

  .form__button {
    display: flex;
    justify-content: center;
  }

  .finalwords__inner {
    margin-top: 50px;
    word-spacing: 5px;
    line-height: 47px;
  }
}

@media (max-width: 767px) {
  /*=====HEADER ADAPTIVE=====*/

  .header__logo img {
    width: 146px;
  }

  /*=====MAIN ADAPTIVE=====*/

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.125rem;
  }

  .intro__description p {
    font-size: 1rem;
    line-height: 20px;
  }

  .button a {
    font-size: 1.125rem;
  }

  .intro__slogan {
    width: 90%;
  }

  /*.schedule__inner::before {
    width: calc(273px * 0.5);
    height: calc(310px * 0.5);
  }*/

  .schedule__table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      'a b'
      'c d';
    gap: 10px;
    height: 100%;
    margin-top: 30px;
  }

  .schedule__table.inner {
    padding: 0;
  }

  .table__items {
    padding: calc(10px + 20 * ((100vw - 360px) / (1920 - 360)));
  }

  .item__description {
    font-size: calc(10px + 6 * ((100vw - 360px) / (767 -360)));
  }

  .item__date {
    font-size: calc(22px + 8 * ((100vw - 360px) / (767 -360)));
  }

  .insctructors__cubes {
    width: 100%;
    aspect-ratio: 1.3/1;
    height: auto;
    margin-top: 25px;
  }

  .cubes__item {
    border-radius: 20px 0;
  }

  .cube-1 {
    bottom: 16%;
    left: 24%;
  }
  .cube-2 {
    top: 20%;
    left: 10%;
  }
  .cube-3 {
    top: 37%;
    left: 60%;
  }

  .cube-4 {
    top: 0%;
    right: 5%;
  }

  .cube-5 {
    top: 14%;
    left: 44%;
  }

  .cube-6 {
    top: 0%;
    left: 5%;
  }

  .cube-7 {
    bottom: 12%;
    right: 20%;
  }

  .cube-8 {
    bottom: 25%;
    right: -24%;
  }

  .cube-9 {
    bottom: 25%;
    left: -3%;
  }

  .insctructors__inner {
    margin-top: 100px;
  }

  .inviting__inner {
    margin-top: 60px;
  }
}

@media (max-width: 540px) {
  .item__date {
    font-size: 25px;
  }

  .insctructors__cubes {
    aspect-ratio: 1/1;
  }

  .inviting__form {
    margin-top: 55px;
  }

  .form__string {
    margin-bottom: 23px;
  }

  .form__button {
    margin-top: 40px;
  }

  .form__input {
    padding: 16px;
  }

  .form__location::after {
    margin-right: 16px;
  }

  /*=====FOOTER ADAPTIVE=====*/

  .footer__inner {
    grid-template-rows: 1fr auto auto;
    gap: 50px 0;
  }

  .footer__logo img {
    width: 100%;
  }

  .footer__menu .nav__list {
    align-content: center;
    flex-direction: column;
  }

  .footer__social {
    justify-content: flex-start;
  }

  .footer__button {
    align-items: flex-start;
  }
}
