/* -------------------courses---------------------- */
.courses {
  padding: 160px 0 60px;
}
.courses__title-bottom {
  font-size: 24px;
  line-height: 133%;
  margin-top: 22px;
}
.courses__subtitle {
  padding-bottom: 0;
  margin-top: 22px;
}
.tabs {
  display: flex;
  justify-content: center;
  font-size: 18px;
  margin: 32px auto 34px;
}
.tab {
  margin: 0 8px;
}
.tab-active {
  font-weight: 700;
  border-bottom: 2px solid var(--c-green);
}
.tab-link {
  padding: 0 7px 5px;
  display: flex;
}
.courses-img__bg1 {
  right: -356px;
  top: auto;
  bottom: -333px;
}
.courses-img__bg2 {
  width: 462px;
  height: 462px;
  background: url(../img/icons/dots_460x460.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  left: -334px;
  top: -50px;
  z-index: -1;
}
.courses-img__bg3 {
  width: 261px;
  height: 261px;
  background: url(../img/icons/gray_elips_50pt_261x261.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  right: -263px;
  top: -34px;
  z-index: -1;
}
/* ------------------speakers---------------------- */
.speakers {
  padding: 60px 0 122px;
}
.speakers__container {
  position: relative;
}
.reviews__subtitle {
  max-width: 751px;
  margin: 30px auto 0;
}
.speakers-img__bg1 {
  width: 462px;
  height: 462px;
  background: url(../img/icons/dots_460x460.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  left: -411px;
  bottom: -155px;
  z-index: -1;
}
/* ------------------------reviews--------------------------- */
.reviews {
  background: rgba(234, 234, 234, 0.6) url(../img/review2.png) no-repeat center right;
  background-size: auto 100%;
}
@media screen and (max-width: 1300px) {
  .courses {
    padding: 140px 0 50px;
  }
  .courses__title-bottom {
    font-size: 21px;
    margin-top: 19px;
  }
  .courses__subtitle {
    margin-top: 19px;
    margin-bottom: 0;
  }
  .tabs {
    font-size: 16px;
    margin: 28px auto 30px;
  }
  .courses-img__bg1 {
    right: -311px;
    bottom: -290px;
  }
  .courses-img__bg2 {
    width: 403px;
    height: 403px;
    left: -292px;
    top: -44px;
  }
  .courses-img__bg3 {
    width: 228px;
    height: 228px;
    right: -230px;
    top: -30px;
  }
}
@media screen and (max-width: 1150px) {
  .courses {
    padding: 120px 0 40px;
  }
  .courses__title-bottom {
    font-size: 18px;
    margin-top: 16px;
  }
  .courses__subtitle {
    margin-top: 16px;
  }
  .tabs {
    font-size: 14px;
    margin: 24px auto 25px;
  }
  .courses-img__bg1 {
    width: 351px;
    height: 351px;
    right: -271px;
    bottom: -253px;
  }
  .courses-img__bg2 {
    width: 351px;
    height: 351px;
    left: -255px;
    top: -38px;
  }
  .courses-img__bg3 {
    width: 199px;
    height: 199px;
    right: -200px;
    top: -26px;
  }
}
@media screen and (max-width: 970px) {
  .courses {
    padding: 90px 0 0px;
  }
  .courses__title-bottom {
    font-size: 16px;
    margin-top: 8px;
  }
  .tabs {
    margin: 16px auto 25px;
  }
}
@media screen and (max-width: 850px) {
  .courses {
    padding: 75px 0 0px;
  }
  .tabs-box {
    margin: 0 -16px;
    overflow: hidden;
    overflow-x: visible;
    scrollbar-width: none;
    padding: 0 11px;
  }
  .tabs-box::-webkit-scrollbar {
    scrollbar-width: thin;
    width: 0px;
    display: none;
  }
  .tabs {
    width: max-content;
  }
  .tabs-box::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 0;
    display: none;
  }
  .tabs-box::-webkit-scrollbar-thumb:hover {
    background: transparent;
    display: none;
  }
  .tabs-box::-webkit-scrollbar-track {
    background: transparent;
    display: none;
  }
  .tab-link {
    padding: 0 5px 3px;
  }
  .tab {
    margin: 0 5px;
  }
  .courses__title-bottom {
    font-size: 14px;
  }
  .courses__subtitle br {
    display: none;
  }
  .speakers {
    padding: 64px 0;
  }
  .speakers-img__bg1 {
    display: none;
  }
  .courses-img__bg1 {
    width: 250px;
    height: 250px;
    right: -140px;
    bottom: -155px;
  }
  .courses-img__bg2 {
    width: 250px;
    height: 250px;
    left: -174px;
    top: 75px;
  }
  .courses-img__bg3 {
    width: 250px;
    height: 250px;
    right: -167px;
    top: -40px;
    background: url(../img/icons/dots_460x460.svg) no-repeat center;
    background-size: contain;
  }
  .reviews {
    background: #eeeef0;
  }
  .reviews__subtitle {
    margin: 0px auto 24px;
  }
  .reviews__title {
    margin-bottom: 8px;
  }
}
