body{
    overflow: hidden;
    -webkit-user-select: none;
}
#overlay{
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
    opacity: 80%;
    background-color: white;
    z-index: 14;
    cursor: pointer;
}
#overlay-lbl-container{
    margin-left: 24vw;
    height: 100%;
    width: 50vw;
    text-align: center;
    position: absolute;
    cursor: pointer;
    z-index: 15;
}
#label-overlay{
    letter-spacing: 6px;
    font-weight: bold;
    position: absolute;
    z-index: 15;
    margin-top: 40vh;
    font-size: 5vh;
    cursor: pointer;
}

.center{
    margin: auto;
    width: 50%;
    padding: 10px;
}

div.filaBotones{
    position: absolute;
}

div.Boton{
    position: relative;
    text-align: center;
    border-radius: 100vh;
    background-size: cover;
    background-position: center;
    background-image: url("../img/blanca.JPG");
}


div.up{
    position: absolute;
    width: 100%;
    height: 100%;
}

div.down-abriendo{
    width: 100%;
    height: 100%;
    background-color: rgba(39, 164, 224, 0.60);
    border-radius:100%;
}

div.down-cerrando{
    width: 100%;
    height: 100%;
    background-color: rgba(241, 133, 133, 0.60);
    border-radius:100%;
}

div.Tecla{
    position:absolute;
    top:0px;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
    font-size: 2vh;
}

div.Numero{
    position:absolute;
    top:0px;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
    font-size: 2vh;
}

div.Nota{
    position:absolute;
    width: 100%;
    visibility: hidden;
    font-size: 2vh;
    pointer-events: none;
}

#menu {
    font-family: serif;
}
#mini-acordeon-img{
    height:8vh
}
#dir-fuelle-izq{
    left:0px;
    position:absolute;
    height:3vh;
    bottom:2vh;
    display:none;
}
#dir-fuelle-der{
    right:0px;
    position:absolute;
    height:3vh;
    bottom:2vh;
    display:none;
}
.dir-fuelle-abrir{
    background-color: #3db4fe!important;
    border-style: solid;
    border-width: 1px;
    border-radius: 100%;
    border-color: black;
    background-color: white;
    max-height: 100%;
    max-width: 100%;
}
.dir-fuelle-cerrar{
    background-color: #ff9898!important;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    border-style: solid;
    border-width: 1px;
    border-radius: 100%;
    border-color: black;
    background-color: white;
    max-height: 100%;
    max-width: 100%;
}
#mini-acordeon{
    height: 10vh;
    display: inline-block;
    position: relative;
}
.slider-icon{
    font-size: 4vh!important;
    vertical-align: middle;
}
#subtipo-icon{
    font-size: 4vh;
    vertical-align: middle;
}
#mostrar-teclas{
    height: 6vh;
    margin-top: 0.6vh;
}
#mostrar-numeros{
    height: 6vh;
    margin-top: 0.6vh;
}
#mostrar-notas{
    height: 6vh;
    margin-top: 0.6vh;
}
#mostrar-icon{
    font-size: 4vh;
    vertical-align: middle;
    margin-right: 3vh;
}
.separador-vertical{
    border-left: 1px solid grey;
}
#doremi{
    height: 5vh;
    margin-top: 0.6vh;
}
#abc{
    height: 5vh;
    margin-top: 0.6vh;
}
.deslizador {
  display: inline!important;
  -webkit-appearance: none;
  width: 25vh !important;
  height: 1.5vh;
  margin-left: 2vh !important;
  background: linear-gradient(to right, #2196f3 var(--val, 100%), white 0%);
  border-radius: 5px;
  outline: none;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}function updateSliderStyle(slider) {
  const val = (slider.value - slider.min) / (slider.max - slider.min) * 100;
  slider.style.setProperty('--val', val + '%');
}

/* Pulgar personalizado */
.deslizador::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2.2vh;
  height: 2.2vh;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2196f3;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  transition: transform 0.2s;
}

.deslizador::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Firefox */
.deslizador::-moz-range-track {
  background: white;
  height: 1vh;
  border-radius: 5px;
}

.deslizador::-moz-range-progress {
  background: #2196f3;
  height: 1vh;
  border-radius: 5px;
}

.deslizador::-moz-range-thumb {
  width: 2.2vh;
  height: 2.2vh;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2196f3;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
}

div.header-container{
    overflow: visible;
    width: 100%;
    height: 9vh;
    float: left;
    background-color: #ffffff00;
    padding-top: 0px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: absolute;
    z-index: 200;
    top: 0;
}

#header-toggle-btn {
    position: absolute;
    top: 9vh;
    left: 1vh;
    width: 5vh;
    height: 4vh;
    background-color: #ffffff7d;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 2vh 2vh;
    cursor: pointer;
    z-index: 199;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

#header-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}

#header-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

#header-toggle-btn.header-hidden svg {
    transform: rotate(180deg);
}

img.circulo{
    border-style: solid;
    border-width: 1px;
    border-radius: 100%;
    border-color: black;
    max-height: 100%;
    max-width: 100%;
}
div.simulador-container{
    text-align: center;
    z-index: -1;
    width: 100%;
    height: 100vh;
    margin-left:0%;
    overflow: hidden;
    background-position: bottom;
    background-size: cover;
}
#icono-volume-der{
    width: 7vh;
}
#icono-volume-izq{
    width: 7vh;
}
#icono-reverb{
    width: 7vh;
}
#icono-config-keyboard{
    width: 10vh;
    margin-bottom: 1vh;
    cursor: pointer
}
#nmcp{
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: white;
    position: absolute;
    visibility:hidden;
}

div#simulador{
    height: 100vh;
    padding-top: 3.5vh;
    padding-bottom: 3.5vh;
    margin: auto;
    display: inline-block;
    transition: transform 0.6s ease-in-out;
}

div#buttons-der-container{
    position:absolute;
}

div#buttons-izq-container{
    position:absolute;
}
div#cambiar-dir-fuelle{
    position:absolute;
}
img#fondo-app{
    max-width: 300vw;
    max-height: 100%;
    height: 100vh;

}
.loader{
    margin:auto;
    height: 25vh;
    margin-top: 35vh;
    display:block;
}

.gif-container{
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: white;
    cursor: pointer;
    z-index:999;
    overflow:hidden;
}
.cerrar{
    width: 5vh;
    cursor: pointer;
    border-radius: 1000px;
    border-color: black;
    border-width: 1px;
    border-style: solid;
    padding: 4px;
    margin-top: 3vh;
}
#botones-header{
    padding: 0.5vh 0px 0px 0px !important;
    height: 100% !important;
    overflow: hidden;
    width: 100%;
    margin: auto;
    background: #ffffff7d
}
img.text-on:hover{
    cursor: pointer;
}
img.text-on{
    filter: invert(100%);
    background-color: white;
}
.offeable:hover{
    cursor:pointer; cursor: hand
}
.off:hover{
    cursor:pointer; cursor: hand
}
#ayuda {
    height: 5vh;
    margin-left: 1vw;
    border:none;
}
#maximizar {
    height: 5vh;
    position: absolute;
    margin-right: 1vw;
    margin-top: 2vh;
    border:none;
    right: 0px
}
#minimizar {
    height: 5vh;
    position: absolute;
    margin-right: 1vw;
    margin-top: 2vh;
    border:none;
    right: 0px;
    visibility: hidden;
}
#zoom-horizontal,
#zoom-horizontal-exit {
    height: 5vh;
    width: 5vh;
    position: absolute;
    margin-left: 1vw;
    margin-top: 2vh;
    border: none;
    left: 0px;
    cursor: pointer;
    stroke: black;
}
#zoom-horizontal-exit {
    visibility: hidden;
}
#zoom-horizontal:hover,
#zoom-horizontal-exit:hover {
    opacity: 1;
}
.zoom-horizontal-mode-der #buttons-der-container .singleButton {
    transform: rotate(90deg);
}
.zoom-horizontal-mode-izq #buttons-izq-container .singleButton {
    transform: rotate(-90deg);
}
.singleButton {
    transition: transform 0.6s ease-in-out
}
#opciones {
    height: 5vh;
    border: none;
    margin-right: 1vw
}
#ayuda,
#opciones,
#maximizar,
#minimizar{
    filter: invert(100%);
}
#mini-mano-izq {
    height:7vh;
}
#mini-mano-der {
    height:7vh;
}

img.on{
    background-color: #3db4fe;
}
.con-margen{
    margin: 1vh;
}
#recordingslist{
    height: 25vh;
    overflow-y: scroll;
}
#recordingslist .divaudio {
 display: block;

}
#recordingslist .divaudio audio{
 width: 90%;
}

div#registros-der-container{
    position: absolute;
    margin-left: 23vh;
    height: 36vh;
    width: 6vh;
    top: 35vh;
    z-index: 10;
}
div.registro-der{
    width: 8vh;
    height: 5.7vh;
    cursor: pointer;
    margin-top: 1vh;
    background-size: 100%;
    mix-blend-mode: screen;
    background-blend-mode: screen;
    border-radius: 1vh;
    margin-top: 0.8vh;
    background-position: right; /* Fijamos la imagen al lado derecho */
    transform-origin: right center; /* Fijamos el origen del escalado a la derecha */
    transition: transform 0.1s ease-in-out;
}
div.shrink {
  transform: scaleX(0.85); /* Escalado horizontal del 90% */
}
div#registro-der-1{
    background-image: url("../img/registro1.png");
    display:none;
}
div#registro-der-2{
    background-image: url("../img/registro2.png");
    display:none;
}
div#registro-der-3{
    background-image: url("../img/registro3.png");
    display:none;
}
div#registro-der-4{
    background-image: url("../img/registro4.png");
    display:none;
}
div#registro-der-5{
    margin-bottom: 1vh;
    background-image: url("../img/registro5.png");
    display:none;
}
#panel-config{
    position: absolute;
    overflow: hidden;
    top: 0px;
    height: 0px;
    text-align: center;
    margin: auto;
    width: 100%;
    background:#ffffffe8;
    z-index: 200;
}

.panel-ayuda{
    position: absolute;
    overflow: hidden;
    top: 0px;
    height: 0px;
    text-align: center;
    margin: auto;
    width: 100%;
    background-repeat: no-repeat;
    background-position: top;
    background-color: white;
    background-size: 104vh;
    background-position-y: 20vh;
    font-family: system-ui;
    z-index: 200;
}
.texto-ayuda{
    margin-top: 11vh;
    width: 100%;
    font-size: 2.5vh;
    position: absolute;
}
.select-subtipo:hover{
    cursor: pointer;
}
.lbl-ayuda-subtitulo{
    font-weight: normal;
}
#parrafo-cambiar-direccion-fuelle{
    display:none;
}

.select-subtipo{
    border-radius: 7vh!important;
    height: 6vh!important;
    width: 20vh!important;
    padding: 0px!important;
    display: inline-block!important;
    font-size: 4vh!important;
    text-align: center!important;
    background-color: white!important;
    margin-top: 0.55vh;
    border: 1px solid lightgray!important;
    margin-left: 1vh;
}
.lbl-subtipo{
    font-size: 2.8vh;
}
#lbl-show{
    position: absolute;
    padding-top: 2vh;
}
#mostrar-teclas{
    margin-left: 6vh;
}
div.mostrar{
    height: 7.4vh;
    width: 41vh;
    margin-bottom: 0;
    display: inline-block;
    margin-top: 2vh;
}
div.config-keyboard{
    height: 7.4vh;
    width: 41vh;
    margin-bottom: 0;
    display: inline-block;
    margin-top: 1vh;
    padding-top: 0.5vh;
    cursor: pointer;
}
.config-keyboard:hover {
  background-color: #d8f4ff; /* Color de fondo cuando se pasa el mouse */
}
#lbl-config-keyboard{
    cursor: pointer
}
div.recuadro{
    border-radius: 5.3vh;
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: #80808094;
}
#mostar-teclas{
    height: 7vh;
}
#mostar-numeros{
    height: 7vh;
}
#mostar-notas{
    height: 7vh;
}
div.notacion{
    height: 6vh;
    display: inline-block;
}
div.volume{
    display: inline-block;
    height: 7.4vh;
    vertical-align: middle;
    padding-left: 2vh;
    padding-right: 2vh;
    width: 41vh;
    margin-top: 1vh;
}
div.reverb{
    display: inline-block;
    height: 7.4vh;
    vertical-align: middle;
    padding-left: 2vh;
    padding-right: 2vh;
    width: 41vh;
    margin-top: 1vh;
}
#subtipo{
    font-family: system-ui;
    display: inline-block;
    height: 7.4vh;
    vertical-align: middle;
    padding-left: 2vh;
    padding-right: 2vh;
    width: 41vh;
    margin-top: 1vh;
    display: none;
}
#progress{
    position: absolute;
    bottom: 0px;
    height: 11vh;
    width: 100%;
    vertical-align: middle;
    padding-left: 21vh;
    padding-right: 27vh;
}
#progress-range{
    width: 100%!important;
    vertical-align: middle;
    margin-top: 4vh;
}
#play-icon{
    font-size: 4vh;
    vertical-align: middle;
}
#play-button{
    width: 9vh;
    height: 9vh;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: 7vh;
    border-style: solid;
    border-radius: 100vh;
    border-width: 1px;
    border-color: #a7a7a7;
    position: absolute;
    z-index:99;
}
#play-speed{
    font-family: system-ui;
    display: inline-block;
    height: 7.4vh;
    vertical-align: middle;
    padding-left: 2vh;
    padding-right: 2vh;
    margin-top: 2vh;
    position: absolute;
    right: 1vh;
}
#select-play-speed{
    cursor: pointer;
}

#select-play-speed{
    border-radius: 7vh!important;
    height: 6vh!important;
    width: 20vh!important;
    padding: 0px!important;
    display: inline-block!important;
    font-size: 4vh!important;
    text-align: center!important;
    background-color: white!important;
    border: 1px solid lightgray!important;
    font-family: system-ui;
    height: 7.4vh;
    vertical-align: middle;
}
@media (max-width: 400px) {
  #keyboard {
    position: absolute;
    right: 0;
  }
}