@font-face {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: 300;
  src: local("ProximaNova-Light"), local("Proxima Nova Light"), url("../fonts/ProximaNova-Light.woff") format("woff"); }

@font-face {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: 400;
  src: local("ProximaNova-Regular"), local("Proxima Nova Regular"), url("../fonts/ProximaNova-Regular.woff") format("woff"); }

@font-face {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: 500;
  src: local("ProximaNova-Semibold"), local("Proxima Nova Semibold"), url("../fonts/ProximaNova-Semibold.woff") format("woff"); }

@font-face {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: 600;
  src: local("ProximaNova-Bold"), local("Proxima Nova Bold"), url("../fonts/ProximaNova-Bold.woff") format("woff"); }

@font-face {
  font-family: "slick";
  font-weight: normal;
  font-style: normal;
  src: slick-font-url("slick.woff") format("woff"); }

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  src: local("PT Serif"), local("PTSerif-Regular"), url("../fonts/PTSerif.woff2") format("woff2"); }

.lesson {
  font-family: 'ProximaNova', "PT Serif", Helvetica;
  width: 1210px;
  padding: 0 15px;
  margin: 0 auto;
}

.lesson__theme{
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: #bcb9b3;
  text-align: center;
}

.lesson__title{
  font-size: 40px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -.02em;
  text-align: center;
}

.lesson__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 -2px;
  padding: 0 0 20px 0;
  border-bottom: 1px solid #dfe4f2;
}

.lesson__link {
  position: relative;
  display: inline-block;
  width: max-content;
  font-weight: 600;
  font-size: 14px;
  line-height: normal;
  box-sizing: border-box;
  padding: 5px 15px;
  color: #6f7994 !important;
  border-radius: 20px;
  border: 1px solid #cfd5e6;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .05);

}

.lesson__link--active {
  color: #fff !important;
  background-color: #4295fa;
  box-shadow: 0 6px 7px rgba(66, 149, 250, .25);
}

.lesson__heading {
  padding: 39px 0 25px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
}

.lesson__description {
  font-size: 20px;
  line-height: 140%;
}

.lesson__author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 19px 0 14px;
}

.lesson__author-avatar {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.lesson__author-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  font-weight: 400;
  color: #1a1814;
  font-size: 14px;
  line-height: 1.57;
  /* transition: 0.3s;

  &:hover {
    color: #f79a15;
  } */
}

.lesson__author-name {
  font-weight: 700;
  color: #1a1814;
}

.lesson__author-position {
  color: #bcb9b3;
}

.lesson__video {
  width: 688px;
  height: 387px;
  margin: 0 auto;
}

.lesson__video-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.lesson__content {
  margin: 30px 60px;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.56em;
  color: #474d5e;

  > p:first-of-type {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #549ffa;
  }

  + h3 {
    margin-bottom: 20px;
  }

  h4 {
    font-weight: bold;
  }
}

.lesson__content a {
  color: #2386ff;
}

.LessonImportant_summary {
  font-size: 18px;
  line-height: 28px;
  border-left: 5px solid #61c75f;
  padding: 25px;
  background-color: #f6f7f9;
  color: var(--warmGray10);
  margin-bottom: 15px;
}

.LectureNavigation {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: auto;
  margin-top: 40px;
  margin-bottom: 80px;
  padding: 60px 100px 60px 50px;
  background-color: #0095ff;
  color: white;
  border-radius: 24px;

  a {
    color: white;

    svg {
      position: absolute;
      right: 75px;
      top: 50%;
      transform: translateY(-50%) rotate(180deg) scale(2.5);
      width: 10px;
      height: 17px;
      background: white;
      padding: 6px 10px;
      box-sizing: content-box;
      border-radius: 50%;

      path {
        fill: #0095ff;
      }
    }
  }
}

.caps-header {
  font-size: 32px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -1%;
}

footer {
  margin-top: 0 !important;
}



@media screen and (width <= 530px) {
  html {
    min-width: auto;
  }

  .header__bottom {
    margin-top: 20px;
  }

  .header__logo-bottom {
    width: 40%;
  }

  .lesson {
    width: 95%;
    padding: 0;
  }

  .lesson__theme{
    margin-top: 30px;
    font-size: 16px;
  }

  .lesson__title{
    font-size: 32px;
    line-height: 110%;
  }

  .lesson__heading {
    font-size: 28px;
  }

  .lesson__description {
    font-size: 18px;
    line-height: 120%;
  }

  .lesson__author {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 19px 0 14px;
  }

  .lesson__video {
    width: auto;
    height: 250px;
  }

  .lesson__content {
    margin: 30px 0;
  }

  .LessonImportant_summary {
    font-size: 16px;
    line-height: 24px;
    padding: 15px;
    margin-bottom: 10px;
  }

  .LectureNavigation {
    margin-top: 40px;
    margin-bottom: 60px;
    padding: 40px 60px 40px 30px;

    a {
      svg {
        position: absolute;
        right: 25px;
        transform: translateY(-50%) rotate(180deg) scale(1.7);
      }
    }
  }
  .container {
    width: auto;
  }

  .caps-header {
    font-size: 28px;
    line-height: 36px;
  }

  .LessonTitle {
    font-size: 20px;
    line-height: 1.2;
  }
  .callback__form {
    grid-template-columns: repeat(1, 1fr);
  }

  .callback__form::before {
    top: -68px;
    right: -65px;
    background-size: contain;
  }

  .callback__title {
    width: auto;
    grid-column: 1/1;
  }
  .hire-purchase {
    grid-column: 1/1;
  }

  .callback__permission {
    grid-column: 1/1;
  }

  .callback__permission-text:last-of-type {
    width: auto;
  }

  .callback__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
    max-width: 350px;
  }

  .callback__form-label {
    width: 100%;
  }

  .callback__button {
    margin-top: 20px;
  }

  .footer__wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0;
  }

  .footer__callback {
    margin-left: 0;
  }

  .footer__logo {
    display: none;
  }
}
