/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
  }

.column.is-4.is-offset-4 {
  text-align: left;
  margin-top: 10px; /* Ajusta el margen superior según sea necesario */
}

.container_index {
  position: relative;
  height: 100vh;
  margin: 0 auto;
  padding: 20px;
}

.container {
  padding: 20px;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, #3f003f, #922263);
  opacity: 0.9;
}

.content {
  margin: 0 auto; 
  text-align: center;
  color: #fff;
  background-color: rgba(53, 0, 0, 0.185);
  padding: 20px 40px;
  border-radius: 10px;
  max-width: 45vh;
}


h1 {
  font-size: 36px;
  margin-bottom: 30px;
}
h3 {
  font-size: 24px;
}
/* Botones */

.buttons {
  margin-top: 20px;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 17px;
  text-decoration: none;
  background-color: #3a9723;
  color: #ffffff;
  border-radius: 5px;
  margin-left: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  transition: background-color 0.3s;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1001;
}

.button:hover {
  background-color: #4fb855;
}

.button-2 {
  display: inline-block;
  padding: 12px 24px;
  font-size: 17px;
  text-decoration: none;
  background-color: #3a9723;
  color: #ffffff;
  border-radius: 5px;
  margin-left: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  transition: background-color 0.3s;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.2);
  line-height: 40px;
  max-height: 40px;
}

.button-2:hover {
  background-color: #4fb855;
}

.button-index {
  display: inline-block;
  padding: 12px 24px;
  font-size: 24px;
  text-decoration: none;
  background-color: #5a1e57;
  color: #ffffff;
  border-radius: 5px;
  margin-left: 10px;
  transition: background-color 0.3s;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
  width: 120px;
}

.button-index:hover {
  background-color: #555;
}

.edit-button,
.delete-button {
  display: inline-block;
  padding: 0.1px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #333;
}

.edit-button:hover {
  color: #4fb855;
}

.delete-button:hover {
  color: #ff4a56;
}

.inactivebutton {
  display: inline-block;
  padding: 12px 24px;
  font-size: 17px;
  text-decoration: none;
  background-color: #cecece;
  color: #4b4b4b;
  border-radius: 5px;
  margin-left: 10px;
  margin-bottom: 10px;
  transition: background-color 0.3s;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.toggle-button {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  text-decoration: none;
  background-color: #4b4b4b;
  color: #ffffff;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: background-color 0.3s;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.toggle-button:hover {
  background-color: #6d6d6d;
}

.active-button {
  background-color: #c2c2c2; /* Cambia el color de fondo para indicar activo */
  color: rgb(65, 65, 65); /* Cambia el color del texto */
}


/* Estilos de la barra de navegación */
.navbar {
  background-color: rgba(53, 0, 0, 0.185);
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1px 1px; /* Ajusta el valor del relleno aquí */
  border-radius: 5px;
  position: absolute;
  top: 0;
  right: 0;
}

.navbar-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
}

.navbar-item {
  padding: 5px 10px;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.3s;
}

.navbar-item:hover {
  background-color: #555;
}

/* Estilos de la sección del héroe */
.hero {
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-body {
  flex-grow: 1;
}


/* Estilos de la tabla */
.styled-table {
  width: 100%;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  border-spacing: 0;
}

.styled-table td {
  white-space: normal;
  word-break: break-word;
  margin: 0;
}

.styled-table thead th {
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.styled-table tbody td {
  border: 1px solid #ddd;
  padding: 8px;
}

.styled-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.styled-table tbody tr:hover {
  background-color: #e5e5e5;
}

.styled-table th,
.styled-table td {
  font-weight: normal;
}
.styled-table tbody tr.highlighted {
  background-color: rgb(65, 209, 52);
}

/* Contenedores */

.centered-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background-color: rgba(53, 0, 0, 0.185);
  padding: 20px 40px;
  border-radius: 10px;
  max-width: calc(45% - 20px);
}


.containerT {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  padding: 20px;
}

.gameboxes {
  flex-basis: calc(33.33% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  text-align: center;
  max-width: 100%; 
  margin: 10px;
}

.gameboxes .field {
  margin-bottom: 10px;
}

.gameboxes .label {
  font-size: 18px;
  font-weight: bold;
}

.gameboxes .control {
  margin-top: 5px;
}

.gameboxes .input-text {
  font-size: 16px;
}

.gameboxes .tooltip {
  display: inline-block;
  margin-left: 5px;
  color: #3498db;
  cursor: help;
  font-size: 16px;
}

.gameboxes .warning {
  display: inline-block;
  margin-left: 5px;
  color: #fc3838;
  cursor: help;
  font-size: 18px;
}

.gameboxes .content-select{
    position: relative;
  margin: 0 auto;
  margin-top: 10px;
  width: 80%;
  text-align: center;
  margin-bottom: 10px;
}
  
.gameboxes .content-select select{
    display: inline-block;
    cursor: pointer;
      padding: 7px 10px;
      height: 42px;
      outline: 0; 
      border: 0;
    border-radius: 0;
    font-size: 1em;
    color: #333;
  background: #f8f8f8;
    font-family: 
    'Quicksand', sans-serif;
    border:1px solid #ccc;
    border-radius: 12px;
    position: relative;
    transition: all 0.25s ease;
}
  
.gameboxes .content-select select:hover{
    background: #B1E8CD;
}

.gameboxes .content-input {
  position: relative;
  margin: 0 auto;
  margin-top: 10px;
  width: 80%;
  text-align: center;
  margin-bottom: 10px;
}

.gameboxes .content-input input {
  display: inline-block;
  cursor: text;
  padding: 7px 10px;
  height: 36px;
  outline: 0;
  border: 0;
  border-radius: 0;
  font-size: 1em;
  color: #333;
  background: #f8f8f8;
  font-family: 'Quicksand', sans-serif;
  border: 1px solid #ccc;
  border-radius: 12px;
  position: relative;
  transition: all 0.25s ease;
}

.gameboxes .content-input input:hover {
  background: #B1E8CD;
}

.data-container {
  flex: 1;
  /*display: flex;*/
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  white-space: nowrap;
  text-align: center;
  margin-right: 10px; /* Espacio entre los contenedores */
}

.boxauto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
  text-align: center;
  margin-right: 10px; 
}

.boxauto ul{
  margin-block-start: 10px;
  text-align: left;
  width: 100%;
  margin-left: -10%;
}

.boxauto:last-child {
  margin-right: 0; /* No se aplica margen al último contenedor */
}

.boxauto .field-tittle {
  margin-bottom: 0;
  font-size: 26px;
  color: #333;

}

.boxauto .field-label {
  margin-bottom: 0;
  font-size: 18px;
}

.boxauto .control {
  margin-top: 5px;
}

.boxauto .text {
  font-size: 16px;
  margin-top: 5px;
}

.boxauto .text-table {
  font-size: 48px;
  margin-top: 5px;
  font-weight: bold;
  color: #333;
}

.boxauto .content-select{
    position: relative;
  margin: 0 auto;
  margin-top: 10px;
  width: 80%;
  text-align: center;
}
  
.boxauto .content-select select{
    display: inline-block;
    cursor: pointer;
      padding: 7px 10px;
      height: 42px;
      outline: 0; 
      border: 0;
    border-radius: 0;
    font-size: 1em;
    color: #333;
  background: #f8f8f8;
    font-family: 
    'Quicksand', sans-serif;
    border:1px solid #ccc;
    border-radius: 12px;
    position: relative;
    transition: all 0.25s ease;
}
  
.boxauto .content-select select:hover{
    background: #B1E8CD;
}

.boxauto table tbody tr:nth-child(3),
.boxauto table tbody tr:nth-child(2),
.boxauto table tbody tr:first-child {
  color: transparent;
}


.boxtable {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
  text-align: center;
  margin-right: 10px; 
}

.boxtable:last-child {
  margin-right: 0; /* No se aplica margen al último contenedor */
}

.boxtable .field-label {
  margin-bottom: 0;
}

.boxtable .control {
  margin-top: 5px;
}

.boxtable .text {
  font-size: 16px;
  margin-top: 5px;
}

.boxtable .text-table {
  font-size: 48px;
  margin-top: 5px;
  font-weight: bold;
  color: #333;
}

.boxtable .content-select{
    position: relative;
  margin: 0 auto;
  margin-top: 10px;
  width: 80%;
  text-align: center;
}
  
.boxtable .content-select select{
    display: inline-block;
    cursor: pointer;
      padding: 7px 10px;
      height: 42px;
      outline: 0; 
      border: 0;
    border-radius: 0;
    font-size: 1em;
    color: #333;
  background: #f8f8f8;
    font-family: 
    'Quicksand', sans-serif;
    border:1px solid #ccc;
    border-radius: 12px;
    position: relative;
    transition: all 0.25s ease;
}
  
.boxtable .content-select select:hover{
    background: #B1E8CD;
}

.containerT-transparente {
  background-color: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box {
  display: block;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px 0px;
  position: relative;
  margin: 0 auto;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  white-space: nowrap;
  text-align: center;
  align-items: center;
  max-width: 40vh;
}

.box .field-label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  padding: 0px 10px;
  color: #333;
  font-size: 17px;
}

.box .input-text {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  padding: 0px 10px;
  color: #333;
  font-size: 17px;
}

.box .select {
  margin-top: 5px;
}

.kpi-number {
  font-size: 42px; /* Tamaño del número */
  font-family: "Arial", sans-serif; /* Tipografía */
  color: #333; /* Color del número */
  font-weight: bold;
}

/* Estilos de lista */

.styled-list {
  list-style-type: none;
  padding: 0;
}

.styled-list li {
  padding: 5px;
  font-size: 18px;
}

/* Estilos adicionales */
.title {
  font-size: 27px;
  margin-bottom: 10px;
  margin-top: 10px;
  color: #ffffff;
}

.column {
  margin-top: 10px;
}

.notification.is-danger {
  background-color: #f14668;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
  padding: 5px;
  white-space: normal;
}

.notification {
  margin-bottom: 10px;
  background-color: #009468;
  color: #fff;
  text-align: center;
  padding: 5px;
  white-space: normal;
}

.field {
  margin-bottom: 10px;
}

.label {
  margin-bottom: 5px;
}

.field-label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.winner {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
  font-size: 24px;
}

.text {
  margin-bottom: 5px;
  color: #333;
}

.input.is-large {
  border-radius: 5px;
}

.checkbox {
  font-size: 16px;
  color: #333;
  padding: 0px 10px;
}

.hidden {
  display: none;
}

.switch {
  position: relative;
  display: block;
  width: 60px;
  height: 34px;
  margin: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #3a9723;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider-text {
  margin-left: 10px;
  user-select: none;
}

.snackbar-container {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 1000;
}

.snackbar {
  background-color: #f8f8f8;
  color: #333;
  padding: 10px 30px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: slide-up 0.6s ease-out forwards;
  max-width: 90%;
  word-break: break-word;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.snackbar.slide-up {
  animation-name: slide-up;
}

@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.snackbar-button {
  color: #fff;
  background-color: #007bff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.snackbar-button:hover {
  background-color: #0056b3;
}

.snackbar-button:active {
  background-color: #003380;
}

.snackbar-message {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 0px;
}

.snackbar-button {
  margin-top: 0px;
}

.content-select{
    max-width: 250px;
    position: relative;
  padding: 0px 10px 5px;
}

.content-select select{
    display: inline-block;
    width: 100%;
    cursor: pointer;
      padding: 7px 10px;
      height: 42px;
      outline: 0; 
      border: 0;
    border-radius: 0;
    background: #f0f0f0;
    color: #7b7b7b;
    font-size: 1em;
    color: #333;
    font-family: 
    'Quicksand', sans-serif;
    border:2px solid rgba(0,0,0,0.2);
    border-radius: 12px;
    position: relative;
    transition: all 0.25s ease;
}

.content-select select:hover{
    background: #B1E8CD;
}

/* 
Creamos la fecha que aparece a la izquierda del select.
Realmente este elemento es un cuadrado que sólo tienen
dos bordes con color y que giramos con transform: rotate(-45deg);
*/
.content-select i{
    position: absolute;
    right: 20px;
    top: calc(50% - 13px);
    width: 16px;
    height: 16px;
    display: block;
    border-left:4px solid #2AC176;
    border-bottom:4px solid #2AC176;
    transform: rotate(-45deg); /* Giramos el cuadrado */
    transition: all 0.25s ease;
}

.content-select:hover i{
    margin-top: 3px;
}

/* Eliminamos la fecha que por defecto aparece en el desplegable */
.content-select select::-ms-expand {
    display: none;
}

/* Estilos para inputs */
form .question {
  position: relative;
  padding: 0px 10px 0px;
  margin-bottom: 10px;
}

form .question label {
  display: block;
  margin-bottom: 5px;
  margin-top: 5px;
  padding: 0px 10px;
  color: #333;
  font-size: 18px;
}

form .question input[type="text"],
form .question input[type="date"],
form .question input[type="number"],
form .question input[type="password"],
form .question input[type="email"] {
  padding: 5px 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  max-width: 100%;
}

form .question input[type="text"]:focus ,
form .question input[type="date"]:focus ,
form .question input[type="password"]:focus ,
form .question input[type="email"]:focus ,
form .question input[type="number"]:focus {
  outline: none;
  background: #f8f8f8;
  color: #333;
}

.question span {
  color: #333; 
  font-weight: bold; 
  font-size: 24px;
}

/* Estilo para el slider */
.question input[type="range"] {
  width: 100%;
  appearance: none;
  background-color: #0079ca6c;
  outline: none;
  height: 10px;
  border-radius: 5px;
  margin-top: 5px;
}

.question input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 30%;
  background-color: #0079ca; /* Color del círculo del slider */
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Cambia el color del círculo cuando se pasa el mouse por encima */
.question input[type="range"]::-webkit-slider-thumb:hover {
  background-color: #2980b9;
}


.sponsor-logos {
  justify-content: space-between;
  margin-bottom: 10px;
  white-space: nowrap;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.sponsor-label {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

/* footer */

.footer {
  background-color: #f8f8f8;
  padding: 5px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  margin-left: 20px;
  display: inline-block;
  max-width: 100%; 
  height: auto;
  vertical-align: middle;
}

.footer-text {
  display: inline-block;
  margin-right: 20px;
  text-align: right;
}


/* spacer para que el footer no tape info */

.spacer {
  height: 50px; /* Ajusta la altura según sea necesario para crear el espacio deseado */
  width: 100%;
  margin-top: 50px; /* Ajusta el margen según sea necesario */
  background-color: transparent;
}

.tooltip-icon {
  position: relative;
  display: inline-block;
}

.tooltip-icon i {
  cursor: pointer;
  color: #3971eb;
  font-size: 18px;
}

.tooltip-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px;
  border-radius: 5px;
  font-size: 14px;
  width: 250px;
  z-index: 2;
}

.tooltip-icon:hover .tooltip-content {
  display: block;
}

/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  position: relative;
}

.close {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: default;
}

.close:hover {
  color: #333;
}

/* Estilos para los papelitos */
.confetti {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 90%;
  height: 90%;
  overflow: hidden;
  z-index: 990;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 30px;
  background: #ffd300;
  top: 0;
  opacity: 0;
}

.confetti-piece:nth-child(1) {
  left: 7%;
  -webkit-transform: rotate(-40deg);
  transform: rotate(-40deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 182ms;
  animation-duration: 1116ms;
}

.confetti-piece:nth-child(2) {
  left: 14%;
  -webkit-transform: rotate(4deg);
  transform: rotate(4deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 161ms;
  animation-duration: 1076ms;
}

.confetti-piece:nth-child(3) {
  left: 21%;
  -webkit-transform: rotate(-51deg);
  transform: rotate(-51deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 481ms;
  animation-duration: 1103ms;
}

.confetti-piece:nth-child(4) {
  left: 28%;
  -webkit-transform: rotate(61deg);
  transform: rotate(61deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 334ms;
  animation-duration: 708ms;
}

.confetti-piece:nth-child(5) {
  left: 35%;
  -webkit-transform: rotate(-52deg);
  transform: rotate(-52deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 302ms;
  animation-duration: 776ms;
}

.confetti-piece:nth-child(6) {
  left: 42%;
  -webkit-transform: rotate(38deg);
  transform: rotate(38deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 180ms;
  animation-duration: 1168ms;
}

.confetti-piece:nth-child(7) {
  left: 49%;
  -webkit-transform: rotate(11deg);
  transform: rotate(11deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 395ms;
  animation-duration: 1200ms;
}

.confetti-piece:nth-child(8) {
  left: 56%;
  -webkit-transform: rotate(49deg);
  transform: rotate(49deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 14ms;
  animation-duration: 887ms;
}

.confetti-piece:nth-child(9) {
  left: 63%;
  -webkit-transform: rotate(-72deg);
  transform: rotate(-72deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 149ms;
  animation-duration: 805ms;
}

.confetti-piece:nth-child(10) {
  left: 70%;
  -webkit-transform: rotate(10deg);
  transform: rotate(10deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 351ms;
  animation-duration: 1059ms;
}

.confetti-piece:nth-child(11) {
  left: 77%;
  -webkit-transform: rotate(4deg);
  transform: rotate(4deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 307ms;
  animation-duration: 1132ms;
}

.confetti-piece:nth-child(12) {
  left: 84%;
  -webkit-transform: rotate(42deg);
  transform: rotate(42deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 464ms;
  animation-duration: 776ms;
}

.confetti-piece:nth-child(13) {
  left: 91%;
  -webkit-transform: rotate(-72deg);
  transform: rotate(-72deg);
  animation: makeItRain 1000ms infinite ease-out;
  animation-delay: 429ms;
  animation-duration: 818ms;
}

.confetti-piece:nth-child(odd) {
  background: #7431e8;
}
.confetti-piece:nth-child(even) {
  z-index: 1;
}

.confetti-piece:nth-child(4n) {
  width: 5px;
  height: 12px;
  animation-duration: 2000ms;
}

.confetti-piece:nth-child(3n) {
  width: 3px;
  height: 10px;
  animation-duration: 2500ms;
  animation-delay: 1000ms;
}

.confetti-piece:nth-child(4n-7) {
  background: red;
}

@keyframes makeItRain {
  from {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  to {
    transform: translateY(350px);
  }
}


/* Estilos para dispositivos móviles */
@media (max-width: 748px) {
  h1{
    font-size: 28px;
  }

  .title{
    margin-top: 50px;
  }
  .navbar {
    position: fixed; 
    top: 0; 
    right: 0; 
    width: 100%; 
    justify-content: flex-end; 
    z-index: 999; 
    border-radius: 0;
    height: 60px;
    font-size: 18px;
  }

  .navbar ~ * {
    margin-top: calc(3px + 20px); /* 5px del padding de la barra + altura de la barra (40px) */
  }
  .navbar-end {
    margin-top: 0; /* Eliminar el margen superior */
  }

  .navbar-item {
    margin: 0 5px; 
  }

  .column.is-4.is-offset-4 {
    margin-top: 50px;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .button {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .button-index {
    margin-bottom: 10px;
    font-size: 18px;
    width: 100px;
  }

  .centered-box {
      width: 60%;
      max-width: 60%;
  }

  .footer-text{
    font-size: 12px;
  }
  .boxtable {
    max-width: 100%;
    overflow-x: auto;
  }
  .styled-table {
    border-collapse: collapse;
    min-width: 150%;
  }

  .gameboxes{
    flex-basis: 100% 
  }

  .boxauto{
    max-width: 80%;
  }
}
