.stylized-character {
  padding: 80px 0 100px;

  .hero {
    min-height: 95vh;
  }
  .hero_bg {
    max-width: none;
    top: -230px;
    left: 45px;
    width: 130%;
    right: unset;
  }
  .hero_bg_wrapper {
    &:after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        to bottom,
        rgba(27, 27, 27, 0) 0%,
        rgba(27, 27, 27, 0.2) 70%,
        rgba(27, 27, 27, 0.7) 80%,
        rgba(27, 27, 27, 1) 100%
      );
      background-image: linear-gradient(
        to bottom,
        rgba(27, 27, 27, 0) 0%,
        rgba(27, 27, 27, 0) 80%,
        rgba(27, 27, 27, 1) 100%
      );
      pointer-events: none;
    }
  }

  .hero_bg_mobile {
    width: 160%;
    height: 100%;
    position: absolute;
    top: 0;
    background-size: cover;
    background-position: 0 30%;
    background-repeat: no-repeat;
  }

  .title_hero {
    font-size: 50px;
    span {
      font-size: 54px;
    }
  }

  .after_bg {
    top: 30px;
    width: 600px;
    left: -90px;
  }

  .after-r_wrap {
    padding: 0;
  }

  .course-fits {
    .after_bg {
      top: -80px;
      width: 770px;
      left: -90px;
    }
  }

  .course-fit__bottom-item span {
    background: var(--gray);
    color: #fff;
  }

  .tarif__banner {
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
  }

  .tarif__item {
    position: relative;
    width: 100%;
    background-image: none;
    background-size: 110%;
    background-repeat: no-repeat;
    background-position: bottom 45px right -145px;
  }

  .price-desc {
    font-size: 16px;
  }

  .plan {
    background-position: top -70px right;
    background-size: auto 50em;
    background-repeat: no-repeat;
    padding: 0 0 25px;
  }
  .about__inner {
    min-height: 675px;
    display: flex;
  }
  .about_wrap {
    flex: 1 1;
  }
  .about-r {
    justify-content: end;
  }
  .about-img {
    max-width: 583px;
    left: 15%;
  }

  .stay_column.flex {
    flex: 100%;
  }
  .stay_wrapper {
    min-width: 100%;
  }
}

/* default desktop */

/* tablet */

/* mobile */

/* ============ Responsive ============ */

@media screen and (min-width: 1441px) {
  .stylized-character {
    .hero_bg {
      top: -150px;
      left: 350px;
      width: 100%;
    }
  }
}

@media screen and (min-width: 2000px) {
  .stylized-character {
    .hero_bg {
      top: -350px;
      left: 350px;
    }
  }
}

@media screen and (min-width: 2560px) {
  .stylized-character {
    .hero_bg {
      top: -400px;
      left: 400px;
    }
  }
}

@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 1220px) {
  .stylized-character {
    .hero_bg {
      top: -130px;
      width: 135%;
      left: 25px;
    }
    .plan {
      min-height: 550px;
    }

    .title_hero {
      font-size: 40px;
      span {
        font-size: 44px;
      }
    }
    .course-fits {
      .after_bg {
        top: -20px;
        width: 800px;
        left: -90px;
      }
    }
  }
}

@media screen and (max-width: 1044px) {
  .stylized-character {
    .hero_bg {
      bottom: unset;
    }
    .hero {
      min-height: 90vh;
    }

    .title_hero {
      font-size: 32px;
      span {
        font-size: 36px;
      }
    }
    .course-fits {
      .after_bg {
        width: 700px;
        left: -175px;
      }
    }

    .after_bg {
      width: 500px;
      left: -100px;
      top: 45px;
    }

    .tarif__item {
      background-size: 115%;
      background-position: bottom 45px right -130px;
    }

    .about__inner {
      min-height: 600px;
    }
  }
}

@media screen and (max-width: 840px) {
  .stylized-character {
    padding: 78px 0 70px;

    .hero_bg {
      top: 0;
    }
    .hero_bottom-l {
      .white-btn {
        margin-top: 30px !important;
      }
    }
    .title_hero {
      font-size: 24px;
      span {
        font-size: 26px;
      }
    }
    .after_bg {
      max-width: none;
      left: 0;
      width: 100%;
    }
    .hero_bottom {
      width: 70%;
    }
    .hero_bottom-l {
      width: 100%;
    }
    .course-fits {
      .after_bg {
        top: -35px;
        width: 100%;
        left: 75px;
      }
    }
    .course-fit {
      margin-top: 30px;
    }

    .tarif__item {
      background-size: 148%;
      background-position: top -150px right -300px;
      background-blend-mode: multiply;
    }

    .tarif__item:first-child {
      background-position: top 0px right -300px;
      background-size: 158%;
    }
    .about__inner {
      min-height: 400px;
    }

    .plan-content-title,
    .plan-content-time {
      font-size: 14px;
    }
    .about-img {
      max-width: 400px;
      left: 30%;
    }
  }
}

@media screen and (max-width: 640px) {
  .stylized-character {
    .hero_bg {
      display: none;
    }
    .hero_bottom {
      width: 85%;
    }
    .hero_bg_mobile {
      background-position: 0px 20%;
      width: 150%;
    }
    .course-fits {
      .after_bg {
        top: -25px;
        width: 100%;
        left: unset;
        right: -100px;

        img {
          transform: none !important;
        }
      }
    }
    .about-img {
      left: unset;
      width: 90%;
      bottom: unset;
      top: 70px;
    }
    .tarif__item:first-child {
      background-position: top 40px right -220px;
      background-size: 158%;
    }
    .tarif__item:nth-child(2) {
      background-size: 152%;
      background-position: top -50px right -220px;
    }
    .tarif__item-t ul li > div {
      color: var(--light);
    }
    .plan-bottom__wrap-i {
      gap: 5px;
    }
    .plan-content-header {
      min-width: 0;
      max-width: none;
    }
    .plan {
      background-position: top -55px center;
      background-size: auto 45em;
      padding: 0;
    }
  }
}

@media screen and (max-width: 430px) {
  .stylized-character {
    padding-bottom: 40px;

    .hero_bg {
      display: none;
    }
    .hero_bottom {
      width: 100%;
    }
    .hero_bg_mobile {
      bottom: 0;
      background-position: left -70px top 0px;
      top: unset;
      background-size: 135%;
    }
    .course-fits {
      .after_bg {
        top: -25px;
        width: 128%;
        right: -150px;
      }
    }
    .tarif--border,
    .price-desc {
      font-size: 14px;
    }
    .tarif__item-t ul {
      gap: 9px;
    }

    .tarif__item:first-child {
      background-position: top 50px right -210px;
      background-size: 180%;
    }
    .tarif__item:nth-child(2) {
      background-size: 170%;
      background-position: top -100px right -250px;
    }
    .about_wrap {
      min-height: 470px;
    }
    .about-img {
      top: 90px;
      right: 5%;
      width: 80%;
    }
    .plan {
      background-position: top 5px right -23px;
      background-size: auto 21em;
    }
  }
}

@media screen and (max-width: 360px) {
  .stylized-character {
    .hero {
      padding-bottom: 30px;
    }

    .title_hero {
      font-size: 20px;
      span {
        font-size: 24px;
      }
    }
    .hero_bottom-l {
      padding: 30px 20px;
      gap: 18px;
      .white-btn {
        margin-top: 20px !important;
      }
    }
    .tarif__item:nth-child(2) {
      background-size: 185%;
      background-position: top -40px right -235px;
    }
    .tarif__item:first-child {
      background-position: top 70px right -200px;
    }
    .hero_bottom-text,
    .hero_bottom-text span {
      font-size: 14px;
    }
  }
}
