/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-size: 62.5%;
  font-family: "termina", cursive;
}
h1 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.8rem;
}
h1,
h2,
h3 {
  color: #fff;
  text-align: center;
}
/* Restaurar los puntos de la lista en el modal */
.modal ul {
  list-style: disc;
  padding-left: 2rem;
}

li {
  color: #f17222;
  font-size: 1.5rem;
}
li > span {
  color: #5e1eff;
}
p {
  color: #fff;
  font-size: 1.2rem;
}
.instrucciones {
  background-color: #1e1e1e;
  padding: 2rem;
  border-radius: 2rem;
}

/* Animación de deslizamiento */
@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@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.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  background: rgba(18, 18, 18, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  padding: 20px;
  border-radius: 2rem;
}

.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;
}

li > span {
  color: #5e1eff;
}

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