 *{
    box-sizing: border-box;
    margin: 0;
    padding:0;
}

body {
  overscroll-behavior: none;
}

:root{
    --berdea:#4a9462;
    --argia:#faf3e3;
    --berdeiluna:#033f1f;
    --marroia:#925f36;
}




/* Evitar que se muestre el borde azul al hacer foco */
* {
  outline: none;
    user-select: none;
    -webkit-user-select: none;  /* Para navegadores webkit como Safari */
  -moz-user-select: none;     /* Para Firefox */
  -ms-user-select: none;      /* Para IE/Edge */

}
img {
  user-drag: none;
  -webkit-user-drag: none; /* Para compatibilidad con navegadores basados en WebKit como Safari */
    -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

}

/*

::-webkit-scrollbar {
    width: 10px; 
    height: 10px; 


::-webkit-scrollbar-track {
    background: var(--argia); 
    border-radius: 5px;
}


::-webkit-scrollbar-thumb {
    background: var(--berdeiluna); 
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--berdea);
}

*/
#sidebar::-webkit-scrollbar {
    width: 8px;
}

#sidebar::-webkit-scrollbar-track {
    background: transparent; /* Hace que el track no sobresalga */
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom:10px;
}

#sidebar::-webkit-scrollbar-thumb {
    background: var(--berdeiluna);
}

/* Firefox */
#sidebar {
    scrollbar-width: thin;
    scrollbar-color: var(--berdeiluna) transparent; /* thumb | track */
}



/* Firefox */
* {
    scrollbar-width: thin;  /* Opciones: auto, thin */
    scrollbar-color: var(--berdeiluna) var(--argia); /* (thumb) (track) */
}




body{
    height: 100vh;
    width: 100vw;
    display:flex;
    position: fixed;
}

@font-face {
    font-family: 'Textua';
    src: url('fonts/Larken-Thin.woff2') format('woff2'),
        url('fonts/Larken-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tituluak';
    src: url('fonts/Larken-Medium.woff2') format('woff2'),
        url('fonts/Larken-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/*

.hizkuntzak {
    position: relative; 
}

.hizkuntzak ul {
    position: absolute;
    bottom: 100%; 
    left: 50%;
    transform: translateX(-50%);
    background: var(--argia);
    border-radius: 10px;
    padding: 10px;
}

.hizkuntzak ul.collapsed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hizkuntzak ul.collapsed .idioma:not(.idioma-active) {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.idioma {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--argia);
    cursor: pointer;
    transition: all 0.3s ease;
}

.idioma:hover {
    background: var(--berdea);
    color: var(--argia);
}

*/




            .hizkuntzak ul {
                position: fixed;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex
;
    flex-direction: column;
    align-items: center;
    margin-top: -5px;        }

        .idioma {
    width: 50px;
    height: 50px;
    display: flex;
    visibility: visible;
    opacity: 1;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--argia);
    margin: 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
            }

            .idioma:hover{
                background: var(--berdea);
                color: var(--argia);
            }


        .hizkuntzak ul.collapsed .idioma:not(.idioma-active) {
            display: none;
            opacity:0;
            visibility: hidden;
        }






.video{
    border-radius:20px;
}
.video-tit{
    font-family: 'Tituluak';
    line-height: 100%;
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
    width: 80%;
    margin: auto;
        color: var(--berdeiluna);
    margin-bottom: 40px;
}

.video-p{
    padding: 20px;
    font-family: 'Textua';
    line-height: 100%;
    font-size: 20px;
    font-size: 30px;
    /* background: white; */
    border-radius: 20px;
    margin-top: 20px;
    color: var(--berdea);

}
#overlay-zuzena,
#overlay-okerra {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: transparent;
    opacity: 0;
    z-index: -1; /* Inicialmente invisible */
}

#overlay-zuzena.active,
#overlay-okerra.active {
    z-index: 9999999;
    animation-fill-mode: forwards; /* Mantiene el último frame */
}

@keyframes flashok {
    0% { background-color: var(--berdea); opacity: 0.8; }
    100% { background-color: transparent; opacity: 0; }
}

@keyframes flashko {
    0% { background-color: #d26a4d; opacity: 0.8; }
    100% { background-color: transparent; opacity: 0; }
}

#overlay-zuzena.active {
    animation: flashok 1.5s ease-out;
}

#overlay-okerra.active {
    animation: flashko 0.2s ease-out;
}






        #preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--argia);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 20px;
    z-index: 9999999;
    transition: opacity 0.5s ease-in-out;

}
#tolosaldea-jokua{
    color:var(--berdea);
    font-size:80px;
    text-align: center;
font-family: 'Tituluak';
        position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);

}
#dibujo-1{
        background-image: url(dibujo-1.svg);
    background-size: contain;
    position: fixed;
    left: 10%;
    top: 30%;
    width: 10vw;
    height: 10vw;
    /* z-index: 99999999; */
    background-repeat: no-repeat;
}
#dibujo-2{
        background-image: url(dibujo-2.svg);
    background-size: contain;
    position: fixed;
    left: 10%;
    bottom: 0%;
    width: 25vw;
    height: 25vw;
    background-repeat: no-repeat;
    background-position: bottom;
}

#dibujo-3{
background-image: url(dibujo-3.svg);
    background-size: contain;
    position: fixed;
    right: 0%;
    bottom: 40%;
    width: 33vw;
    height: 30vw;
    background-repeat: no-repeat;
    background-position: bottom;}


#loading-text{
    font-family: 'Textua';
    position: fixed;
    top: 50%;
    color: var(--berdea);
    left: 50%;
    font-size: 29px;
    text-align: center;
    transform: translate(-47%, -56%);
}
.spinner {
    width: 100px;
    height: 100px;
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--berdea);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hidden2 {
    display: none;
}

#sidebar{
position: fixed;
    /* width: 20vw; */
    left: 20px;
    top: 20px;
    bottom: 20px;
    background-color:var(--argia) ;
    /* flex-basis: 20%; */
    z-index: 9;
    display: flex
;
    flex-direction: column;
    gap: 20px;
    overflow: auto;
    
    border-radius: 20px;
    padding: 20px 10px;
    padding-right:20px;

}

.clickable{
    width:250px;
    transition:all ease 0.3s;
    cursor:pointer;
    opacity: 1;
}

.clickable.seleccionada{
    opacity: 1!important;
}

.clickable.no-seleccionada{
    opacity: 0.5;
}


.clickable:hover{
    opacity: 0.4;
}

.clickable.no-seleccionada:hover{
    opacity: 0.8;
}
#game-container {
    background: #82986d;
    flex-basis: 100%;
    width: 100%;
    overflow: hidden;
}

#map{

    position: relative;
}

#image{
    width:200vw;
    max-width:250%;
}

.lottie-animation,#errepidea{position: absolute;}


.contador{
        position: fixed;
    right: 20px;
    bottom: 20px;
    font-size: 20px;
    font-family: 'Textua';
    background: var(--argia);
    padding: 10px 20px;
    border-radius: 40px;
    z-index: 99;
}





.erantzuna{
width: 14vw;
position: absolute;
cursor: pointer;
transition:all ease 0.3s;
}

.erantzuna:hover{
    opacity: 0.4;
}

 .erantzuna img{
    transition:filter ease 1s;
    filter: brightness(0);
 }

 .herria{
    visibility: hidden;
    opacity: 0;
    transition: all ease 1.8s;
    position: absolute;
 }
 .herria.eginda{
    visibility: visible;
    opacity: 1;
 }

.erantzuna.eginda img{
    filter: brightness(1);
}




.hidden {
    display: none;
}



#lottie-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    height: 100%px;
    z-index: 1000;
}

.aukera.eginda{
    opacity: 0.2!important;

}

#logo{
    position: fixed;
    bottom: 20px;
    left: 315px;
    /* transform: translateX(-50%); */
    width: 120px;
    z-index: 99;
}

#logo-1{
    position: fixed;
    bottom: 10px;
        left: 455px;
        width: 170px;
    z-index: 99;
}
#logos{
display: flex
;
    flex-wrap: wrap;
    margin: auto;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

#logo-1-inst{
    
        width: 100px;
    z-index: 99;

}
#logo-2-inst{
    
        width: 110px;
    z-index: 99;

}
#logo-3-inst{
    width:70px;
    z-index: 99;
}


#logo-1-inst svg rect, #logo-1-inst svg path, #logo-1-inst svg polygon{fill:var(--berdea)}
#logo-2-inst svg rect, #logo-2-inst svg path, #logo-2-inst svg polygon{fill:var(--berdea)}
#logo-3-inst svg rect, #logo-3-inst svg path, #logo-3-inst svg polygon{fill:var(--berdea)}
#logo-1 svg rect, #logo-1 svg path, #logo-1 svg polygon{fill:var(--argia)}
#logo-2 svg rect, #logo-2 svg path, #logo-2 svg polygon{fill:var(--argia)}


#logo-2{
position: fixed;
    bottom: 3px;
    left: 649px;
    /* transform: translateX(-50%); */
    width: 180px;
        z-index: 99;
}

#soinua, #lista-ireki {
        display: flex
;
        align-items: center;
        justify-content: center;
            width: 50px; /* Tamaño del botón */
    height: 50px;
    border-radius: 50%; /* Hacerlos redondos */
    border: none;
    background-color: var(--argia); /* Color de fondo */
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    z-index: 9999;
}
#soinua{
        top: 20px;
    right: 20px;
}

#soinua svg path{
    fill:var(--berdea);

}
#soinua:hover svg path{
    fill:var(--argia);
}
#soinua:hover{
    background:var(--berdea);
}
#lista-ireki{
    display: none;
}

.kendu ,.jarri{
    transition: all 1s ease;

}

.soinua .kendu{

    opacity: 1;visibility: visible;

}


.soinua.desactivo .kendu{

    opacity: 0;visibility: hidden;

}

.soinua .jarri{

    opacity: 0;visibility: hidden;

}

.soinua.desactivo .jarri{

    opacity: 1;visibility: visible;

}


.esteka-modal{
    text-decoration: none!important;
    background:var(--berdeiluna);
    font-family: 'Tituluak';
    margin-left: auto;
    color:var(--argia);
    padding: 5px 10px;
    border-radius: 30px;
    transition: all 0.3s ease;


}
.esteka-modal:hover{
    background: var(--berdea);

}

/* Modal */
#intro-modal {

    position: fixed;
    top: 50%;
    display: flex
;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: none;
    background: var(--argia);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    border: 4px solid var(--berdeiluna);
}


#intro-modal.active{
    z-index: 1000;
    visibility: visible;
    opacity: 1;

}
/* Contenido del modal */
.modal-content {
    padding: 40px 20px 20px 20px;
    text-align: center;
    position: relative;
    font-family: 'Textua';
}


/* Botón de cerrar */
#intro-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 40px;
    cursor: pointer;
    color: var(--berdea);
}



.scroll-btn {
    width: 100%;
    padding: 5px;
    background: transparent;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

#scroll-up {
    border-radius: 5px 5px 0 0;
}

#scroll-down {
    border-radius: 0 0 5px 5px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    visibility: hidden;
    opacity: 0;
    z-index: 0;
    transition: all ease 0.5s;
}
.modal-overlay.active{
        z-index: 1000;
        opacity: 1;
        visibility: visible;
}

#titulo-herria {
    display: flex; /* Oculto por defecto */
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 15px;
    border-radius: 10px;
    z-index: 99999;
}


        #titulo-herria,.cursor-follower {
            position: fixed;
            z-index:999999;
            top: 0;
            left: 0;
background: transparent;
            pointer-events: none;
            transform: translate(-50%, -50%);
        }

        #titulo-herria #argazkia-laguntza{
        display:none;
    opacity: 0;
transition:all 0.3s ease;

}
#titulo-herria.argazkiarekin #argazkia-laguntza{
        display:block;
    opacity: 1;
}
 #titulo-herria .argazkia-jarri{
        display: block;
        opacity: 1;
        background: var(--berdea);
        font-family: 'Textua';
        padding:10px 20px;border-radius: 20px;
        transition: all 0.3s ease;
        color: var(--argia);
         }

 #titulo-herria.argazkiarekin .argazkia-jarri{
    display: none;
    opacity: 0;


 }


 

#hizkuntzak{
    top: 20px;
    right: 80px;
    left: unset;
    position: fixed;
    font-size: 25px;
    background-color: var(--argia);
    color: var(--berdea);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    width: 50px;
    height: 50px;
    font-family: 'Tituluak';
}
/* Botón de abrir modal */

#open-info-modal{
        display: block;
    top: 20px;
    right: 140px;
    left: unset;
    position: fixed;
    font-size: 30px;
    background-color: rgb(255, 204, 62);
    color: #925f36;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    width: 50px;
    height: 50px;
    font-family: 'Tituluak';
}

#open-info-modal:hover {
    background-color: var(--berdeiluna);
    color:var(--argia);
}






#modal {
        transform: translate(0, -110%);
    transition:ease 1s all;
    display: flex;
    position: fixed;
    top: 20px;
    right: unset;
    width: 20vw;
    background: var(--argia);
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-align: left;
    z-index: 1000;
    min-height: 20vw;
    flex-wrap: wrap;
    gap: 20px;
    left: 310px;
}

#modal.active{
    transform:translate(0, 0);
}
#modal h2{
    font-family: 'Tituluak';
    font-size: 35px;
    line-height: 100%;
    text-transform: uppercase;
}
#modal p{
        font-size: 24px;
    line-height: 100%;
    font-family: 'Textua';
}

#modal img{
    border-radius: 10px;
}

#modal .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 40px;
    font-weight: bold;
    font-family: 'Textua';
    color: var(--berdea);
}
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}



#errepidea{
    left:0;
    width:200vw;
    max-width:250%;
    top:-15px;
}
#aduna-mapa{
    left: 138%;
    width: 19%;
    z-index: 99;
    top: 2%;
}
#baliarrain-mapa{
    left: 16.5%;
    width: 16%;
    z-index: 99;
    top: 66.5%;
}

#baliarrain{
    left: 20.5%;
    z-index: 99999;
    top: 66.5%;
}

#larraul-mapa {
    top: 11.5%;
    left: 48%;
    width: 19%;
    z-index: 99;
}
#alkiza-mapa{
    top: 16.5%;
    left: 85%;
    width: 21%;
    z-index: 99;

}
#zizurkil-mapa{
    top: 4%;
    left: 105%;
    width: 23%;
    z-index: 99;
}
#bidania-mapa{

    left: 16.5%;
    width: 16%;
    z-index: 99;
    top: 66.5%;
}

#bidania{
   top: 43.5%;
    left: 29%; 
    z-index: 999999;

}
#hernialde-mapa{
    top: 27%;
    left: 64%;
    width: 16%;
    z-index: 99;
}
#anip8{
top: 19%;
    left: 134.3%;
    width: 21%;
    z-index: 90;
}
#irura-mapa{

    top: 23%;
    left: 121.3%;
    width: 18%;
    z-index: 99;
}
#irura{

    top: 26%;
    left: 130.3%;
    z-index: 99999;

}
#anoeta-mapa{

    top: 29%;
    left: 114.3%;
    width: 17%;
    z-index: 90;
}

#alegia-mapa{

top: 48%;
    left: 60%;
    width: 20%;
    z-index: 99;
}

#ikaztegieta{    

    top: 55%;
    left: 44%;
    z-index: 999999;
}

#alegia{

    top: 51%;
    left: 75%;
    z-index: 999999;
}

#elduain-mapa{



    top: 47%;
    left: 161.3%;
    width: 21%;
    z-index: 90;

}

#elduain{

    top: 52%;
    left: 154.3%;
    z-index: 99999;
}

#lizartza-mapa {
    left: 113%;
    width: 15%;
    z-index: 99;
    top: 76%;
}


#lizartza {
    left: 115%;
    z-index: 99999;
    top: 82%;
}


#ibarra-mapa {
    top: 39.5%;
    left: 125.3%;
    width: 22%;
    z-index: 90;
}


#ibarra{

    top: 47%;
    left: 132.3%;
    z-index: 99999;

}


#albiztur-mapa {
    top: 37.5%;
    left: 45%;
    width: 21%;
    z-index: 99;
}


#albiztur {
    top: 45.5%;
    left: 54%;
    z-index: 99999;
}


#amezketa-mapa {
    left: 86%;
    width: 21%;
    z-index: 99;
    top: 80%;
}


    #amezketa{
    left: 96%;
    z-index: 99999;
    top: 88%;}




    #orexa-mapa {
    left: 124%;
    width: 22%;
    z-index: 99;
    top: 78.5%;
}

#orexa-etxeak{
        width: 84%;
    left: 28%;
    margin-top: 49%;
}

#orexa {
    left: 153%;
    z-index: 99999;
    top: 81%;
}


#zerkausia{
    left: 6%;
    width: 230%;
    top: 44%;
}

    

#aduna{
    left: 139%;
        z-index: 99999;
    display: block;
    position: absolute;
    top: 10%;
}

#ani18-e {
    top: 25.4%;
    left: 172.3%;
    z-index: 99999;
    display: block;
    position: absolute;
}

#hernialde {
    top: 33%;
    left: 83%;
    z-index: 99999;
    display: block;
    position: absolute;
}

#amasa-villabona{
    top: 22%;
    left: 149%;
    z-index: 99999;
    display: block;
    position: absolute;
}

#anoeta {
    top: 33%;
    left: 121%;
    z-index: 99999;
    display: block;
    position: absolute;
}

#alkiza {
    top: 22.5%;
    left: 99%;
    z-index: 99999;
    display: block;
    position: absolute;
    
}

#zizurkil{
    top: 6%;
    left: 108%;
    z-index: 99999;
    display: block;
    position: absolute;
}

#larraul{
    top: 13.5%;
    left: 41%;
    z-index: 99999;
    display: block;
}

#ani9-e{
    top: 13%;
    left: 96%;
    z-index: 99999;
    display: block;
    position: absolute;

}


#abaltzisketa-mapa {
    left: 61%;
    width: 14%;
    z-index: 99;
    top: 77.6%;
}


#abaltzisketa {
    left: 60%;
    z-index: 99999;
    top: 76.6%;
}


#belauntza-mapa {
    left: 117%;
    width: 17%;
    z-index: 99;
    top: 51%;
}


#belauntza {
    left: 108%;
    z-index: 99999;
    top: 56%;
}

#leaburu-mapa {
    left: 98%;
    width: 12%;
    z-index: 99;
    top: 56.6%;}

#leaburu {
left: 106%;
    z-index: 99999;
    top: 60.6%;
}

#orendain-mapa {
    left: 57%;
    width: 15%;
    z-index: 99;
    top: 66%;
}


#orendain{
    left: 55%;
    z-index: 99999;
    top: 67%;
}


#asteasu-mapa{
    width: 17%;
    top: 5%;
    left: 72%;
}



#asteasu{
        top: 13%;
    left: 76%;
    z-index: 99999;
}
#berastegi-mapa{


    top: 58%;
    left: 151.3%;
    width: 15%;
    z-index: 90;


}

#berastegi {
    top: 61%;
    left: 158.3%;
    z-index: 99999;
}

#gaztelu-mapa {
    left: 122%;
    width: 23%;
    z-index: 99;
    top: 65%;
}

#gaztelu {
    left: 135%;
    z-index: 99999;
    top: 70%;
}

#berrobi-mapa {
    top: 39%;
    left: 149.3%;
    width: 22%;
    z-index: 90;
}

#berrobi{
top: 46%;
    left: 144.3%;
    z-index: 99999;
}

#tolosa-mapa{
    top: 31.5%;
    width: 19%;
    left: 64%;
    position: absolute;
}
#topic{
    width: 100%;
    z-index: 99;
    margin-top: 89%;

}

#ani1{
    top: 10%;
    left: 92%;
    width: 29%;
    z-index: 95;}
#ani2{

    top: 35.5%;
    left: 2%;
    width: 45%;
    z-index: 99;}
/*GAZTA*/

#gazta {
    left: 35%;
    width: 100%;
    z-index: 99;
}
/*Txokolatina*/
#gorrotxa {
    width: 117%;
    left: 226%;
    margin-top: 89%;
}
#ani5 {
    left: -140%;
    width: 174%;
    z-index: 999;
    top: 85%;
}

#ani6-1 {
    left: 109%;
    width: 14%;
    z-index: 99;
    top: 49.6%;
}


#ani6-2 {
    left: 66%;
    width: 19%;
    z-index: 999;
    top: 69%;
}

#ani7 {
    top: 32%;
    left: 158.3%;
    width: 16%;
    z-index: 90;
}
#ani8-3,#ani8-4,#ani8-5, #ani8-6, #ani8-7, #ani8-8, #ani8-9, #ani8-14, #ani8-15{
    display:none;
}
#ani8-1{


    top: -3%;
    width: 62%;

}
#ani8-2{
top: 24.5%;
    left: 23%;
    width: 45%;
    z-index: 99;
}
#ani8-9 {
    left: -1.5%;
    width: 37%;
    z-index: 99;
    top: 79.5%;
}
#ani8-10{

    top: 30.5%;
    left: 0%;
    width: 28%;
    z-index: 99;
}


#ani8-11 {
    display: none;
    top: 12%;
    left: 15%;
    width: 192%;
    z-index: 8;
}



#ani8-12 {
left: 11.5%;
    width: 82%;
    z-index: 98;
    top: 57%;

}
#ani8-13 {
    left: -22.5%;
    width: 72%;
    z-index: 99;
    top: 69.5%;
}

#ani8-14{
left: 127%;
    width: 43%;
    z-index: 99;
    top: 86%;
}
#ani8-15 {
    left: 2.5%;
    width: 56%;
    z-index: 99;
    top: 88%;
}
#ani9{
    top: 4%;
    left: 55%;
    width: 19%;
    z-index: 9999;
}

#gazta2 {
    top: 90%;
    left: 0%;
    width: 120%;
    z-index: 9999;
}

#paseo {
    top: 12%;
    left: 40%;
    width: 52%;
    z-index: 9999;
}

#lauhortza {
    position: absolute;
    top: 24%;
    left: 87%;
    z-index: 9999;
}

#lauhortza-img {
    height: auto;
    width: 52%;
    z-index: 9999;
    transform: rotate(-106deg);
}

#ani10-1 {
    top: 30%;
    left: 121.3%;
    width: 36%;
    z-index: 90;
}
#ani10-2 {
    top: 15.5%;
    left: 99%;
    width: 27%;
    z-index: 99;
}

#ani10-3 {
    top: 17%;
    left: 156.3%;
    width: 36%;
    z-index: 90;
}
#ani10-4{
    left: 102%;
    width: 29%;
    z-index: 99;
    top: 62.5%;
}

#piparra {
    left: 6%;
    width: 100%;
    z-index: 99;
    margin-top: 59%;
}


#ani13 {
    top: 2%;
    left: 83%;
    width: 23%;
    z-index: 99;
}
#ani14-1 {
    left: 124%;
    width: 17%;
    z-index: 99;
    top: 53.6%;
}
#babarrunak {
    position: absolute;
    top: 37.5%;
    left: 31%;
    width: 55%;
    z-index: 999;
}
#babarrunak-img {
    position: absolute;
    top: 49.5%;
    left: 39%;
    width: 16%;
    z-index: 999;
}

#duroc {
    position: absolute;
    top: 49.5%;
    left: 45%;
    width: 23%;
    z-index: 999;
}

#duroc-img1 {
    position: absolute;
    top: 66.5%;
    left: -17%;
    width: 45%;
    transform: revert;
}
#duroc-img2 {
    position: absolute;
    top: 51.5%;
    left: 42%;
    width: 45%;
    z-index: 999;
}



#txindokiko-itzala {
    left: -88.5%;
    width: 350%;
    z-index: 9999;
    margin-top: 80.5%;
}
#ani16-1 {
    left: 132%;
    width: 38%;
    z-index: 99;
    top: 67%;
}

#arditxo {
    left: -93%;
    width: 100%;
    z-index: 999;
}
#tolosa{
top: 46%;
    left: 84.3%;
    z-index: 9999;
}

#ani18{
    top: 26%;
    left: 136.3%;
    width: 22%;
    z-index: 90;
}

#altzo-mapa {
    top: 51%;
    left: 71.3%;
    width: 34%;
    z-index: 90;
}


#altzo {
    top: 67%;
    left: 84.3%;
    z-index: 999;
}



#ani21{
        left: 11.5%;
    width: 109%;
    z-index: 99;
    top: 57%;

}





#ani20-1 {
    left: 14.5%;
    width: 33%;
    z-index: 99;
    top: 72.5%;
}


#ani20-2 {
    left: 87%;
    width: 17%;
    z-index: 99;
    top: 71%;
}


#ani20-3{
    left: 11%;
    width: 83%;
    z-index: 99;
    top: 40%;}
#ani20-4 {
    left: 69%;
    width: 111%;
    z-index: 99;
    top: -18%;
}
#ani20-5{
    top: 25%;
    left: 168.3%;
    width: 31%;
    z-index: 90;
}

#ani20-6 {
    top: 38%;
    left: 170.3%;
    width: 27%;
    z-index: 90;
}

#ani30 {
    left: 97%;
    width: 28%;
    z-index: 99;
    top: 75%;
}

#errota{
    left: 93%;
    width: 15%;
    z-index: 99;
    top: 89%;
}
@media (max-width: 768px) {

.hizkuntzak ul{
        bottom: 5px;
}
.video-container{display:none!important;}

.contador{

    right:10px;bottom:10px;
    
}

    #tolosaldea-jokua{
            color: var(--berdea);
    font-size: 15vw;
    line-height: 1;
    text-align: center;
    font-family: 'Tituluak';
    position: fixed;
    top: 86px;
    left: 50%;
    transform: translateX(-50%);
    }


#hizkuntzak ul{
    flex-direction: column-reverse;

}




    #dibujo-1{
            background-image: url(dibujo-1.svg);
    background-size: contain;
    position: fixed;
    left: -2%;
    top: 57%;
    width: 31vw;
    height: 25vw;
    /* z-index: 99999999; */
    background-repeat: no-repeat;
    }


#dibujo-2{
        background-image: url(dibujo-2.svg);
    background-size: contain;
    position: fixed;
    left: -7%;
    bottom: 0%;
    width: 68vw;
    height: 56vw;
    background-repeat: no-repeat;
    background-position: bottom;
}

#dibujo-3{
    background-image: url(dibujo-3.svg);
    background-size: contain;
    position: fixed;
    right: 0%;
    bottom: 20%;
    width: 71vw;
    height: 60vw;
    background-repeat: no-repeat;
    background-position: bottom;
}

    #hizkuntzak{
            position: fixed;
    bottom: 10px;
    left: 70px;
right: unset;
top: unset;
    }

    #open-info-modal{
            bottom: 10px;
    left: 10px;
    top: unset;
    right: unset;

    }

    #logo{
            position: fixed;
    bottom: 10px;
    left: unset;
    /* transform: translateX(-50%); */
    width: 120px;
    z-index: 99;
    right: 110px;
    }
 #image{
    width: 450vw!important;
    max-width: none!important;
    }
 #errepidea {
        width: 450vw;
        max-width: none;
    }

    #tolosa-mapa {
    top: 30.5%;
    width: 47%;
    left: 137%;
    position: absolute;
}

#orexa-mapa {
    left: 276%;
    width: 53%;
    top: 77.5%;
}
#anoeta-mapa {
    top: 29%;
    left: 257.3%;
    width: 36%;
       
}

#gaztelu-mapa {
    left: 275%;
    width: 53%;
    top: 65%;
}

#lizartza-mapa {
    left: 254%;
    width: 35%;
    top: 76%;
}

#altzo-mapa {
    top: 49.5%;
    left: 162.3%;
    width: 80%;
}
#ibarra {
    top: 46%;
    left: 291.3%;
}
#analtzisketa{
        left: 148%;
    top: 82.6%;
}

#ibarra-mapa {
    top: 39.5%;
    left: 283.3%;
    width: 48%;
}

#aduna-mapa {
    left: 315%;
    width: 39%;
      
    top: 3%;
}
#albiztur-mapa {
    top: 37.5%;
    left: 105%;
    width: 45%;
      
}
#berrobi-mapa {
    top: 39%;
    left: 334.3%;
    width: 50%;
       
}
#abaltzisketa-mapa {
    left: 133%;
    width: 33%;
      
    top: 75.6%;
}
#bidania-mapa {
    left: 50.5%;
    width: 42%;
      
    top: 43.5%;
}

#berastegi-mapa {
    top: 58%;
    left: 340.3%;
    width: 35%;
       
}

#baliarrain-mapa {
    left: 29.5%;
    width: 38%;
      
    top: 66.5%;
}
#amezketa {
    left: 196%;
        ;
    top: 88%;
}

#altzo {
    top: 66%;
    left: 182.3%;
}
#lizartza {
    left: 258%;
        ;
    top: 76%;
}
#larraul-mapa {
    top: 11.5%;
    left: 110%;
    width: 43%;
      
}
#irura-mapa {
    top: 23%;
    left: 274.3%;
    width: 38%;
      
}
#anoeta {
    top: 36%;
    left: 270%;
        ;
}
#irura {
    top: 26%;
    left: 289.3%;
        ;
}
#larraul {
    top: 17.5%;
    left: 83%;
        ;
    display: block;
}

#hernialde-mapa {
    top: 25%;
    left: 135%;
    width: 50%;
      
}
#hernialde {
    top: 32%;
    left: 160%;
        ;
}

#ani7 {
    top: 31%;
    left: 356.3%;
    width: 38%;
       
}
#zizurkil-mapa {
    top: 4%;
    left: 237%;
    width: 52%;
      
}
#alegia-mapa {
    top: 47%;
    left: 132%;
    width: 51%;
      
}
#berrobi {
    top: 46%;
    left: 324.3%;
        ;
}
#belauntza-mapa {
    left: 259%;
    width: 43%;
      
    top: 51%;
}
#lauhortza {
    position: absolute;
    top: 24%;
    left: 87%;
    z-index: 9999;
}

#lauhortza-img {
    height: auto;
    width: 52%;
    z-index: 9999;
    transform: rotate(-106deg);
}
#tolosa {
    top: 46%;
    left: 178.3%;
}
#belauntza {
    left: 280%;
        ;
    top: 56%;
}

#alegia {
    top: 55%;
    left: 146%;
        9;
}
#leaburu {
    left: 235%;
        ;
    top: 60.6%;
}
#ani14-1 {
    left: 113%;
    width: 17%;
    top: 53.6%;
}
#elduain-mapa {
    top: 47%;
    left: 363.3%;
    width: 44%;
       
}

#ani8-1 {
    top: -4%;
    width: 143%;
}
#leaburu-mapa {
    left: 220%;
    width: 29%;
      
    top: 56.2%;
}
    #orexa {
        left: 328%;
        top: 80%;
    }

#elduain {
    top: 52%;
    left: 341.3%;
}


#alkiza-mapa {
    top: 16.5%;
    left: 191%;
    width: 46%;
      
}
#alkiza{
   left: 227%
}
#ani13 {
    top: 2%;
    left: 188%;
    width: 51%;
      
}
#anip8 {
    top: 19%;
    left: 303.3%;
    width: 41%;
       
}
#amasa-villabona {
    top: 24%;
    left: 335%;
        ;
    display: block;
    position: absolute;
}

    #gaztelu {
        left: 292%;
        top: 68%;
    }

#orendain {
    left: 125%;
        ;
    top: 66%;
}
#ani10-2 {
    top: 14.5%;
    left: 215%;
    width: 67%;
}   
#zizurkil {
    top: 6%;
    left: 233%;
        ;
    display: block;
    position: absolute;
}
#asteasu-mapa {
    width: 38%;
    top: 6%;
    left: 166%;
}
#asteasu {
    top: 13%;
    left: 161%;
        ;
}

#ani6-1 {
    left: 250%;
    width: 27%;
    top: 49.6%;
}
#orendain-mapa {
    left: 128%;
    width: 34%;
      
    top: 66%;
}

#ani1 {
    top: 11%;
    left: 208%;
    width: 59%;
}
    #berastegi {
        top: 61%;
        left: 347.3%;
    }
#bidania {
    top: 46.5%;
    left: 80%;
        9;
}
#albiztur {
    top: 37.5%;
    left: 98%;
        ;
}


#ani10-1 {
    top: 32%;
    left: 275.3%;
    width: 69%;
       
}

#ani30 {
    left: 219%;
    width: 69%;
    top: 77%;
}

#ani6-2 {
    left: 151%;
    width: 42%;
    top: 69%;
}

#gazta2 {
    top: 90%;
    left: -19%;
    width: 120%;
    z-index: 9999;
}

#paseo {
    top: 15%;
    left: 104%;
    width: 93%;
    z-index: 9999;
}
#babarrunak {
    position: absolute;
    top: 34.5%;
    left: 83%;
    width: 103%;
    z-index: 999;
}
#babarrunak-img {
    position: absolute;
    top: 45.5%;
    left: 53%;
    width: 22%;
    z-index: 999;
}

#duroc {
    position: absolute;
    top: 50.5%;
    left: 90%;
    width: 23%;
    z-index: 999;
}

#duroc-img1 {
    position: absolute;
    top: 66.5%;
    left: -17%;
    width: 45%;
    transform: revert;
}
#duroc-img2 {
    position: absolute;
    top: 51.5%;
    left: 42%;
    width: 45%;
    z-index: 999;
}

#abaltzisketa {
    left: 118%;
    z-index: 99999;
    top: 75%;
}

#ani5 {
        left: -144%;
        width: 172%;
        top: 70%;
    }
#ani18 {
    top: 26%;
    left: 307.3%;
    width: 48%;
       
}
#ani8-13 {
    left: -59.5%;
    width: 152%;
      
    top: 68.5%;
}

#ani20-1 {
    left: 33.5%;
    width: 72%;
    top: 72.5%;
}

#ani20-1 {
    left: 33.5%;
    width: 72%;
    top: 72.5%;
}
#ani14-2 {
    top: 49.5%;
    left: 80%;
    width: 56%;
}

#ani10-4 {
    left: 228%;
    width: 72%;
    top: 61.5%;
}

#ani9 {
    top: 2%;
    left: 149%;
    width: 45%;
}

#ani2 {
    top: 35.5%;
    left: 4%;
    width: 103%;
}



#ani16-1 {
    left: 300%;
    width: 80%;
    top: 68%;
}


#ani8-2 {
    top: 25.5%;
    left: 58%;
    width: 91%;
}


#ani8-10 {
    top: 30.5%;
    left: 0%;
    width: 60%;
}


#ani8-12 {
    left: 21.5%;
    width: 177%;
    top: 57%;
}

#ani10-3 {
    top: 18%;
    left: 355.3%;
    width: 76%;
}

#errota {
        left: 211%;
        width: 29%;
        z-index: 99;
        top: 90%;
    }




#aduna{
        left: 322%;    top: 12%;
}


.erantzuna{
    width:48vw;

}




    

    .sidebar-desactivado {
    transform: translateX(-120%);
    transition: transform 0.4s ease-in-out;
}

.sidebar-activado {
    transform: translateX(0%);
    transition: transform 0.4s ease-in-out;
    }

       #soinua, #lista-ireki {
        display: flex;
        align-items: center;
        justify-content: center;
    }

     #lista-ireki{
        top: 10px;
        left: 10px;
    }

    #soinua {
        top: 10px;
        right: 10px;
    }

        #titulo-herria {
        display: block;
    }

#intro-modal{width: 90%}

    #sidebar{

        position: fixed;
    /* width: 20vw; */
    left: 10px;
    margin: auto;
    right: 10px;
    top: 80px;
    bottom: 80px;
    background-color: #faf3e3;
    /* flex-basis: 20%; */
    z-index: 9;
    display: flex
;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: auto;
    overflow-y: auto !important; /* Permite hacer scroll vertical */
    border-radius: 20px;
    padding: 20px 10px;

 }  

 #titulo-herria {
display: flex
;
        align-items: center;
        justify-content: center;
            position: fixed;
    top: 10px;
    text-align: center;
    right: 70px;
    left: 70px;
    /* transform: translateX(-50%); */
    color: white;
    opacity: 1;
    /* background-color: var(--argia); */
    padding: 5px 15px;
    border-radius: 10px;
    z-index: 99999;
    background: transparent;
    transform: none;
    font-family: 'Textua';
    font-size: 28px;


}
#titulo-herria #argazkia-laguntza{
        display:none;
    opacity: 0;
transition:all 0.3s ease;

}
#titulo-herria.argazkiarekin #argazkia-laguntza{
        display:block;
    opacity: 0.5;
}
 #titulo-herria .argazkia-jarri{
    background:transparent;
        display: block;
        font-size:20px;
        opacity: 1;
        transition: all 0.3s ease;
        color: var(--argia);
         }

 #titulo-herria.argazkiarekin .argazkia-jarri{
    display: none;
    opacity: 0;


 }
#modal {
    transform: translate(0, -140%);
    transition: ease 1s all;
    display: flex;
    position: fixed;
    top: 10px;
    right: 10px;
    width: calc(100% - 20px);
    background: #f8f1d6;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-align: left;
    z-index: 1000;
    min-height: 20vw;
    flex-wrap: wrap;
    gap: 20px;
    left:10px;
    /* bottom: 80px; */
}

#modal.active{
        transform: translate(0, 70px);

}


}
