@font-face {
  font-family: "windy";
  src: url(./fonts/Blazed.ttf);
}
body {
  height: 100dvh;
  box-sizing: border-box;
  overflow: hidden;
  filter: brightness(1.3);
  background-blend-mode: multiply;
  background: radial-gradient(
      circle at 18% 25%,
      rgb(130, 42, 148),
      rgb(206, 36, 240),
      rgb(136, 1, 163),
      transparent
    ),
    radial-gradient(
      circle at 70% 70%,
      rgb(130, 42, 148),
      rgb(206, 36, 240),
      rgb(136, 1, 163),
      transparent
    ),
    linear-gradient(
      122deg,
      rgb(133, 42, 151),
      rgb(206, 36, 240),
      rgb(136, 1, 163),
      rgb(115, 37, 131),
      rgb(206, 36, 240),
      rgb(136, 1, 163)
    );
}

.sheets-slider-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  /* Additional code */
  height: 100%;
  overflow: hidden;
}
.sheets-slider {
  width: 100%;
  height: 80%;
  position: relative;
  perspective: var(--perspective);
  transform-origin: left center;
}
.slider-dots-container {
  width: 75%;
  height: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.5rem;
}
.slider-dot {
  width: 0.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
}
.slider-btn-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 50%;
  height: 10%;
}
.slider-next-btn,
.slider-prev-btn {
  width: 7%;
  height: 75%;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.25s;
}

.slider-next-btn:disabled,
.slider-prev-btn:disabled {
  opacity: 0.5;
}

.sheet.active {
  left: 50% !important;
  transform: translateX(-50%) translateY(var(--active-card-translate-y))
    translateZ(var(--active-card-translate-z)) rotateY(0deg);
}
.main-card {
  position: relative;
  &::after {
    content: "";
    background: url(./images/arrows/touch-symbol.png);
    background-size: 100% 100%;
    position: absolute;
    width: 12%;
    height: 12%;
    left: 50%;
    bottom: -15%;
    animation: touch-animate 4s linear alternate forwards;
    display: none;
  }
}
@keyframes touch-animate {
  0% {
  }
  50% {
    translate: -100%;
  }
  99% {
    translate: 50%;
  }
  100% {
    opacity: 0;
  }
}
.sheet.right {
  left: calc(100% - var(--left-position)) !important;
  transform: translateX(calc(var(--inactive-cards-translate-x) * -1))
    translateY(var(--inactive-cards-translate-y))
    translateZ(var(--inactive-cards-translate-z))
    rotateY(calc(var(--inactive-cards-rotate-y) * -1));
}

.sheet {
  position: absolute;
  top: 55%;
  transform: translateX(var(--inactive-cards-translate-x))
    translateY(var(--inactive-cards-translate-y))
    translateZ(var(--inactive-cards-translate-z))
    rotateY(var(--inactive-cards-rotate-y));
  transition: left var(--transition) ease-in-out,
    transform var(--transition) ease-in-out;
  /* Additional style */
  width: 18%;
  height: 55%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #18001f url(./images/frame-white.png) no-repeat center;
  background-size: 93% 93%;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  img {
    width: 75%;
    height: 80%;
    margin: auto;
  }
  p {
    font-size: 0.7rem;
    color: #d8d8d8;
  }
}

.slider-next-btn {
  background: url(./images/arrows/slider-next-btn.png);
  background-size: 100% 100%;
}
.slider-prev-btn {
  background: url(./images/arrows/slider-prev-btn.png);
  background-size: 100% 100%;
}

header {
  height: 12%;
  color: #c0c0c0;
  font-family: "Lilita One", sans-serif;
  font-size: 3rem;
}
main {
  height: 75%;
}
footer {
  height: 13%;
}
.container,
header {
  animation: hide-modal 1s ease-in-out forwards reverse;
}
footer .counter-con {
  width: 25%;
  height: 10%;
  padding: 1rem;
  color: silver;
  background-color: #00000085;
  border-radius: 2rem;
  font-weight: bold;
  div {
    cursor: pointer;
    display: flex;
    justify-content: center;
  }

  img {
    width: 25%;
  }
}
footer .setting {
  width: 30%;
}
footer .setting div {
  width: calc(100% / 7);
  margin-top: -2rem;
  color: #1a0029;
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 3rem;
  cursor: pointer;
  &.active {
    color: silver;
  }
  animation: neon 0.5s linear;
  animation-delay: calc(var(--t) * 0.3s);
}
footer .setting i {
  color: silver;
}
.signature {
  font-size: 1.8rem !important;
  font-family: "Dancing Script", cursive !important;
}

.library-modal > div {
  width: 50%;
  height: 50%;
  padding: 1.5rem;
  border-radius: 15px;
  background-color: #0a0a0a87;
  color: #b6b6b6;
  backdrop-filter: blur(10px);
  font-family: "Ubuntu", sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  &::selection {
    background-color: rgba(192, 192, 192, 0.61);
    color: #1e0020;
  }
  a {
    font-size: 1.4rem;
    color: #b6b6b6;
  }
}
.close {
  position: absolute;
  top: 3%;
  right: 2%;
  font-size: 1.3rem;
  cursor: pointer;
  color: silver;
}
@keyframes neon {
  to {
    color: silver;
  }
}
@media (max-width: 767px) {
  .container {
    padding: 0;
    align-items: center;
  }
  .sheet {
    height: 35%;
    width: 30%;
    transform: translateX(0%) translateY(-60%) translateZ(-50px) rotateY(5deg);
    p {
      font-size: 0.5rem;
    }
    img {
      width: 90%;
      height: 95%;
    }
  }
  .main-card::after {
    display: block;
  }
  header {
    font-size: 1.6rem;
  }
  .slider-dots-container {
    column-gap: 0.25rem;
  }
  .slider-dot {
    width: 0.5rem;
  }
  .signature {
    width: 60vw;
    scale: 0.8;
  }
  footer .counter {
    width: 50%;
  }
  footer .setting {
    width: 95%;
  }
  footer .setting div {
    font-size: 2rem;
  }
  footer i {
    font-size: 2rem;
    margin-top: 2rem;
  }
  .library-modal > div {
    width: 95%;
    height: 75%;
    margin: auto;
    font-size: 1.2rem;
  }

  .sheet.right {
    left: calc(100% - var(--left-position)) !important;
    transform: translateX(0%) translateY(-60%) translateZ(-50px) rotateY(-5deg);
  }
}
