* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  color: #a164ca;
}

body {
  background-color: #fffcf2;
  background-image: url("/IMG/background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  font-size: 14px;
  text-align: justify;
  color: #252422;
  font-family: "Quicksand", Tahoma, serif;
  display: flex;
  flex-direction: column;
}

body::-webkit-scrollbar {
  display: none;
}

h1 {
  color: #fff;
  font-family: "Ruthie", "Times New Roman", serif;
  font-size: 100px;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  text-align: center;
  margin: 40px auto;
}

h2,
h3 {
  font-family: "Indie Flower", "Times New Roman", serif;
  text-align: center;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
  margin-top: -10px;
}

p {
  text-indent: 20px;
}

div.slider-wrapper {
  position: relative;
  max-width: 900px;
  display: flex;
  margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 25%;
  width: auto;
  padding: 16px 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 25px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  z-index: 10;
}

.next {
  right: 0px;
}

.prev:hover,
.next:hover {
  color: #fff;
}

div.slider-libros {
  display: flex;
  position: relative;
  overflow: auto;
  max-width: 900px;
  white-space: nowrap;
  padding-bottom: 3px;
  margin-bottom: 30px;
  transition: transform 0.3s ease-in-out;
}

div.slider-libros::-webkit-scrollbar {
  display: none;
}

img.libro {
  height: 150px;
  margin: 5px;
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
}

.libro:hover,
.libro.activo {
  opacity: 1;
}

div.card-container {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50% 20% / 10% 40%;
  max-width: 600px;
  margin: auto;
  margin-bottom: 30px;
  padding: 50px;
}

.card {
  display: none; /* Oculta todas las tarjetas por defecto */
}

.card.active {
  display: block; /* Muestra solo la tarjeta activa */
}

div.rating-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}

div.stars-container {
  margin-right: 50px;
}

.star,
.spice {
  height: 20px;
}

.star-empty,
.spice-empty {
  filter: grayscale(100%);
}

div.label-container {
  display: flex;
  margin: 10px;
}

.label {
  height: 15px;
  margin-right: 7px;
}

p.text-labels {
  font-size: 10px;
  text-indent: 0px;
}

div.music-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

img.music {
  height: 35px;
  margin: 0 20px;
}

footer {
  margin-top: auto;
  margin: auto;
  font-size: 10px;
}

@media only screen and (max-width: 768px) {

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 15px;
  }

  p {
    font-size: 11px;
  }

  div.slider-wrapper {
    max-width: 100%;
  }

  div.prev,
  div.next {
    display: none;
  }

  div.slider-libros {
    margin: 0 10px 10px 10px;
  }

  img.libro {
    height: 100px;
  }

  .star,
  .spice,
  .label {
    height: 15px;
  }

  div.card-container {
    margin: 15px;
    padding: 25px 30px;
  }

  p.text-labels {
    font-size: 7px;
  }

  img.music {
    height: 25px;
  }

  footer p {
    font-size: 7px;
  }
}
