/*/ popup__lesson /*/

.popup__lesson .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 47px;
  height: 100%;
  max-width: 1573px;
}

.popup__lesson-link {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding: 17px 24px;
  background: linear-gradient(90deg, #79cfff 0%, #00aeff 100%);
  color: #fff;
  border-radius: 40px;
  line-height: normal;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  position: relative;
}

.popup__lesson-link svg {
  margin-top: -2px;
}

/*/ popup__lesson /*/

.header__item-link:hover {
  opacity: 0.7;
}

.main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100svh - 232px);
}

.course {
  display: flex;
  justify-content: center;
  align-items: center;
}
.course:first-child{
  display: flex;
}
.course .container {
  max-width: 1772px;
}

.course__inner {
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.course__descr {
  background: #f2f1f3;
  padding: 25px 22px 30px;
  border-radius: 20px;
  display: flex;
  position: relative;
  z-index: -2;
  flex-direction: column;
}

.popup__auth-title {
  text-align: center;
  font-size: 30px;
  letter-spacing: calc(30px / 10);
  font-family: "Bebas Neue", sans-serif;
}

.popup__lesson-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: calc(13px / 20);
  font-family: "Montserrat", sans-serif;
  margin-top: 16px;
}

.course__descr-btn {
  display: block;
  margin-top: auto;
  background: transparent;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: calc(20px / 20);
  padding: 19.5px 0;
  color: #fff;
  min-width: 254px;
  border-radius: 15px;
  align-self: center;
  position: relative;
  background-size: 100% 100%;
}

.course__content {
  min-width: 963px;
  height: 503px;
  position: relative;
  border-radius: 15px;
}

.course__content-inner {
  position: absolute;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  top: 5px;
  left: 5px;
  background: #f2f1f3;
  border-radius: 15px;
  z-index: 3;
  opacity: 1;
  z-index: 1;
  transition: 0.3s all ease;
  background-position: center;
  background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><rect rx='15' width='100%' height='100%' style='fill: none; stroke: skyblue; stroke-width: 1.5; stroke-dasharray: 8'/></svg>");
    overflow: hidden;
}

.course__content-inner::before {
  content: "";
  z-index: -1;
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background: url("../new-img/course__content-back.png") no-repeat;
  background-size: 100% 100%;
  filter: blur(40px);
  opacity: 0.7;
}

.course__content-inner.unvisible {
  opacity: 0;
  z-index: -5;
}

.course__content-inner.unvisible ~ .course__content-video {
  opacity: 1;
}

.course__content-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
  opacity: 0;
  transition: 0.3s all ease;
}

.course__content {
  background: #f2f1f3;
}

.course__content-toptitle {
  font-size: 15px;
  font-weight: bold;
  letter-spacing: calc(15px / 10);
  color: #969696;
}

.course__content-icon {
  cursor: pointer;
  margin: 76px 0px 15px;
  transition: 0.3s all ease;
}

.course__content-icon:hover {
  opacity: 0.7;
}

.course__content-title {
  margin-top: 60px;
  margin-bottom: -65px;
  text-align: center;
}

.course__content-toptitle {
  margin-bottom: -55px;
}

.course__footer {
  position: fixed;
  bottom: 0;
  background: linear-gradient(90deg, #79cfff 0%, #00aeff 100%);
  border-radius: 40px 40px 0px 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: -5;
  /* position: relative; */
  z-index: 5;
}
@media(min-width:1601px){
  .course__footer{
    position: fixed;
  }
}
.course__footer-inner {
  max-width: 832px;
  padding: 18px 0 27px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.course__footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  letter-spacing: calc(15px / 10);
  text-align: center;
}

.course__footer-btn {
  padding: 14px 0px;
  min-width: 139px;
  background-image: unset !important;
  border-radius: 40px !important;
  background: transparent;
  margin-right: -20px;
}

.course__footer-btn:last-child {
  margin-right: 0px;
}

.course__footer-btns {
  background: #85d7ff;
  border-radius: 40px;
}

.course__footer-btn.active {
  background: #fff !important;
}

.course__footer-btn.active .course__footer-text {
  background-image: linear-gradient(90deg, #79cfff 0%, #00aeff 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.course__footer-text {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  letter-spacing: calc(12px / 20);
}

.course__descr-inner {
  display: none;
}
.course-wrap{
  margin-top: 160px;
}
@media (max-width: 1750px) {
  .course__descr {
    display: none;
  }
  .course__inner {
    flex-direction: column;
    margin-bottom: 30px;
  }
  .course__descr-inner {
    display: flex;
    gap: 11px;
  }
  .course__descr-inner .course__descr {
    display: flex;
    width: 100%;
    flex-direction: column;
    z-index: 2;
    min-height: 320px;
  }
  .popup__lesson-text {
    margin-bottom: 30px;
  }

  .main {
    height: 100%;
    margin-top: 90px;
  }
  .course__descr-btn {
    z-index: 5;
  }
}
.popup__lesson{
  height: 100%;
  padding-bottom: 80px;
}
@media(max-width:1600px){
  .course-wrap{
    padding-bottom: 200px;
  }
}
@media (max-width: 1280px) {
  .course__content {
    min-width: unset;
    width: 100%;
    height: 393px;
  }
}

@media (max-width: 1080px) {
  .popup__lessong-img {
    display: block;
  }
}

@media (max-width: 813px) {
  button::before {
    content: unset;
  }
  .popup__lesson {
    height: max-content;
    transform: translateY(-200%);
    -webkit-transform: translateY(-200%);
    -moz-transform: translateY(-200%);
    -o-transform: translateY(-200%);
    -ms-transform: translateY(-200%);
    position: absolute;
  }
  .course__descr-inner {
    flex-direction: column;
    gap: 30px;
  }
  .course__footer-btns {
    display: none;
  }
  .course__footer-btn.active {
    z-index: 5;
    position: relative;
    border-radius: 20px;
  }
  .swiper-slide.active,
  .swiper-slide-active {
    z-index: 5;
  }
  .course__footer-btn {
    width: 100%;
    background: #85d7ff;
    border-radius: 0px;
    transition: 0.3s color ease;
  }
  .swiper-slide:first-child .course__footer-btn {
    border-radius: 20px 0px 0px 20px;
  }
  .swiper-slide:last-child .course__footer-btn {
    border-radius: 0px 20px 20px 0px;
  }
  .swiper-footer1,
  .swiper-footer2 {
    width: 100%;
    border-radius: 20px;
  }
  .swiper-footer1 .swiper-slide,
  .swiper-footer2 .swiper-slide {
    margin-right: -20px;
  }
  .course__footer {
    justify-content: unset;
    border-radius: 15px 15px 0px 0px;
  }
  .course__footer .container {
    width: 100%;
  }
  .course__content-title {
    font-size: 30px;
    letter-spacing: calc(30px / 10);
    padding: 0 5px;
    text-align: center;
  }
  .course__content-icon {
    width: 80px;
  }
  .course__content-toptitle {
    font-size: 13px;
    letter-spacing: calc(13px / 10);
  }
}
.course-wrap{
  display: block;
}
.course{
  display: none !important;
}
.course.active{
  display: flex !important;
}
.course__btn-download{
   display: block;
  margin-top: auto;
  background: transparent;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: calc(20px / 20);
  padding: 19.5px 0;
  color: #fff;
  min-width: 254px;
  border-radius: 15px;
  align-self: center;
  position: relative;
  background-size: 100% 100%;
  background-image: url('../new-img/btn__small.png') !important;
  border-radius: 0px !important;
  background-color: transparent !important;
  text-align: center;
}
.lesson-btn__col{
  display: none;
}
.lesson-btn__col.active{
  display: block;
}
.course__footer-btns{
  display: flex;
}
.wpcf7 form .wpcf7-response-output{
  display: none !important;
}
@media(max-width:813px){
  .course__footer-btns-modul{
    display: flex;
    overflow-x: scroll;
    flex-wrap: nowrap;
  }
  .lesson-btn__wrap{
    display: block;
  }
  .lesson-btn__col.active{
    display: flex;
    overflow-x: scroll;
    flex-wrap: nowrap;
  }
}
.footer{
  display: none;
}
@media(max-width:736px){
  .course__footer{
    position: fixed;
    left: 0;
    bottom:0;
  }
  .course-wrap{
    padding-bottom: 194px;
  }
  .course__footer-text{
    font-size: 10px;
  }
  .popup__lesson{
    position: fixed;
    height: 100%;
    padding-bottom: 60px;
  }
  .popup__lesson .container{
    overflow-y: auto;
  }
}