/* */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  margin-top: 0.3%;
  border-radius: 20px;
  font-family: 'Roboto', sans-serif;
}
body {
  margin: 0; /* Elimina el margen predeterminado */
  padding: 0; /* Elimina el relleno predeterminado */
  width: 98%; /* Ancho completo */
  height: 100vh; /* Altura de la ventana visible */
  /* Fondo central - Multicolor*/
  background: linear-gradient(132deg, #0a0a0a,#87e846, #cf64d9fe,#eabd34,#ea4c4c,#ffffff);
  background-size: 400% 400%;
  animation: BackgroundGradient 15s ease infinite;
}
@keyframes BackgroundGradient {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}
.header {
  position: fixed;
  padding: 1vmin;
  margin-left: 1%;
  width: 98%; /* Ocupará todo el ancho */
  background-color: #fbfbfbd1;
  color: rgb(0, 0, 0);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.99);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  z-index: 1;
}

.header h1 {
  margin: 0;
  text-shadow: 2px 2px 5px rgb(0, 0, 0); /* Sombra en el texto */
  font-size: 2em; /* Ajusta el tamaño del texto según sea necesario */
  margin-left: 35px; /* Espacio izquierdo */
  margin-right: 20px;
  color: #ede5e5;
  margin-bottom: 1px; /* Espacio inferior */
}
.header nav a {
  color: rgb(0, 0, 0);
  margin-left: 3px;
  text-decoration: none;
  box-shadow: none;
}


/* Alineación general  para la barra de navegación*/
.navigation {
  display: flex;
  align-items: center;
  justify-content:space-around;
  gap: 20px; /* Espacio uniforme entre todos los elementos */
}

.navigation a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 1.2em;
  margin: 0 10px;
  transition: color 0.3s ease;
}
.navigation img {
  width: 59px;
  height: 8vh;
  transition: 0.5s;
  margin: 0%;
  object-fit: cover;
  color: rgb(218, 31, 31);
}
.navigation img:hover {
  transform: scale(1.3);
}
.navigation a:hover {
  text-decoration: none;
  color: white;
  box-shadow: #333;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
  padding: 20px;
  flex-direction: column;
}



/*Modifica la distancio, radio entre otras cosas sobre los iconos */
.buttont {
  border-radius: 150px;
  padding: 4px;
  background-color: #edecec;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*Modifica el color de los iconos cuando se coloca en cima el cursor*/
.buttont:hover {
  transform: scale(1.2);
  background-color: #ebedf0c4;
}

/* GitHub icono adaptado */
.github-icon {
  width: 25px;
  height: 25px;
  transition: transform 0.3s;
}

.github-icon:hover {
  transform: scale(1.2);
}

/*Modifica el especio visual del espectrograma*/
canvas {
  margin-top: 7.5%;
  margin-left: 1%;
  width: 100%;
  height: 92%;
  background-color: #010008;
  margin-bottom: 10;
  border-radius: 14px;
}

.frequency-table {
  position:absolute;
  top: 9%;
  background-color: #e7e1e1e8;
  right: 0;
  margin-right: 1%;
  width: 40px;
  height: 93%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  margin-top: 1.2cm;
}

.frequency-table h4 {
  color: #dad0d0; /* Color del texto */
  text-shadow: 2px 2px 5px rgb(209, 201, 201); /* Sombra en el texto */
}

/* modifica los indicadores de frecuencias*/
.frequency-mark {
  width: 30px;
  height: 3px;
  background-color: #dddde2;
  position: absolute;
}

/*Modifica el tamaño del texto que indica la frecuencia */
.frequency-label {
  font-size: 14px;
  position: absolute;
  right: 0;
}

/* Modal de Ayuda */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(236, 233, 233, 0.541);
}

/*Modifica todo el contenido que se encuentre dentro del recuadro del modal */
.modal-content {
  background-color: #e7e1e1;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border: 5px solid #888;
  border-radius: 5%;
  width: 50%;
  max-height: 70vh;
  overflow-y:auto;
  scrollbar-width: none;
}


/* Modifica el color de los títulos dentro del recuadro del modal */
.modal-content h2,
.modal-content h3  {
  color: #050505; /* Color del texto */
  text-shadow: 2px 2px 5px rgb(12, 12, 12); /* Sombra en el texto */
  font-size: 1.5em; /* Ajusta el tamaño del texto según sea necesario */
  margin-bottom: 15px; /* Espacio inferior */
}

/* Modifica el color de los títulos dentro del recuadro del modal */
.modal-content p,
.modal-content ul {
  color: #050505; /* Color del texto */
  font-size: 1.2em; /* Ajusta el tamaño del texto según sea necesario */
  margin-bottom: 15px; /* Espacio inferior */
}


/*MOdifca el color y tamñao del indicador de cierre del modal o ventana */
.close {
  color: #877e7e;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

/*Modifica el cambio de color cuado se coloca el cursor en cima del indicador de cierr "X" */
.close:hover,
.close:focus {
  color: rgb(246, 12, 12);
  text-decoration: none;
  cursor: pointer;
}
/*.footer {
  position: absolute;
  bottom: 0;
  margin-top: 0%;
  left: 0;
  width: 100%;
  background-color: #fbfbfbd1;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 10px;
  box-shadow: 0 -4px 10px rgba(255, 255, 255, 0.99);
}
/*