@import 'src/styles/variables.scss';

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border-radius: $radius $radius 0 0;
  overflow: hidden;

  :global(.swiper-container) {
    width: 100%;
  }

  :global(.swiper-button-next),
  :global(.swiper-button-prev) {
    color: white;
    font-size: 10px;

    &::after {
      font-size: 32px;
    }
  }
}

.slide {
  text-align: center;
  text-transform: uppercase;
  font: $font_32_bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  opacity: 1;
  filter: brightness(50%) saturate(0.5);
  transition: opacity 0.5s, filter 0.5s, transform 0.5s;

  &:global(.swiper-slide-active) {
    opacity: 1;
    filter: brightness(100%);
  }

  @include tablet {
    padding-bottom: 0;
    padding-top: 0;
  }
}

.image {
  max-height: calc(100vh - 70px - 70px);
  max-width: 100%;
  transition: box-shadow 1s;
  max-inline-size: 100%;
  block-size: auto;

  @include tablet {
    padding-bottom: 0;
    max-height: 100vh;
  }
}
