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

:global(.d-slide-colored) .wrapper  {
  box-shadow: none;
}

.schemeCard {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 360px;
  height: 100%;
  max-width: var(--component-max-width);
  /* border-radius: 20px; */
  overflow: hidden !important;

  @media (--ms-and-down) {
    height: 450px;
  }
}

.wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  /* box-shadow: 0 6px 40px 0 rgba(83, 180, 231, 0.4); */
}

.overlay {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  background-image: linear-gradient(to bottom, rgba(42, 42, 42, 0), rgba(0, 0, 0, 0.8));
  align-items: flex-end;
}

.content {
  box-sizing: border-box;
  /* position: absolute;
  top: 0;
  left: 0; */
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  z-index: 4;
  font-size: rem(20px);
  padding: 32px 40px;
  color: white;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-start;
  min-height: 360px;
  @media (--ms-and-down) {
    padding: 24px 30px;
    min-height: 450px;
  }
}

.title {
  font-size: rem(20px);
  letter-spacing: 0.028em;
  margin: 0;
  margin-top: 18px;
}

.btn {
  display: flex;
  /* circle: 120px 120px; */
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: absolute;
  justify-content: center;
  align-items: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
  font-size: rem(40px);
  z-index: 5;
  transition: all 0.4s ease-in-out;
  @media (--ms-and-down) {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: rem(26px);
    top: 30%;
  }

   @media (--ms-only) {
    top: 30%;
  }

  &:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
  }

  :global(.d-slides-viewer-slide:not(.d-dialogs-finished) ~ *) & {
    pointer-events: none;
  }

  :global(.d-slides-viewer-slide:not(.active)) & {
    pointer-events: none;
  }
}

.btn:hover {
  cursor: pointer;
}

.icon {
}

.window {
  position: relative;
  width: 80vw;
  padding: 34px 40px 40px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 2px 30px 0 rgba(27, 28, 31, 0.15);
}

.heading {
  font-size: rem(24px);
  color: #1b1c1f;
  margin: 0 0 22px;
}

.close {
  width: 24px;
  height: 24px;
  color: rgba(27, 28, 31, 0.5);
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  transition: all 0.3s ease-in;
  &:hover {
    color: rgba(27, 28, 31, 0.7);
  }
}

.fullImage {
  width: 100%;
  object-fit: contain;
  border-radius: 10px;
}


/* .chip {
  margin-bottom: 18px;
} */
.theme-default {
}

.theme-second {
  @media (--sm-and-up) {
    .overlay {
      background-image: linear-gradient(to left, rgba(42, 42, 42, 0), rgba(0, 0, 0, 0.8));
    }
    .content {
      justify-content: center;
      width: 420px;
    }
    .title {
      font-size: rem(36px);
      font-weight: bold;
      margin: 0;
      margin-top: 11px;
    }
    .btn {
      position: absolute;
      right: 25%;
      top: 50%;
      transform: translate(105%, -50%);
    }
    /* .chip {
      margin-bottom: 11px;
    } */
  }
}
