@import '../../../styles/vars/breakpoints.css';

.imageGallery {
  width: 100%;
  :global(.swiper-slide-next:not(:last-of-type)) {
    opacity: 0.2;
    transition: opacity 0.3s ease;
  }

  :global(.swiper-container) {
    margin: 0;
    padding: 0 0 50px 0;
    overflow: visible;
  }

  :global(.swiper-pagination) {
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  :global(.swiper-pagination-bullet) {
    width: 8px;
    height: 8px;
    margin: 0 5px;
    opacity: 0.2;
    border: solid 2px #aaaaaa;
    background: rgba(255, 255, 255, 0);
    outline: 0 !important;
  }

  :global(.swiper-pagination-bullet-active) {
    width: 14px;
    height: 14px;
    opacity: 1;
    border: solid 2px #f060b7;
  }
}

.theme-bot {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  /* box-shadow: 0 6px 40px 0 rgba(155, 176, 239, 0.4), 0 1px 4px 0 rgba(0, 0, 0, 0.05); */

  
  :global(.swiper-container) {
    padding: 0;
  }

  :global(.swiper-button-prev),
  :global(.swiper-button-next) {
    /* size: 140px 100%; */
    width: 140px;
    height: 100%;
    top: 0;
    margin: 0;
    background: transparent;

    &::before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      /* size: 100% 100%; */
      width: 100%;
      height: 100%;
      opacity: 0.8;
      transition: opacity 0.3s;
    }

    &::after {
      content: '';
      /* display: block;
      size: 30px 30px; */
      width: 30px;
      height:  30px;
      position: absolute;
      top: 50%;
      border: 3px solid #f2f2f2;
      transform-origin: center;
      transition: opacity 0.3s, border-color 0.3s;
    }

    &:hover {

      &::before {
        opacity: 1;
      }

      &::after {
        border-color: #ffffff;
      }
    }
  }
  :global(.swiper-button-prev) {
    left: 0;

    &::before {
      background: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    }

    &::after {
      border-width: 3px 0 0 3px;
      left: 40px;
      transform: translate(-50%, -50%) rotate(-45deg);
    }
  }
  :global(.swiper-button-next) {
    left: auto;
    right: 0;

    &::before {
      background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    }

    &::after {
      border-width: 3px 3px 0 0;
      right: 40px;
      transform: translate(50%, -50%) rotate(45deg);
    }
  }

  :global(.swiper-button-disabled) {
    opacity: 1;

    &::after {
      opacity: 0.3;
    }
  }

  :global(.swiper-pagination) {
    position: absolute;
    bottom: 16px;
    left: 0;
    /* size: 100% 14px; */
    width: 100%;
    height:  14px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  :global(.swiper-pagination-bullet) {
    /* circle: 8px; */
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    opacity: 0.6;
    margin: 3px 7.5px;
    background: transparent;
    transition: border-color 0.3s, opacity 0.3s;
  }
  :global(.swiper-pagination-bullet-active) {
    circle: 14px;
    margin: 0 *;
    border-color: #bf3cd1;
    opacity: 1;
  }

  :global(.swiper-pagination-clickable) {
    .swiper-pagination-bullet {
      &:hover {
        opacity: 1;
      }

      &:hover,
      &:focus,
      &:active {
        outline: none;
      }
    }
  }

  :global(.swiper-pagination-bullets-dynamic) {
    width: 100%!important;
  }

}