/* Custom CSS for elements that can't be done with Tailwind */

#main::after {
  content: "";
  background-image: url("/assets/meditacao.png");
  opacity: 0.45;
  height: 75%;
  left: 0;
  bottom: 12%;
  right: 0;
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media (max-width: 768px) {
  #main::after {
    background-size: 35%;
    background-repeat: repeat-y;
    bottom: 9vh;
    height: 100%;
  }
}

input[type="range"]::-webkit-slider-thumb {
  background-color: #bf9c8f; /* Cor da bolinha (thumb) */
  border: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-appearance: none;
}

input[type="range"]::-moz-range-thumb {
  background-color: #bf9c8f;
  border: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
}

.audio-wave {
  display: flex;
  align-items: center;
  height: 30px;
}

.wave-bar {
  width: 3px;
  height: 10px;
  margin: 0 1px;
  background-color: #bf9c8f;
  animation: wave 1.2s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.wave-bar:nth-child(1) {
  animation-delay: 0.2s;
}
.wave-bar:nth-child(2) {
  animation-delay: 0.4s;
}
.wave-bar:nth-child(3) {
  animation-delay: 0.6s;
}
.wave-bar:nth-child(4) {
  animation-delay: 0.2s;
}
.wave-bar:nth-child(5) {
  animation-delay: 0.4s;
}
.wave-bar:nth-child(6) {
  animation-delay: 0.6s;
}
.wave-bar:nth-child(7) {
  animation-delay: 0.2s;
}
.wave-bar:nth-child(8) {
  animation-delay: 0.4s;
}
.wave-bar:nth-child(9) {
  animation-delay: 0.6s;
}

@keyframes wave {
  0%,
  100% {
    height: 10px;
  }
  50% {
    height: 20px;
  }
}

/* Custom checkbox style */

.toggle-checkbox {
  right: 45%; /* valor inicial */
  transition: right 0.4s ease, border-color 0.4s ease;
}

.toggle-label {
  transition: background-color 0.4s ease;
}

.toggle-checkbox:checked {
  right: 0;
  border-color: #bf9c8f;
}

.toggle-checkbox:checked + .toggle-label {
  background-color: #5e6fa3;
}
