:root {
  --primer-color: #fff;
  --segundo-color: #24454e;
  --tercer-color: #8e6e95;
  --cuarto-color: #0182cc;
  --quinto-color: #fcc37b;
  --sexto-color: #c38484;
  --septimo-color: #d6b697;
  --octavo-color: #d6d697;
  --noveno-color: #84c384;
  --decimo-color: #8484c3;
  --undecimo-color: #aa97b7;
  --duodecimo-color: #cea9dd;
  --decimotercer-color: #afafaf;
  --color-sombra: rgba(0, 0, 0, 0.4);
}

@font-face {
  font-family: 'PermanentMarker';
  src: url('../fonts/PermanentMarker-Regular.ttf');
  font-weight: normal;
}

@font-face {
  font-family: 'PressStart2P';
  src: url('../fonts/PressStart2P-Regular.ttf');
  font-weight: normal;
}

@font-face {
  font-family: 'NotoMusic';
  src: url('../fonts/NotoMusic-Regular.ttf');
  font-weight: normal;
}

html {
  background-color: var(--primer-color);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1300px;
  max-width: 1920px;
  padding: 1em;
}

body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 1em;
  overflow: auto;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2em;
  box-shadow: 0.5em 0.5em 0.5em 0.25em var(--color-sombra);
}

header::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  right: 0.5em;
  bottom: 0.5em;
  border: 0.1em solid var(--segundo-color);
  border-radius: 1.7em;
}

.nav-container, .pie-pagina {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 1em;
}

.nav-item  {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.nav-label {
  font-family: 'PermanentMarker';
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--primer-color);
  width: 9em;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--segundo-color);
  border-radius: 1em;
  padding: 0.5em;
}

.nav-pant {
  width: 175em;
  height: 8em;
  background-image: url('../images/pantalla.png');
  background-size: cover;
  background-position: center center;
  margin: 0.1em;
}

#nav-pant-p1 {
  font-size: 1em;
  line-height: 1em;
  margin-bottom: 1em;
  font-family: 'PressStart2P';
  font-size: 0.7rem;
  color: var(--segundo-color);
  position: relative;
  top: 3em;
  left: 8em;
}

.nav-pant-p2 {
  font-family: 'PressStart2P';
  font-size: 0.7rem;
  color: var(--segundo-color);
  position: relative;
  top: 3em;
  left: 8em;
  text-transform: uppercase;
}

.btn-principal {
  width: 6em;
  height: 6em;
  position: relative;
  background-color: transparent;
  color: transparent;
  margin: 0.5em;
  cursor: pointer;
}

.active {
  background-image: url('../images/button-2.png');
  background-size: cover;
  border: none;
}

.inactive {
  background-image: url('../images/button-1.png');
  background-size: cover;
  border: none;
}

h1 {
  font-family: "PermanentMarker";
  font-size: 3em;
  text-align: center;
  background-color: transparent;
  color: var(--segundo-color);
}

h2 {
  font-family: "PermanentMarker";
  font-size: 2em;
  text-align: left;
  background-color: transparent;
  color: var(--tercer-color);
}

h3 {
  font-family: "PermanentMarker";
  font-size: 1.5em;
  text-align: left;
  background-color: transparent;
  color: var(--cuarto-color);
}

.contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 2em;
  margin-top: 1.5em;
  box-shadow: 0.5em 0.5em 0.5em 0.25em var(--color-sombra);
}

#mensaje-carga {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 1.5em;
  font-size: 1.5em;
  text-align: center;
  z-index: 1000;
}

.presentacion {
  padding: 2em;
}

.google-slide {
  box-shadow: 0.5em 0.5em 0.5em 0.25em var(--color-sombra);
  border-radius: 1em;
}

.nav-footer  {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.5em;
}

.nav-footer label {
  margin-bottom: 1em;
}

.nav-footer .active {
  width: 6em;
  height: 6em;
  background-image: url('../images/button-6.png');
  background-size: contain;
  border: none;
}

.nav-footer .inactive {
  width: 6em;
  height: 6em;
  background-image: url('../images/button-5.png');
  background-size: contain;
  border: none;
}

.lab-footer {
  font-family: 'PressStart2P';
  font-size: 0.5rem;
  text-transform: uppercase;
  width: 9em;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1em;
  border: 0.3em solid var(--segundo-color);
  padding: 1em;
  color: var(--segundo-color);
  background-color: var(--quinto-color);
  box-shadow: 0.4em 0.4em 0.4em 0.2em var(--color-sombra);
}
.form-contact {
  width: 100%;
  padding: 0 5em 2em 5em;
}

.form-contact a {
  font-family: 'PermanentMarker';
  text-decoration: none;
  color: var(--segundo-color);
  height: 100%;
}

.form-contact img {
  height: 20em;
  float: right;
  margin-left: 2em;
  margin-bottom: 2em;
  border-radius: 0.5em 7em 0.5em 7em;
  box-shadow: 0.4em 0.4em 0.4em 0.2em var(--color-sombra);
}

p {
  text-align: left;
  height: auto;
  width: auto;
  font-size: 1.3em;
  line-height: 2em;
  margin-bottom: 2em;
}

strong {
  color: var(--segundo-color);
  font-weight: bold;
}

.redes-sociales {
  list-style: none;
  display: flex;
  margin-bottom: 3em;
}

.redes-sociales li {
  padding: 0 1em 0 1em;
  width: 100%;
}

.redes-sociales a {
  font-family: 'PressStart2P';
  font-size: 0.5rem;
  text-transform: uppercase;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1em;
  border: 0.3em solid var(--segundo-color);
  padding: 0.4em 1em 0.4em 1em;
  color: var(--segundo-color);
  background-color: var(--quinto-color);
  box-shadow: 0.4em 0.4em 0.4em 0.2em var(--color-sombra);
}

.panel-inicio {
  padding: 0 5em 2em 5em;
}

.panel-inicio img {
  height: 20em;
  float: right;
  margin-left: 2em;
  margin-bottom: 2em;
  border-radius: 0.5em 7em 0.5em 7em;
  box-shadow: 0.4em 0.4em 0.4em 0.2em var(--color-sombra);
}

.panel-cookies{
  padding: 0 5em 2em 5em;
}

.panel-cookies a {
  font-family: 'PermanentMarker';
  text-decoration: none;
  color: var(--segundo-color);
  height: 100%;
}

.panel-cookies li {
  margin-bottom: 0.8em;
  font-size: 1.3em;
  line-height: 2em;
}

.panel-cookies img {
  height: 20em;
  float: left;
  margin-right: 2.5em;
  margin-bottom: 2.5em;
  border-radius: 7em 0.5em 7em 0.5em;
  box-shadow: 0.4em 0.4em 0.4em 0.2em var(--color-sombra);
}

.panel-legal {
  padding: 0 5em 2em 5em;
}

.panel-legal img {
  height: 20em;
  float: right;
  margin-left: 2.5em;
  margin-bottom: 2.5em;
  border-radius: 7em 0.5em 7em 0.5em;
  box-shadow: 0.4em 0.4em 0.4em 0.2em var(--color-sombra);
}

.panel-legal a {
  font-family: 'PermanentMarker';
  text-decoration: none;
  color: var(--segundo-color);
  height: 100%;
}

.generador {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 0 2em 0;
}

.separador {
  width: 0.1em;
  height: 9.1em;
  background: var(--segundo-color);
}

.gen-player, .leyenda-volume {
  display: flex;
}

.gen-player {
  height: 9em;
}

.gen-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

#spectrum {
  width: 63.5em;
  height: 12em;
  background-image: url('../images/pantalla-generador.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  margin-bottom: 0;
  padding: 5em;
  z-index: 1;
}

.leyenda-generador {
  position: absolute;
  width: 73.3em;
  height: 22em;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 2;
}

.leyenda-volume label, #volume-label {
  font-family: 'PressStart2P';
  font-size: 0.5rem;
  text-transform: uppercase;
  width: 9em;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1em;
  border: 0.3em solid var(--segundo-color);
  padding: 1em;
  color: var(--segundo-color);
  background-color: var(--quinto-color);
  margin: 2em;
}

#lab-gen-frecuencia {
  font-family: 'PressStart2P';
  font-size: 0.5rem;
  text-transform: uppercase;
  width: 9em;
  height: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1em;
  border: 0.3em solid var(--segundo-color);
  padding: 1em;
  color: var(--segundo-color);
  background-color: var(--quinto-color);
  margin: 2.2em 0 0 0;
}

#lab-gen-rango {
  font-family: 'PressStart2P';
  font-size: 0.5rem;
  text-transform: uppercase;
  width: 18em;
  height: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1em;
  padding: 1em;
  color: var(--segundo-color);
  margin-top: 1em;
  margin-bottom: 1em;
}

#frecuencia-generador {
  font-family: 'PermanentMarker';
  font-size: 0.8em;
  border: 0.3em solid var(--segundo-color);
  border-radius: 1em;
  padding: 0.5em 1.5em 0.5em 1.5em;
  margin-top: 0em;
  width: 8em;
  background-color: var(--segundo-color);
  color: var(--primer-color);
  text-align: center;
}

input[type="range"] {
  -webkit-appearance: none;
   appearance: none;
   background: transparent;
   cursor: pointer;
   width: 20em;
   margin: 1em 1em 0 1em;
}

/* Se elimina el foco por defecto */
input[type="range"]:focus {
 outline: none;
}

/* Estilos para Chrome, Safari, Opera y Edge Chromium */
/* Slider track */
input[type="range"]::-webkit-slider-runnable-track {
  background-color: var(--segundo-color);
  border-radius: 0.5em;
  height: 0.5em;
}

/* Slider thumb */
input[type="range"]::-webkit-slider-thumb {
 -webkit-appearance: none; /* Override default look */
  appearance: none;
  margin-top: -1em; /* Centers thumb on the track */

  /* Estilo personalizado */
  background-color: var(--quinto-color);
  border-radius: 0.5em;
  height: 2.5em;
  width: 1.25em;
  box-shadow: 0.2em 0.2em 0.2em 0.1em var(--color-sombra);
}

input[type="range"]:focus::-webkit-slider-thumb {   
 border: 0.1em solid var(--segundo-color);
 outline: 0.3em solid var(--segundo-color);
 outline-offset: 0.125em; 
}

/* Estilos para Firefox */
/* Slider track */
input[type="range"]::-moz-range-track {
  background-color: var(--segundo-color);
  border-radius: 0.5em;
  height: 0.5em;
}

/* Slider thumb */
input[type="range"]::-moz-range-thumb {
  border: none; /*Removes extra border that FF applies*/
  border-radius: 0.5em; /*Removes default border-radius that FF applies*/
  box-shadow: 0.2em 0.2em 0.2em 0.1em var(--color-sombra);

  /* Estilo personalizado */
  background-color: var(--quinto-color);
  height: 2.5em;
  width: 1.25em;
}

input[type="range"]:focus::-moz-range-thumb {
 border: 0.1em solid var(--segundo-color);
 outline: 0.3em solid var(--segundo-color);
 outline-offset: 0.125em; 
}

.gen-buttons, .gen-frecuencia {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 1.5em 0 1.5em;
}

.lab-gen-buttons {
  font-family: 'PermanentMarker';
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--primer-color);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--segundo-color);
  border-radius: 1em;
  padding: 0.5em 1.5em 0.5em 1.5em;

}

.gen-player button {
  width: 6em;
  height: 6em;
  background-color: transparent;
  margin-top: 0.5em;
  color: transparent;
  cursor: pointer;
}

.gen-player .active {
  background-image: url('../images/button-4.png');
  background-size: cover;
  border: none;
}

.gen-player .inactive {
  background-image: url('../images/button-3.png');
  background-size: cover;
  border: none;
}