.about-section {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 10px;
}

.about-section section {
  display: flex;
  position: relative;
  gap: 40px;
  padding: 40px;
}

.about-section .footer-section {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

section#head > * {
  position: relative;
  z-index: 1;
}

section#head {
  padding-bottom: 80px;
}

section#head:before {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 612px;
  height: 612px;
  background: linear-gradient(135deg, rgba(192, 210, 255, 0.4) 0%, rgba(49, 107, 255, 0) 100%);
  filter: blur(122.49563598632812px);
}

.about-section {
  /*overflow: hidden;*/
}

#head {
  overflow: hidden;
}

@media (max-width: 950px) {
  .about-section .fixed-up-block {
    visibility: hidden;
  }
}

.about-section .fixed-up-block {
  align-items: flex-end;
  justify-content: center;
  display: flex;
  width: 195px;
  color: #064bfd;
  cursor: pointer;
  border: 1px solid #064bfd;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 40px;
  border-radius: 40px;
  padding: 10px 12px;
  gap: 4px;
  position: fixed;
  right: 40px;
  bottom: 10px;
  z-index: 10;
}

.fixed-up-btn {
  display: none;
  position: relative;
  z-index: 10;
}

.footer-section .contact-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 40px;
}

.contact-block span {
  color: #505050;
}

.contact-block p {
  color: #171717;
}

.main__bordered {
  border-top: 1px solid #bcbcbc;
  border-bottom: 1px solid #bcbcbc;
}

.main__bordered .hero-text {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  padding: 0 80px;
  margin: 40px 0;
}

.hero-text h2 {
  color: #171717;
  font-size: 28px;
  font-weight: 400;
  line-height: 150%;
}

.hero-text span {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
}

.hero-text em {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.about-section .main_full {
  display: block;
}

section .main__info {
  position: relative;
  width: 100%;
}

section .content {
  flex: 55% 1 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

section .main-img {
}

.main__info h2,
.schools-top h2 {
  color: #171717;
  font-size: 28px;
  font-weight: 400;
  line-height: 150%;
}

.about-section iframe {
  /*height: inherit;*/
}

.about-section section.youtbe-section {
  padding-top: 0;
}

.about-divider {
  border-bottom: 1px solid #bcbcbc;
  width: 100%;
  margin-top: 40px;
}

.main__info .question-list {
  margin-top: 40px;
}

.main__info .toggle-list {
  margin-top: 8px;
}

.main__info .toggle-list li {
  padding: 0;
}

.main__info ul .question-item {
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 8px;
  background: rgba(219, 229, 255, 0.8);
}

.content h2 {
  color: #171717;
  font-size: 28px;
  font-weight: 400;
  line-height: 150%;
}

.content h2 em {
  color: #fff;
  border-radius: 8px;
  background-color: #386ffd;
  padding: 10px 4px;
  white-space: nowrap;
}

.content span {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #505050;
}

.content .subtitle {
  margin-bottom: 8px;
  padding: 0px 4px;
  color: #fff;
  width: fit-content;
  border-radius: 4px;
  background-color: #386ffd;
}

.main__info .application-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  /* justify-content: space-between; */
  gap: 16px;
  margin-top: 40px;
}

.application-steps .apl-step {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #386ffd;
  backdrop-filter: blur(5px);
  width: 23%;
  display: flex;
  gap: 10px;
  align-self: stretch;
  justify-content: flex-start;
  flex-direction: column;
}

body .apl-step-blue p {
  color: #fff;
}

.api-step > div {
  border: 1px solid red;
}

.apl-step .step-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-shrink: 1;
}

.apl-step .step-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-shrink: 2;
  flex-grow: 2;
  height: 132px;
  max-height: 132px;
  padding: 0;
  margin-bottom: 8px;
  position: relative;
}

.apl-step .step-footer {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  position: relative;
  line-height: 20px;
  color: #171717;
  flex-shrink: 1;
}

.step-main .step-form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.step-form span {
  color: #bcbcbc;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 16px;
}

.step-form .like-input {
  height: 28px;
  border-radius: 8px;
  border: 1px solid #efefef;
  background: #f9f9f9;
  width: 195px;
}

.step-form .send-btn {
  padding: 8px 16px;
  margin-top: 8px;
  border-radius: 4px;
  border: 1px solid #ccdaff;
  background: #e2eaff;
  height: auto;
  color: #84a0ee;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  width: fit-content;
}

.step-form .img {
  position: absolute;
  top: 61px;
  left: -5px;
}

.step-main .step-form .check {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.step-form .check .box {
  margin-left: 5px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #f9f9f9;
}

.step-form .check .box .done {
  position: absolute;
  left: 8px;
}

.step-form .check .circle {
  position: absolute;
  top: -2px;
  left: 1px;
}

.step-main .button {
  position: absolute;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid #ccdaff;
  background: #e2eaff;
  height: auto;
  color: #84a0ee;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.step-main .x-cards {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.step-main .boxes {
  display: flex;
  flex-wrap: wrap;
  height: 140px;
  overflow: hidden;
  position: relative;
  gap: 8px;
  flex: 1;
}

.step-main .textarea-box {
  display: flex;
  width: 100%;
  height: 115px;
  align-items: flex-end;
  border-radius: 8px;
  border: 1px solid #efefef;
  background: #f9f9f9;
}

.textarea-box svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.textarea-box span {
  padding-bottom: 20px;
  padding-left: 20px;
  color: #bcbcbc;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 16px;
}

.step-main .decision-box {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 8px;
}

.decision-box span {
  padding: 4px 12px;
  border-radius: 99px;
  background: #f9f9f9;
  border: 1px solid #efefef;
  color: #bcbcbc;
}

.decision-box svg {
  position: absolute;
  left: 20px;
  top: 20px;
}

img.main-img {
  align-self: center;
}

.boxes .grey-card {
  width: 42%;
  height: 80px;
  display: flex;
  justify-content: center;
  padding-bottom: 8px;
  align-items: flex-end;
  position: relative;
  background: #f9f9f9;
}

.grey-card .button {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px #efefef solid;
  background: #efefef;
  font-size: 7px;
  font-weight: 400;
  line-height: 20px;
  color: #bcbcbc;
}

.grey-card .active {
  position: relative;
  border: 1px solid #ccdaff;
  background: #e2eaff;
  height: auto;
  color: #84a0ee;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.grey-card svg {
  position: absolute;
  top: 22px;
}

.x-cards .x-cards_item:first-of-type {
  border: 1px solid #efefef;
  background: #f9f9f9;
  opacity: 0.7;
}

.x-cards .x-cards_item:first-of-type span {
  color: #bcbcbc;
}

.x-cards .x-cards_item:last-of-type {
  border: 1px solid #efefef;
  background: #f9f9f9;
  opacity: 0.7;
}

.x-cards .x-cards_item:last-of-type span {
  color: #bcbcbc;
}

.x-cards .x-cards_item {
  border-radius: 8px;
  border: 1px solid #ccdaff;
  background: #e2eaff;
  padding: 21px 6.5px 8px 6.5px;
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.x-cards .x-cards_item span {
  color: #84a0ee;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.apl-step-blue {
  background-color: #386ffd;
}

.apl-step-blue .step-header span {
  background-color: #fff;
  color: #386ffd;
}

.apl-step-blue .step-footer {
  color: #fff;
  padding-bottom: 25px;
}

@media (min-width: 660px) and (max-width: 1100px) {
  .application-steps .apl-step {
    flex: 45% 1 1;
  }
}

.apl-step-blue .step-header div {
  border: 1px solid #fff;
  color: #fff;
}

.step-header span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: #386ffd;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.step-header div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-width: 45px;
  width: fit-content;
  height: 24px;
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  border: 1px solid #386ffd;
  border-radius: 99px;
}

.application-steps img {
  position: absolute;
  left: 20px;
  top: -40px;
}

.apl-step h3 {
  margin-top: 16px;
}

.apl-step p {
  font-size: 14px;
  font-weight: 400;
  color: #171717;
  line-height: 20px;
  margin-top: 8px;
}

.main__info .courses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 40px;
  position: relative;
  z-index: 10;
  background: url('../img/doodle.png') bottom left no-repeat;
  padding-bottom: 12px;
}

.main__info .courses li a {
  background-color: white;
  border-radius: 40px;
  padding: 10px 12px;
  color: #064bfd;
  border: 1px solid #064bfd;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
}

.main__info .courses li {
  display: block;
}

.main__info .courses li:last-child a {
  background-color: #064bfd;
  color: #fff;
}

.main__info .cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 24px;
  margin-top: 32px;
}

.main__info .img-link {
  position: absolute;
  top: 8px;
  left: 135px;
}

.main__info .program-info-block {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}

.program-info-block .info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #171717;
  padding: 16px 0;
}

.info-item svg {
  margin-top: 5px;
  flex-basis: 3%;
}

.info-item div {
  flex: 90% 1 1;
}

.info-item span {
  margin-top: 4px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  color: #505050;
}

.cards .info-card {
  padding: 16px;
  flex: 30% 1 1;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  align-items: flex-start;
  gap: 16px;
  border-radius: 10px;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 8px;
}

.info-card span {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.info-card svg {
  margin-bottom: 16px;
}

.cards .card__yellow {
  background-color: #e4ff94;
}

.cards .card__blue {
  background-color: #dbe5ff;
}

.cards .card__pink {
  background-color: #edcdfc;
}

.to-highlight {
  background-color: #386ffd;
  padding: 12px 10px;
  font-size: 28px;
  line-height: 150%;
  color: #ffffff;
  backdrop-filter: blur(2px);
}

.schools {
  background: rgba(219, 229, 255, 0.8);
  flex-direction: column;
  justify-content: center;
}

.schools .schools-top {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.program-info-block .info-item {
  position: relative;
}

.program-info-block .info-item:before {
  position: absolute;
  left: 14px;
  top: 42px;
  bottom: -18px;
  width: 1px;
  background: rgb(56 111 253 / 30%);
  content: '';
}

.program-info-block .info-item:last-child:before {
  display: none;
}

.schools .school-bottom {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.schools-top p {
  text-align: center;
}

.schools-top p em {
  color: #064bfd;
  font-weight: 600;
}

.schools-top a {
  display: flex;
  gap: 4px;
  border: 1px solid #064bfd;
  color: #064bfd;
  border-radius: 40px;
  backdrop-filter: blur(2px);
  padding: 10px 12px;
}

.application-steps-bottom .btn {
  background: #064bfd;
  border-radius: 40px;
}

.application-steps-bottom {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.application-steps-bottom {
}

section.footer-section img {
  display: block;
  margin: 0 auto;
}

a.about-info {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #505050;
  line-height: 20px;
  border-bottom: 1px solid #efefef;
}

@media (max-width: 820px) {
  .application-steps .apl-step {
    flex: 60% 1 1;
  }

  section.footer-section {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  section.footer-section img {
    margin: 0 auto;
  }

  .cards .info-card {
    flex: 100% 1 1;
  }

  .about-section section {
    display: block;
  }

  img.main-img {
    display: block;
    margin: 24px auto;
  }

  .content h2 em {
    display: inline-flex;
    padding: 4px;
  }

  .content h2 {
    font-size: 22px;
  }

  section#head:before {
    bottom: -50px;
    top: inherit;
    left: 0;
    right: 0;
  }

  .cards .info-card {
    flex: 1;
    margin-bottom: 24px;
  }

  .main__info .cards {
    display: block;
  }

  .info-card svg {
    margin: 0;
  }

  .main__info .courses {
    background-position-y: center;
  }
}

.current .events .card {
  display: flex;
  flex-direction: column;
}

.current .events .card > a {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.current .events .card .event-list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.current .events .card .event-list-content h4 {
  flex: 1;
}
