@import "@/styles/variables";
@import "@/styles/mixins";

.joinUsSwiper {
  :global(.swiper-container) {
    border-radius: $radius;
    height: 20rem;
  }

  :global(.swiper-button-prev),
  :global(.swiper-button-next) {
    text-align: center;
    color: $white;
    font-weight: $regular;
    opacity: 1;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;

    i {
      font-size: 2.5rem;
      width: 2.5rem;
      height: 2.5rem;
      line-height: 2.5rem;
    }

    &:after {
      display: none;
    }
  }

  :global(.swiper-button-prev) {
    left: 1rem;
    transform: rotate(180deg);
  }

  :global(.swiper-button-next) {
    right: 1rem;
  }
}

.swiperBox {
  position: relative;
}

.swiperCard {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0 3.75rem;
  text-align: center;
  color: $white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;

  &:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba($blue-dark, 0.4);
  }

  p {
    @include p1();
    color: rgba($white, 0.8);
  }

  .text {
    position: relative;
    z-index: 2;
    word-break: break-word;
  }
}
