.fa-ko-fi::before {
  content: "\f0f4";
  display: inline-block;
  font-size: 1.1em;
  line-height: 0.45em;
  margin: -0.45em 0 0 -0.2em;
  overflow-y: hidden;
  padding-top: 0.45em;
}

.fa-ko-fi::after {
  color: #000;
  content: "\f004";
  font-size: 50%;
  font-weight: 900;
  margin: 0.5em 0 0 -2em;
  position: absolute;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #2c2c2c;
  color: white;
  font-family: Arial, sans-serif;
}

.controls {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin-bottom: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Permite que los elementos se envuelvan si es necesario */
}

#stop-all {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.volume-controls {
  display: flex;
  align-items: center;
  margin-left: 10px; /* Añadir un poco de espacio entre el botón de stop y el control de volumen */
}

.volume-controls label {
  margin-right: 10px;
}

.volume-controls input[type="range"] {
  width: 150px; /* Reducir el ancho para pantallas más pequeñas */
}

.tabs {
  display: flex;
  flex-wrap: wrap; /* Permite que las pestañas se envuelvan en lugar de sobresalir */
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  width: 90%; /* Asegúrate de que el contenedor de las pestañas se ajuste al ancho de la pantalla */
}

.tab {
  background-color: #444;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 14px;
  color: white;
  text-transform: uppercase;
}

.tab.active {
  background-color: #ff4d4d;
}

.tab:hover {
  background-color: #555;
}

.launchpad {
  display: flex;
  flex-wrap: wrap; /* Permite que los botones se envuelvan en lugar de sobresalir */
  justify-content: flex-start;
  gap: 10px;
  width: 90%; /* Ajusta el ancho del launchpad */
  background-color: #3b3b3b;
  padding: 20px;
  border-radius: 10px;
  overflow-y: auto;
  max-height: 70vh; /* Reduce la altura máxima para pantallas más pequeñas */
  box-sizing: border-box;
}

.button {
  background-color: #444;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  font-size: 12px; /* Reducir el tamaño de fuente para pantallas más pequeñas */
  color: white;
  padding: 10px;
  min-width: 70px; /* Reducir el ancho mínimo de los botones */
  flex-grow: 1;
  word-wrap: break-word;
  box-sizing: border-box;
}

.button:focus {
  outline: none;
}

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

/* Media queries para pantallas más pequeñas */
@media (max-width: 768px) {
  .volume-controls input[type="range"] {
    width: 120px; /* Ajusta aún más el ancho del control de volumen */
  }

  .button {
    min-width: 60px; /* Reducir aún más el ancho mínimo de los botones */
  }

  #stop-all {
    padding: 8px 16px; /* Reducir el padding del botón de stop */
  }
}

.footer {
  width: 100%;
  background-color: #444;
  color: white;
  padding: 10px 15px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto; /* Empuja el footer hacia el final */
}

.footer .text-lg {
  font-size: 14px; /* Reducir el tamaño de fuente */
  color: #ff4d4d; /* Color del texto del copyright */
}

.footer .space-x-4 {
  display: flex;
  justify-content: center; /* Centra los iconos horizontalmente */
  gap: 10px;
}

.footer .space-x-4 a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  border-radius: 50%;
  width: 35px; /* Reducir el tamaño de los iconos */
  height: 35px;
  color: white;
  font-size: 1.2em; /* Reducir el tamaño de la fuente de los iconos */
  text-decoration: none; /* Elimina el subrayado de los iconos */
}

.footer .space-x-4 a:hover {
  background-color: #ff4d4d; /* Color de fondo al hacer hover */
}



/*Soundboard interact*/
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #2c2c2c;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  color: white;
}

.close-button {
  color: white;
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.close-button:hover {
  color: #ff4d4d;
}