@use "../abstracts/abstracts_all" as *;

/* Main Section
======================*/
.main_section {
  padding: 0;
  background: url(../images/bc.jpg) center no-repeat;
  background-size: cover;
  @include mediaquery(max, desktop) {
    margin-top: 70px;
  }
  .caption {
    height: 100%;
    width: 100%;
    text-align: center;
    @include flex(column, center, center);
    background-color: rgba($black_color, 0.9);
    color: #fff;
    padding: 220px 0 140px;
    h1 {
      color: $main_color;
      font-size: 42px;
      letter-spacing: 2px;
      font-weight: $weight_xbold;
      margin: 0 0 30px;
      max-width: 780px;
      line-height: 50px;
      text-transform: uppercase;
    }
    p {
      max-width: 720px;
      margin: 0;
      font-size: 22px;
      letter-spacing: 2px;
    }
    .link {
      margin-top: 35px;
    }
    @include mediaquery(max, desktop) {
      padding: 120px 60px;
    }
    @include mediaquery(max, tablet) {
      padding: 60px;
      h1 {
        font-size: 26px;
        letter-spacing: 1px;
        margin: 0 0 15px;
        line-height: 30px;
      }
      p {
        font-size: 16px;
      }
    }
    @include mediaquery(max, mobile) {
      padding: 30px;
      h1 {
        font-size: 18px;
        letter-spacing: 0.5px;
        line-height: 25px;
      }
      p {
        letter-spacing: 0;
        font-size: 15px;
        padding: 0 10px;
      }
    }
  }

  .carousel,
  .carousel-item,
  .carousel-inner {
    width: 100%;
    height: 100%;
  }
  .carousel-control-next,
  .carousel-control-prev {
    position: absolute;
    position: absolute;
    inset: 0px 25px 0px auto;
    margin: auto;
    opacity: 1;
    right: 15px;
    font-size: 16px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #fff1;
    @include border_radius(50%);
    i {
      line-height: 40px;
    }
    @include mediaquery(max, mobile) {
      right: 5px;
      font-size: 12px;
      width: 30px;
      height: 30px;
      line-height: 30px;
      i {
        line-height: 30px;
      }
    }
  }
  .carousel-control-prev {
    left: 15px;
    right: auto;
    @include mediaquery(max, mobile) {
      left: 5px;
    }
  }
}
.hint_wrap {
  background-color: $main_color;
  position: relative;
  padding: 30px 0;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -30px;
    border: 15px solid transparent;
    border-bottom-color: $main_color;
    width: 30px;
    height: 30px;
    margin: auto;
  }
  .hint {
    text-align: center;
    color: $black_color;
    font-size: 32px;
    line-height: 40px;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin: auto;
    @include mediaquery(max, mobile) {
      line-height: 25px;
      font-size: 18px;
    }
  }
}
