.modal-contenido{
  background-color:rgb(255, 255, 255);
  width:500px;
  padding: 10px 20px;
  margin: 5% auto;
  position: relative;
}
.modal{
  background-color: rgba(0,0,0,.8);
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  opacity:0;
  pointer-events:none;
  transition: all 1s;
}
#miModal:target{
  opacity:1;
  pointer-events:auto;
}

.text-pc{
  color: #191247;
}


/* CSS para el modal */
.modalr4, .modalr3, .modalr2, .modalr1 {
  display: none; /* Asegura que el modal esté oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  z-index: 1000; /* Asegúrate de que el modal esté por encima de todo */
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-contenedor4, .modal-contenedor3, .modal-contenedor2, .modal-contenedor1 {
  background-color: #0072ce; /* Color de fondo del modal */
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  color: #ffffff; /* Color del texto */
  width: 80%;
  max-width: 400px;
  position: relative; /* Asegura que los elementos internos se posicionen relativamente al contenedor */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  overflow: visible; /* Permite que el contenido se salga del contenedor */
}

.modal-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 10px;
  position: absolute;
  top: -60px; /* Ajusta este valor para mover el título más arriba */
  left: 50%;
  transform: translateX(-50%);
  background-color: #03318f; /* Color de fondo del título */
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-text {
  font-size: 1.2em;
  line-height: 1.5em;
  margin-top: 20px; /* Añade margen superior para separarlo del título */
}

/* CSS para el botón de cerrar */
.flex .justify-end a img {
  width: 30px;
  height: 30px;
}

.flex .justify-end {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.flex .justify-end a {
  text-decoration: none;
  color: white;
  font-size: 1.5em;
}

/* CSS para desactivar interacciones de fondo */
body.modal-open {
  overflow: hidden; /* Evita que se pueda hacer scroll */
  pointer-events: none; /* Desactiva todos los eventos de puntero */
}

body.modal-open * {
  pointer-events: none; /* Desactiva todos los eventos de puntero */
}

body.modal-open .modalr4,
body.modal-open .modalr4 * {
  pointer-events: auto; /* Reactiva los eventos de puntero solo para el modal */
}

body.modal-open .modalr3,
body.modal-open .modalr3 * {
  pointer-events: auto; /* Reactiva los eventos de puntero solo para el segundo modal */
}

body.modal-open .modalr2,
body.modal-open .modalr2 * {
  pointer-events: auto; /* Reactiva los eventos de puntero solo para el tercer modal */
}

body.modal-open .modalr1,
body.modal-open .modalr1 * {
  pointer-events: auto; /* Reactiva los eventos de puntero solo para el cuarto modal */
}



/* ruleta */

@import url("https://fonts.googleapis.com/css?family=Material+Icons|Work+Sans:400,700,900");

body {
  overflow: hidden;
}


.roulette {
  font-family: 'Work Sans', sans-serif;
  display: block;
  position: absolute;
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  margin-top: -150px;
  margin-left: -200px;
}

.roulette .shadow {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: 0 0.3em 0 rgba(0, 0, 0, 0.25) inset;
}

.roulette .markers {
  display: block;
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  overflow: hidden;
  border-radius: 100%;
}

.roulette .markers .marker {
  position: absolute;
  width: 0;
  height: 0;
  top: -200px;
  left: 200px;
  -webkit-transform-origin: 0% 400px;
  transform-origin: 0% 400px;
  border: 0 solid transparent;
}

.roulette .markers .triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1em 0 1em 1em;
  border-color: transparent transparent transparent #191247;
  position: absolute;
  border-left-color: #ccc2a8;
  top: 50%;
  left: -1px;
  margin-top: -1em;
  -webkit-filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
}

.roulette .spinner {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  overflow: hidden;
  -webkit-transform: rotateZ(0deg);
  transform: rotateZ(0deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.roulette .spinner .item {
  position: absolute;
  width: 0;
  height: 0;
  top: -200px;
  left: 200px;
  -webkit-transform-origin: 0% 400px;
  transform-origin: 0% 400px;
  border: 0 solid transparent;
}

.roulette .spinner .item .label {
  display: block;
  position: absolute;
  color: #FFF;
  font-weight: 100;
  top: 0;
  left: 0;
  white-space: nowrap;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  font-size: .9em;
}

.roulette .spinner .item .label i,
.roulette .spinner .item .label .text {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 0.63em;
  text-indent: 0;
}

.roulette .spinner .item .label i {
  margin-right: 0.1em;
}

.roulette .button {
  width: 10em;
  height: 10em;
  top: 50%;
  left: 50%;
  margin-left: -5em;
  margin-top: -5em;
  font-weight: 800;
  z-index: 998;
  position: absolute;
  background: #191247;
  border: 5px solid #ccc2a8;
  border-radius: 100%;
  color: #fff;
  outline: none;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  box-shadow: 0 0.4em 0 rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: -webkit-transform 0.15s;
  transition: transform 0.15s;
  transition: transform 0.15s, -webkit-transform 0.15s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.roulette .button:hover {
  color: rgb(147, 147, 165);
}

.roulette .button span {
  font-size: 1rem;
}



.roulette.busy .button {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  box-shadow: 0 0.15em 0 rgba(0, 0, 0, 0.25);
  color: #999;
  cursor: default;
}

/* CUSTOM LABELS */
.roulette .spinner .item[data-type="quiz"] .label {
  font-size: 1.5em;
}

.roulette .spinner .item[data-type="question"] .label {
  font-size: 1.3em;
  font-weight: 600;
}

.roulette .spinner .item[data-type="replay"] .label .text {
  font-size: .6em;
  white-space: initial;
  width: 1em;
  text-align: center;
  line-height: 1.2;
}

.roulette .spinner .item[data-type="replay"] .label i {
  font-size: 1.5em;
}

.roulette .spinner .item[data-type="time"] .label i {
  font-size: 1.5em;
}

.roulette .item img {
  width: 50px; /* Ajusta el tamaño según sea necesario */
  height: auto; /* Mantiene la proporción de la imagen */
  display: block;
  margin: 0 auto; /* Centra la imagen dentro del elemento */
}