:root {
    --mensaje-color: #e00b0b86;
    --p-color: #ffffffdc;
    --h1-color: #449888;
    --h2-color: #122214;
}

/*--------Z-INDEX--------*/
.contenedor-progreso{z-index: 7;}
.boton_ocultar_información{z-index: 6;}
.mensaje{z-index: 5;}
.contenedor_comparativa{z-index: 5;}
.b-dics{z-index: 4;}
footer{z-index: 1;}
.label{z-index: 0;}



body {
    background-color: #6a7266;
    color: #444;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    height: 100vh;
    overflow: hidden;
}
a {
    color: #08f;
}

.mensaje{
    width: 35%;
    height: 100vh;
    position: absolute;
    top: 0;
    right: -35%; /* Inicialmente fuera de la pantalla */
    padding: 0 0 20px 0;
    border: 2px solid #cecece;
    background-color: var(--mensaje-color);
    background-image: url("../images/light_noise_diagonal.png");
    background-repeat: repeat;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    text-align: left;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: left;
    justify-content: top;
    cursor: initial;
    border-radius: 10px;
    color: rgb(36, 36, 36);
    /*opacity: 1;*/
    transition: all 0.3s ease-in-out;
    /* Prefijos de propiedad para mayor compatibilidad */
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.boton_ocultar_informacion{
    width: 40px;
    height: 100px;
    position: fixed;
    font-size: 24px;
    font-weight: 500;
    top: 10px;
    right: 35%;
    padding: 10px;
    /*background-color:#110909;*/
    background-color:#449888;
    color: white;
    border-radius: 20px 0 0 20px;
    outline: none;
    border: none;
    cursor: pointer;
    display: none;
}

.boton_ocultar_informacion:hover{
    background-color: white;
    color:#449888 !important;
}

.contenedor-img-info{
    display: block;
    width: 100%;
    height: auto;
}

.mensaje img{
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.contenedor-info{
    padding: 1% 6%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: top;
    width: 100%;
    margin: 20px 0;

}
.mensaje p{
    font-size: 16px;
    font-weight: 400;
    color: #232c24;
    text-justify: distribute;
}

.mensaje_visible {
    right: 0; /* Desliza la barra lateral hacia adentro */
}

.contenedor-audio{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: top;
    width: 100%;
    margin: 20px 0;
}
.contenedor-audio figcaption{
    text-align: left;
    margin-bottom: 20px;
}
.contenedor-audio audio{
    width: 90%;
}

.contenedor-video{
    width: 100%;
    margin-top: 20px;
}

.contenedor-video iframe{
    aspect-ratio: 16 / 9;
    width: 100%;
}

.contenedor-progreso{
    width: 100%;
    height: 100vh;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 3s ease-in-out;
    /* Prefijos de propiedad para mayor compatibilidad */
    -webkit-transition: opacity 3s ease-in-out;
    -moz-transition: opacity 3s ease-in-out;
    -o-transition: opacity 3s ease-in-out;
}
#barra-progreso{
    width: 30%;
    margin-top: 0.5%;
    height: 2%;
    transition: all 0.2s ease-in-out;
}
#label-progreso{
    color: white;
    font-size: 2rem;
    transition: all 0.2s ease-in-out;
}

progress[value] {
    --color: rgb(134, 15, 15); /* the progress color */
    --background: lightgrey; /* the background color */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    width: 200px;
    margin: 0 10px;
    border-radius: 10em;
    background: var(--background);
}
progress[value]::-webkit-progress-bar {
    border-radius: 10em;
    background: var(--background);
}
progress[value]::-webkit-progress-value {
    border-radius: 10em;
    background: var(--color);
}
progress[value]::-moz-progress-bar {
    border-radius: 10em;
    background: var(--color);
}

#contenedor-loading-svg{
    width: 10%;
    transition: all 0.2s ease-in-out;
}
#loading-svg{
    fill: white;
}

.label{
    color: #ffffff;
    opacity: 0.8;
    font-size: 14px;
    font-weight: 400;
    max-width: 70px;
    text-align: center;
    transition: opacity 0.3s ease-in-out;
}

.swiper{
    width: 100%;
}

h1, h2{
    margin-bottom: 0px;
}

h1{
    /*
    color: #233653;
    color: #3A4A3C;
    */
    margin-top: 30px;
    color: var(--h1-color);
    text-align: center;
    font-family: "Anton", sans-serif;
    font-weight: 500;
    font-size: 48px !important;
    padding: 0 20px;
    border-radius: 10px;
    line-height: 48px;
    margin: 0 !important;
}


h2{
    color: var(--h2-color);
    padding: 0 60px;
    margin-top: 50px;
}
p{
    background-color: var(--p-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 0px;
}

strong{
    color: #449888;
}

.contenedor_comparativa{
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    left:0;
    bottom: 0;
    display: block;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #1d1b1b;
    padding: 1% 0 1% 3%;
    border-top: 2px solid #cecece;
}

.contenedor_elementos_comparativa{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
}

#boton_cenital{
    font-size: 18px;
    font-weight: 500;
    background: none;
    color: white;
    padding: 5px 20px;
    width: auto;
    cursor: pointer;
    outline: none;
    border-radius: 15px;
    border: none;
    transition: all 0.1s ease-in-out;
    /* Prefijos de propiedad para mayor compatibilidad */
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    border: 2px solid #cecece;
}

#boton_cenital:hover {
    /*background-color: #a53c4a;*/
    background-color: #cecece;
    color: #110909;
}

.botonera_años_comparativa{
    margin-left: 20px;
    display: flex;
    border-radius: 10px;
    opacity: 0;
    align-items: center;
    transition: all 0.3s ease-in-out;
    /* Prefijos de propiedad para mayor compatibilidad */
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.botonera_años_comparativa button{
    padding: 5px 10px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    margin-right: 5px;
    transition: all 0.1s ease-in-out;
    /* Prefijos de propiedad para mayor compatibilidad */
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
}
.botonera_años_comparativa_focus{
    background-color: #cecece !important;
    color: #122214 !important;
    font-weight: 700 !important;
}
.botonera_años_comparativa button:hover{
    font-weight: 700;
}

#logo-lago-chapo-libre{
    width: 230px;
    color: white;
    font-size: 32px;
    font-family: "Lobster", serif;
    line-height: 30px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    margin: 20px 0 0 20px;
}

#logo-lago-chapo-libre span{
    color: #6be9d2;
}


footer{
    font-family: 'Courier New', Courier, monospace;
    width: 100%;
    display: flex;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px;
    font-size: 12px;
    font-weight: 300;
    color: white;
    opacity: 0.7;
}
footer a{
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

footer a:hover{
    font-weight: 800;
}


/*
GLIDE SLIDER
*/
.glide__arrow{
    border: none !important;
    color: red;
    font-size: 32px;
    box-shadow: none !important;
    opacity: 0.6 !important;
    padding: 0 7px !important;
}
.glide__arrow:hover{
    opacity: 1 !important;
    background-color: white;
    border-radius: 25px;
    color: #6a7266;
}

.glide__arrow--left {
    left: 10px !important;
}
.glide__arrow--right {
    right: 10px !important;
}


@media only screen and (min-width: 1025px) and (max-width:1900px){
    .mensaje{
        width: 50%;
        right: -50%; /* Inicialmente fuera de la pantalla */
    }
    .mensaje_visible {
        right: 0; /* Desliza la barra lateral hacia adentro */
    }
    .boton_ocultar_informacion{
        right: 50%;
    }
    .boton_ocultar_informacion:hover{
        background-color:white;
        color:#6b0f1c;
    }
}
@media only screen and (max-width: 1024px){
    .mensaje{
        width: 100vw;
        right: -100vw; /* Inicialmente fuera de la pantalla */
    }
    .mensaje_visible {
        right: 0; /* Desliza la barra lateral hacia adentro */
    }
    .boton_ocultar_informacion{
        top: 20px;
        left: 20px;
        width: 48px;
        height: auto;
        border-radius: 50px;
        background-color: #6b0f1c;
        color: white;
    }
    .boton_ocultar_informacion:hover{
        background-color:white;
        color:#6b0f1c;
    }
}