body {
  font-size: 20px;
  line-height: 24px;
  background: black;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}
.container::before,
.container::after {
  display: none;
}

.logo__img {
  max-width: 90px;
}

.title-h2 {
  font-weight: 900;
  font-size: 36px;
  line-height: 44px;
}
@media (max-width: 767px) {
  .title-h2 {
    font-size: 24px;
    line-height: 30px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5em;
  max-width: 100%;
  min-width: 200px;
  height: 60px;
  padding: 0 40px;
  border-radius: 35px;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  background-color: #0bd0c7;
  color: #000;
  transition: background-color .3s ease;
}
.btn__wrapper {
  max-width: 100%;
}

.icc {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-size: contain !important;
}
.icc_edit {
  background: url('../../img/pages/school/ico-edit.svg') center center no-repeat;
}
.icc_download {
  background: url('../../img/pages/school/ico-download.svg') center center no-repeat;
}

/* school-menu */
.school-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 24px;
  color: white;
}
.school-menu a {
  color: white;
  text-decoration: none;
}
.school-menu a:hover {
  color: #D9D9D9;
}
.school-menu a:active {
  color: #641773;
}
@media (min-width: 768px) {
  .school-menu {
    flex-wrap: wrap;
    gap: 10px 70px;
  }
}
@media (max-width: 767px) {
  .school-menu {
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
  }
}

/* header */
.header-school {
  padding: 35px 20px;
  background-color: #000;
}
.header-school__in {
  display: flex;
  align-items: flex-end;
}
.header-school .menu-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  width: 100%;
}
.header-school .fa,
.header-school .fa:hover::before,
.header-school .fa__svg {
  color:#fff;
}
.header-school .header-right {
  width: auto;
  padding: 0;
  justify-content: end;
}
.header-school .login-head {
   width: auto;
}
.header-school .login-head .popup {
  top: 117%;
  right: 0;
}
@media (min-width: 768px) {
  .header-school__in {
    column-gap: 35px;
  }
  .header-school .logo {
    align-self: start;
  }
  .header-school .social-buttons {
    order: -1;
    align-self: end;
  }
}
@media (max-width: 767px) {
  .header-school {
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 10;
  }
  .header-school__in {
    align-items: center;
    justify-content: space-between;
  }
  .header-school .logo__img {
    max-width: 50px;
  }
  .header-school .menu-wrapper {
    row-gap: 30px;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 40px 20px;
    background-color: #51BCD7;
  }
  .header-school .social-buttons {
    align-self: center;
  }
  .header-school .login-head {
    width: 200px;
  }
  .header-icons {
    width: 200px;
  }
  .header-icons .material-icons {
    width: 34px;
    height: 34px;
    top: auto;
    right: auto;
    padding: 0 !important;
    text-align: center !important;
    line-height: 34px;
    cursor: pointer;
  }
  .header-icons .material-icons:hover {
    color: #D9D9D9;
  }
  .header-icons .material-icons:active {
    color: #641773;
  }
  .opened .menu-wrapper {
    display: flex;
  }
  .not-opened .header-icons .i_close,
  .opened .header-icons .i_menu {
    display: none;
  }
}
@media (max-width: 600px) {
  .header-school .login-head,
  .header-icons {
    width: 45px;
  }
}

/* footer */
.footer-school {
  padding: 40px 20px;
  background-color: #000;
}
.footer-school__in {
  display: flex;
  align-items: flex-start;
}
.footer-school .menu-wrapper {
  width: 100%;
}
.footer-school .fa,
.footer-school .fa:hover::before,
.footer-school .fa__svg {
  color:#fff;
}
@media (max-width: 767px) {
  .footer-school {
    padding: 50px 20px;
  }
  .footer-school__in {
    flex-direction: column;
    align-items: center;
    row-gap: 50px;
  }
  .footer-school .logo {
    text-align: center;
  }
}

/* main-header */
.main-header {
  padding: 0 20px;
  color: #fff;
}
.main-header__in {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .main-header {
    background: linear-gradient(180deg, rgba(0,0,0,0) 74%, #000000 100%), url('../../img/pages/school/trainers-top.png') 80% 100% no-repeat, url('../../img/pages/school/bg-top.png') center top no-repeat #000;
    background-size: auto, auto, cover;
  }
  .main-header__in {
    min-height: 940px;
    padding: 150px 0 50px;
  }
}
@media (max-width: 767px) {
  .main-header {
    background: url('../../img/pages/school/bg-top.png') center top no-repeat #000;
    background-size: cover;
  }
  .main-header__in {
    padding: 25px 0 50px;
  }
}

/* main-header__text */
.main-header__text {
  max-width: 680px;
}
.main-header__text .title-h1 {
  margin: 0 0 30px;
  font-weight: 900;
  font-size: 64px;
  line-height: 77px;
  text-transform: uppercase;
  color: white;
}
.main-header__text .desc {
  margin-bottom: 70px;
  font-weight: 500;
  font-size: 36px;
  line-height: 44px;
  color: #949393;
}
.btn_subscribe {
  width: 370px;
  height: 70px;
  background: #6F237D;
  color: white;
}
.main-header__text .btn_subscribe {
  box-shadow: 0 25px 76px rgba(111, 35, 125, 0.7);
}
.btn_subscribe:hover {
  background: #51BCD7;
}
.btn_subscribe:active {
  background: #641773;
}
@media (max-width: 767px) {
  .main-header__text {
    text-align: center;
    margin-bottom: 50px;
  }
  .main-header__text .title-h1 {
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 44px;
  }
  .main-header__text .desc {
    margin-bottom: 50px;
    font-size: 20px;
    line-height: 24px;
  }
  .main-header__text .btn__wrapper {
    width: 370px;
    margin: 0 auto;
  }
  .main-header__text .btn__img {
    max-width: 90%;
    margin: 0 auto -40px;
  }
}

/* prefers */
.prefers {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 30px;
}
.prefers__item {
  text-align: center;
}
.prefers__img {
  max-width: 107px;
  margin: 0 auto 10px;
}
@media (max-width: 767px) {
  .prefers {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .prefers__img {
    margin-bottom: 0;
  }
}

/* main-who */
.main-who {
  padding: 20px 20px 65px;
  background-color: #884C93;
}

/* about */
.main-who .about {
  position: relative;
  margin: 0 50px 80px 35%;
  color: white;
}
.main-who a {
  cursor: pointer;
  color: #E486FC;
}
.main-who a:hover {
  color: #D9D9D9;
}
.main-who a:active {
  color: #641773;
}
.about__text .title-h2__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 10px;
  margin: 100px 0 65px;
}
.about__text .title-h2 {
  margin: 0;
}
.about__text .title-h2__wrapper .small {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #E486FC;
}
.main-who .about__img {
  position: absolute;
  max-width: 80%;
  left: -78%;
  top: -150px;
}
.main-who .about__text {
  position: relative;
}
.main-who .about__text a {
  display: inline-flex;
  align-items: center;
}
.main-who .about__text a > .at {
  text-decoration: underline;
}
.main-who .about__text a > .icc {
  margin-left: 0.5em;
}
@media (min-width: 768px) and (max-width: 991px) {
  .main-who .about {
    margin-right: 0;
  }
}
@media (max-width: 767px) {
  .main-who .about {
    margin: 0 0 70px 0;
  }
  .about__text .title-h2__wrapper {
    flex-direction: column;
    row-gap: 30px;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 30px;
  }
  .about__text .title-h2__wrapper .small {
    align-self: flex-end;
    order: -1;
  }
  .main-who .about__img {
    display: none;
  }
}

/* trainers */
.trainers {

}
.trainers .title-h2 {
  margin: 0 0 25px;
  text-align: center;
  color: white;
}
@media (max-width: 767px) {
  .trainers .title-h2 {
    margin-bottom: 0;
  }
}

/* trainers-list */
.trainers-list {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.trainers__item {
  max-width: 295px;
}
.trainers__item:last-of-type {
  max-width: 327px;
}
.trainers__item a {
  color: white;
}
.trainers-list .trainer-name {
  margin: 0;
}
@media (min-width: 768px) {
  .trainers__item:nth-child(2) {
    margin-left: 0 !important;
    z-index: 2;
  }
  .trainers__item:nth-child(3) {
    z-index: 1;
  }
  .trainers__item + .trainers__item {
    margin-left: -30px;
  }
  .trainers-list .trainer-img {
    margin-bottom: 35px;
  }
  .trainers-list .trainer-name {
    height: 70px;
    padding: 0 15px;
  }
}
@media (max-width: 767px) {
  .trainers-list {
    flex-direction: column;
    font-size: 16px;
    line-height: 19px;
  }
  .trainers__item {
    width: 50%;
    margin-left: 0 !important;
  }
  .trainers__item + .trainers__item {
    margin-top: -36%;
  }
  .trainers__item:last-of-type {
    width: 54.5%;
    margin-top: -27%;
  }
  .trainers__item:nth-child(2n+1) {
    margin-right: auto;
  }
  .trainers-list .trainer-img {
    margin-bottom: 10px;
  }
  .trainers-list .trainer-name {
    height: auto;
  }
}
@media (max-width: 500px) {
  .trainers__item + .trainers__item {
    margin-top: -44%;
  }
  .trainers__item:last-of-type {
    margin-top: -31%;
  }
}

/* main-why */
.main-why {
  padding: 90px 20px;
  background-color: #F1F1F1;
  color: #000;
}
.main-why__in {
  display: flex;
}
.main-why h2 {
  margin: 0 0 50px;
  color: #641773;
}
@media (min-width: 768px) {
  .main-why__in {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 50px;
    row-gap: 30px;
  }
}
@media (max-width: 767px) {
  .main-why {
    padding: 50px 20px;
  }
  .main-why__in {
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
  }
  .main-why h2 {
    margin-bottom: 25px;
  }
}

.block-why-text {}
.block-why-text ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.block-why-text li {
  position: relative;
  margin: 0;
  padding: 0;
}
.block-why-text li + li {
  margin-top: 30px;
}
.block-why-text li:before {
  position: absolute;
  display: block;
  content: " ";
  width: 50px;
  height: 50px;
  margin-left: -83px;
  background: url('../../img/pages/school/ico-check.svg');
  background-size: cover;
}
@media (min-width: 768px) {
  .block-why-text {
    width: 50%;
    max-width: 560px;
  }
  .block-why-text .title-h2,
  .block-why-text ul {
    margin-left: 83px;
  }
  .block-why-img {
    max-width: 35%;
  }
}
@media (max-width: 767px) {
  .block-why-text {}
  .block-why-text .title-h2 {
    text-align: center;
  }
  .block-why-text ul {
    margin-left: 73px;
  }
  .block-why-text li:before {
    width: 40px;
    height: 40px;
    margin-left: -73px;
  }
}

/* main-docs */
.main-docs {
  padding: 90px 20px 120px;
  background-color: #fff;
  color: #000;
}
.block-docs-text .title-h2 {
  margin: 0;
  color: #641773;
  text-align: center;
}
.block-docs-text__in {
  display: flex;
  align-items: center;
  column-gap: 35px;
}
@media (min-width: 768px) {
  .block-docs-text__in .col-1 {
    width: 31%;
  }
  .block-docs-text__in .col-1__img {
    width: 190px;
    max-width: 60%;
    margin-left: auto;
  }
  .block-docs-text__in .col-2 {
    width: 69%;
  }
}
@media (max-width: 767px) {
  .main-docs {
    padding: 50px 20px;
  }
  .block-docs-text__in {
    flex-direction: column;
  }
  .block-docs-text__in .col-1 {
    text-align: center;
  }
}

/* block-program */
.block-program .title-h2 {
  margin: 0;
}

.main-block-prods {
  display: flex;
  column-gap: 40px;
  max-width: 1000px;
  margin: 50px auto;
}
.school-prod {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
  padding: 40px 60px 60px;
  border-radius: 5px;
  background: #D9D9D9;
}
.school-prod__block {
  margin-bottom: 60px;
  font-weight: 900;
  font-size: 36px;
  line-height: 44px;
}
.school-prod__name {
  margin-bottom: 60px;
  font-weight: 900;
}
.school-prod__desc {
  margin-bottom: 50px;
}
.school-prod__desc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.school-prod__to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}
.school-prod__to-cart .school-prod__btn {
  width: 100%;
  margin: 30px auto;
}
.school-prod__to-cart .button {
  height: 70px;
  margin: 0 auto;
  border-radius: 35px;
  font-size: 24px;
  line-height: 29px;
  background-color: #884C93;
  color: #fff;
}
.school-prod__to-cart .button.is-disabled {
  background-color: #949393 !important;
  cursor: not-allowed;
}
.school-prod__to-cart .button:hover {
  background-color: #BB1BE3;
}
.school-prod__to-cart .button:active {
  background-color: #641773;
}
.school-prod__prices {
  font-weight: 900;
}
.school-prod__price {
  font-size: 36px;
  line-height: 44px;
}
.school-prod__old-price {
  text-decoration: line-through;
}
.school-prod__legend {
  min-height: 38px;
  font-size: 16px;
  line-height: 19px;
}
.oferta-link {
  font-size: 14px;
  line-height: 17px;
  text-decoration: underline;
  cursor: pointer;
  color: #884C93;
}

.school-prod_1 {
  background-color: #884C93;
}
.school-prod_1 .school-prod__to-cart .button {
  background-color: #51BCD7;
}
.school-prod_1 .school-prod__to-cart .button:hover {
  background-color: #BB1BE3;
}
.school-prod_1 .school-prod__to-cart .button:active {
  background-color: #E486FC;
}
.school-prod_1 .school-prod__prices {
  color: #fff;
}
.school-prod_1 .oferta-link {
  color: #E486FC;
}
.school-prod_1 .oferta-link:hover {
  color: #D9D9D9;
}
.school-prod_1 .oferta-link:active {
  color: #641773;
}

@media (min-width: 768px) and (max-width: 991px) {
  .main-block-prods {
    column-gap: 20px;
  }
  .school-prod {
    padding: 30px 40px 40px;
  }
}
@media (max-width: 767px) {
  .main-block-prods {
    flex-direction: column;
    row-gap: 20px;
    margin: 30px auto;
  }
  .school-prod {
    display: block;
    width: auto;
    margin-left: -20px;
    margin-right: -20px;
    padding: 30px 20px 35px;
  }
  .school-prod__block {
    margin-bottom: 25px;
    font-size: 24px;
    line-height: 29px;
  }
  .school-prod__name {
    margin-bottom: 25px;
  }
  .school-prod__desc {
    margin-bottom: 25px;
  }
  .school-prod__legend {
    width: 100%;
    min-height: 0;
    text-align: center;
  }
  .school-prod__to-cart .school-prod__btn {
    margin: 20px auto;
  }
}

.school-prods__legend {
  margin-bottom: 30px;
  text-align: center;
}

.school-prods__total-price {
  text-align: center;
  font-weight: 900;
  font-size: 24px;
  line-height: 29px;
}
.school-prods__total-price .school-prods__price {
  font-size: 36px;
  line-height: 44px;
  color: #641773;
}
.school-prods__total-price .school-prods__old-price {
  text-decoration: line-through;
}

/* main-question */
.main-question {
  min-height: 700px;
  padding: 100px 20px;
  background: url('../../img/pages/school/trainers-footer.png') 80% 100% no-repeat #884C93;
  background-size: auto;
  color: #000;
}
.main-question .title-h2 {
  margin: 0 0 110px;
}
.main-question .webform-submission-form {
  max-width: 480px;
  padding: 0;
}
.main-question .webform-section-title {
  margin-bottom: 55px;
  font-weight: 900;
  font-size: 24px;
  line-height: 29px;
}
.main-question .form-wrapper {
  margin: 0;
  padding: 0;
}
.main-question .form-wrapper .form-item {
  margin: 5px 0 0;
  padding: 0;
}
.main-question label.visually-hidden {
  display: none;
}
.main-question input.form-text,
.main-question input.form-email,
.main-question input.form-tel {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid;
  border-radius: 0;
  background: none;
  outline: none;
  color: inherit;
  font-size: 1em;
  line-height: 1;
}
.main-question .button {
  margin-top: 55px !important;
  padding: 0 !important;
  width: 250px;
  height: 60px;
  border: none;
  border-radius: 35px;
  background-color: #D9D9D9;
}
.main-question .button:hover {
  background: #BB1BE3;
}
.main-question .button:active {
  background: #641773;
}
@media (min-width: 768px) {
  .main-question .button {
    margin-right: 0;
  }
}
@media (max-width: 767px) {
  .main-question {
    height: auto;
    padding: 70px 20px 310px;
    background-position: 50% 110%;
    background-size: 400px auto;
    text-align: center;
  }
  .main-question .title-h2 {
    margin-bottom: 30px;
  }
  .main-question .webform-submission-form {
    margin: 0 auto;
  }
  .main-question .webform-section-title {
    font-weight: 900;
  }
}
