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

.next {
  min-height: 340px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 6px 40px 0 rgba(140, 83, 231, 0.4);
  &.disabled {
    .linkContent,
    .nextText,
    .title {
      pointer-events: none;
    }
    .content {
      cursor: default;
      /* pointer-events: none; */

    }
    .startBtn {
      background: rgba(239, 239, 241, 0.2) !important;
      color: rgba(255, 255, 255, 0.2);
      pointer-events: none !important;
    }
  }
}

.test {
  .content {
    @media (--ms-and-down) {
      padding: 36px 15px 100px;
    }
  }
}

.content {
  width: 100%;
  min-height: 340px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  position: relative;
  z-index: 10;
  cursor: pointer;
  @media (--ms-and-down) {
    padding: 36px 15px 60px;
  }
}

.linkContent{
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index:  4;
}

.nextText {
  font-size: rem(30px);
  font-weight: 500;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in;
  @media (--ms-and-down) {
    font-size: rem(24px);
    font-size: 1.5rem;
    letter-spacing: 0.55px;
  }
  &:hover {
    color: rgba(255, 255, 255, 0.8);
    z-index: 10;
    position: relative;
  }
}

.iconRight {
  margin-left: 15px;
  width: 32px;
  height: 20px;
  object-fit: contain;
  cursor: pointer;
}

.title {
  max-width: 60vw;
  font-size: rem(36px);
  font-weight: bold;
  line-height: 1.43;
  letter-spacing: 0.7px;
  color: rgba(255, 255, 255, 1);
  margin: 14px 0 22px;
  text-align: center;
  word-break: break-word;
  @media (--ms-and-down) {
    font-size: rem(28px);
    font-size: 1.75rem;
    line-height: 1.21;
    max-width: 100%;
  }
}

.description {
  width: 700px;
  color: rgba(255, 255, 255, 0.8);
  font-size: rem(15px);
  letter-spacing: 0.47px;	
  line-height: rem(24px);	
  text-align: center;
  margin-top: -10px;
  margin-bottom: 20px;
  @media (--ms-and-down) {
    width: 340px;
  }
}

.btns {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 5;
}

.startBtn,
.backBtn {
  padding: 15px 19px;
  border-radius: 25px;
  background-color: #8513e8;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: rem(15px);
  letter-spacing: 0.4px;
  margin-right: 15px;
  text-decoration: none;
  line-height: rem(20px);
  cursor: pointer;
}

.backBtn {
  z-index: 1000;
  &:last-child:not(:only-child) {
    margin-right: 0;
    margin-left: 15px;
  }
}

.btn {
  margin-top: 15px;
  position: relative;
  overflow: hidden;

  .btnText {
    z-index: 2;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 1.1875rem;
    color: #ffffff;
  }

  &:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 1);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  &:hover,
  &:focus,
  &.active {
    &:before {
      opacity: 0.08;
    }
  }
}

.play {
  display: flex;
  align-items: center;
  z-index: 10;
  cursor: pointer;
  margin-right: 10px;
  margin-top: 15px;
  &:hover {
    .playText {
      color: rgba(255, 255, 255, 0.8)
    }
    .btn:before {
      opacity: 0.08;
    }
  }
}

.playIcon {
  color: white;
  font-size: 12px !important;
  margin-left: 3px;
  margin-bottom: 1px;
}

.playBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #8513e8;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  margin-top: 0;
  &:hover .btn {
    &:hover,
    &:focus,
    &.active {
      &:before {
        opacity: 0.08;
      }
    }
  }
}

.playText {
  font-size: rem(15px);
  font-weight: 500;
  letter-spacing: 0.4px;
  line-height: rem(19px);
  color: #ffffff;
  transition: color 0.3s ease-in;
  @media (--ms-and-down) {
    display: none;
  }
}

.recall {
  opacity: 0.5;
  font-size: rem(15px);
  font-weight: 500;
  letter-spacing: 0.4px;
  text-align: center;
  color: #ffffff;
}
