html,
body {
  margin: 0;
  padding: 0;
  font-family: "Vazir", sans-serif;
}

.bg-img {
  background-image: url("assets/pattern-31.svg");
  background-size: 400px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.container {
  width: 100%;
  height: 100vh;
  padding-bottom: 136px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 20%, #d66a8c 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.content-wrapper {
  z-index: 10;
  transition: opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  opacity: 1;
  padding: 0 16px;
}

.content-wrapper.hidden {
  opacity: 0;
  transform: scale(0.95);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  margin-top: 8px;
}

.slide p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 16px 0;
}

#slide5 p {
  margin: 8px 0;
}

.nav-buttons {
  position: absolute;
  bottom: 80px;
  right: 24px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-buttons button {
  background-color: #6a82fb;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-family: "Vazir", sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  -webkit-tap-highlight-color: transparent;
}

.nav-buttons button:active {
  background-color: #5670f5;
}

/* Custom Audio Player */
.audio-player {
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 16px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.audio-player .controls {
  display: flex;
  align-items: center;
}

.audio-player button {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.audio-player button:hover {
  transform: scale(1.2);
}

.audio-player .progress {
  flex-grow: 1;
  margin-right: 8px;
}

.audio-player input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: white;
  height: 5px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
}

.audio-player input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #6a82fb;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}

/* Heart */
.heart {
  font-size: 2.5rem;
  animation: beat 1s infinite;
}

@keyframes beat {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(1.2);
  }

  40% {
    transform: scale(1);
  }

  60% {
    transform: scale(1.2);
  }

  80% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}
