body {
  font-size: 62.5%;
  font-family: "termina", "Termina-Demi";
}
h1 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.8rem;
}
h1,
h2,
h3 {
  color: #fff;
  text-align: center;
}
p {
  color: #fff;
  font-size: 1.2rem;
}
.instrucciones {
  background-color: #1e1e1e;
  padding: 2rem;
  border-radius: 2rem;
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-30px);
    opacity: 0;
  }
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.fade.show .modal-dialog {
  animation: slideDown 0.3s;
}

.modal.fade:not(.show) .modal-dialog {
  animation: slideUp 0.3s;
}

.modal-title {
  text-align: center;
  color: #fff;
  font-size: 2.5rem;
}

.hvr-bob {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
}

.hvr-bob:active,
.hvr-bob:focus,
.hvr-bob:hover {
  -webkit-animation-name: hvr-bob-float, hvr-bob;
  animation-name: hvr-bob-float, hvr-bob;
  -webkit-animation-duration: 0.3s, 1.5s;
  animation-duration: 0.3s, 1.5s;
  -webkit-animation-delay: 0s, 0.3s;
  animation-delay: 0s, 0.3s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: 1, infinite;
  animation-iteration-count: 1, infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
}

.modal {
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.close-btn {
  display: block;
  margin-top: 20px;
  /* Espacio entre el contenido y el botón de cerrar */
  margin-left: auto;
  /* Centrado horizontal */
  margin-right: auto;
  /* Centrado horizontal */
  background-color: #5e1eff;
  /* Color azul */
  border: none;
  color: #fff;
  /* Texto blanco */
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s;
  font-size: 1rem;
  /* Efecto de transición */
}

.close-btn:hover {
  background-color: #f17222;
}

li {
  color: #f17222;
  font-size: 1.5rem;
  position: relative;
  padding-left: 2rem;
  list-style: none;
  margin-bottom: 0.8rem;
}

li > span {
  color: #5e1eff;
}

p {
  color: #fff;
  font-size: 1.2rem;
}

/* Asegurar que las listas no tengan bullets por defecto */
ul {
  list-style: none;
  padding-left: 0;
}

/*-- Bullets animados con diamantes -- */
.modal-content li:before,
li:before {
  content: "◆";
  color: #f17222;
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  top: 0.1rem;
  line-height: 1.4;
  text-shadow: 0 0 8px rgba(241, 114, 34, 0.6);
  animation: diamond-glow 3s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes diamond-glow {
  0% {
    text-shadow: 0 0 5px rgba(241, 114, 34, 0.8),
      0 0 10px rgba(241, 114, 34, 0.5), 0 0 15px rgba(241, 114, 34, 0.3);
    transform: scale(1) rotate(0deg);
    opacity: 0.9;
  }
  50% {
    text-shadow: 0 0 10px rgba(241, 114, 34, 1),
      0 0 20px rgba(241, 114, 34, 0.8), 0 0 30px rgba(241, 114, 34, 0.5);
    transform: scale(1.15) rotate(45deg);
    opacity: 1;
  }
  100% {
    text-shadow: 0 0 8px rgba(241, 114, 34, 0.9),
      0 0 16px rgba(241, 114, 34, 0.6), 0 0 24px rgba(241, 114, 34, 0.4);
    transform: scale(1.05) rotate(90deg);
    opacity: 0.95;
  }
}