*{
    margin: 0;
    padding: 0;
}


  body{
     font-family: "Raleway", sans-serif;
    
}
    

.header {
    width: 100%;
    height: 60px;
    position: fixed;
    background-color: #ffffff;
    display: flex;
    flex-direction:row;
    z-index: 1000;
    
}

.container {
    margin:0 auto 0;
    justify-content:space-between;   
    align-items: center;
    text-align: center;
    width: 80%;
    display: flex;
}

.btn-menu label {
    color: #023c00;
    font-size: 18px;
    cursor: pointer;
    margin-right: 0px; /* Ajusta el espacio entre el botón del menú y el texto "Menú" */
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;

}

.logo h1 {
    color: #023c00;
    font-weight: 400;
    font-size: 21px;
    margin-top: 2%;
    margin-left: 5px;
}



.menu {
    display: flex;
}

.menu a {
    display: inline-block;
    font-family: "Raleway", sans-serif;  
    padding: 0px 0px; /* Ajusta el espacio arriba/abajo y los lados */
    line-height: normal;
    text-decoration: none;
    color: #023c00;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    font-size: 15px;
    margin-right: 10px; /* Ajusta el espacio entre los elementos del menú */
}

.menu a:hover {
    border-bottom: 2px solid #023c00;
    padding-bottom: 5px;
}


/*Fin de Estilos para el encabezado*/

/*Menù lateral*/
#btn-menu{
    display: none;
}

.container-menu{
    position: absolute;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    opacity: 0; /* Establece la opacidad inicial en 0 */
    visibility: hidden;
    transition: opacity 0.5s ease;
}



#btn-menu:checked ~ .container-menu{ 
    opacity: 1;
    visibility: visible;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}


.cont-menu{
    width: 100%;
    max-width: 300px;
    background: #ffffff;
    height: 100vh;
    position: relative;
    transition: all 500ms ease;
    transform: translateX(-100%);
}
#btn-menu:checked ~ .container-menu .cont-menu{
    transform: translateX(0%);
    position: fixed;
    top: 0;
    left: 0;
}


.logo-slider img{
    background-color: #5b9000;
   
    width: 100%;
    height: auto; 
    display: flex;
    justify-content: center;
    align-items: center;  
}


.cont-menu nav{
    margin-top: 2px;
    transform: translateY(2%);
}

.cont-menu nav a H1{
    font-size: 17px;
}

.cont-menu nav a{
    border-bottom: 1px solid #91919179;
    display: block;
    text-decoration: none;
    padding: 20px;
    color: #000000;
    border-left: 5px solid transparent;
    transition: all 400ms ease;
}
.cont-menu nav a:hover{
    font-weight: bold;
    color: #fff;
    border-left: 5px solid #236e00;
    background: #6bad00d2;
    border-radius: 10px;
}

.cont-menu label{
    position: absolute;
    right: 5px;
    top: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

/* SLIDER DE PRIMERAS IMAGENES*/
.slider-frame {
	width: 100%;

    overflow: hidden;
	
}

.slider-frame ul {
	display: flex;
	padding: 0;
	width: 400%;
	animation: slide 20s infinite alternate ease-in-out;
}

.slider-frame li {
	width: 100%;
	list-style: none;
}

.slider-frame img {
	width: 100%;

    object-fit: cover;
}

@keyframes slide {
	0% {margin-left: 0;}
	20% {margin-left: 0;}
	
	25% {margin-left: -100%;}
	45% {margin-left: -100%;}
	
	50% {margin-left: -200%;}
	70% {margin-left: -200%;}
	
	75% {margin-left: -300%;}
	100% {margin-left: -300%;}
}

.botones-idiomas {
    position: absolute; 
    top: 32%; 
    left: 1%; 
    transform: translate(0px, -10%);
    z-index: 2;
    text-align: center;
}

.botones-idiomas button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.botones-idiomas button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.botones-idiomas button:active {
    transform: scale(0.95);
    background-color: #3e8e41;
}


/* SLIDER 2 */

.slider-container {
    overflow: hidden;
    width: 80%;
    font-family: "Raleway", sans-serif;
    margin: 20px auto;
    position: relative;
    z-index: 1; 
}

.title-slider2 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
}

.title-slider2 h1{
    
    font-family:  "Rajdhani", sans-serif;
    font-size: 25px;
}

.title-slider2 p{
    font-size: 18px;
}

.options-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
    /* Agrega margen negativo para compensar el margen en las opciones */
}


/*--------------*/



.hover-galeria {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(0, 0%, 0%, 0.783);
    transition: transform 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
}

.hover-galeria img {
    width: 10px;
    background-color: #000000;
}

.hover-galeria p {
    font-size: 17px;
    color: #fff;
}

.hover-galeria a{
    color: #fff;
    border-radius: 10px;
    padding: 7px;
    background-color: #6bad00d2 ;
}   



.hover-galeria ul {         
    margin: 0 auto 0;
    width: 70%;
    text-align: left;
}

.option:hover .hover-galeria {
    transform: scale(1);
}




/*-------BUTTON------*/
#expand-btn {
    text-align: center;
    border: 1px solid#ccc;
    background-color: #4b9b00; /* Color de fondo del botón */
    width: 350px;
    height: 35px;
    border-radius: 5px; /* Añade esquinas redondeadas al botón */
    font-size: 16px; /* Tamaño de fuente del texto del botón */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    margin: 0 auto 0;
}

#expand-btn a{
    color: #ffffff;
    text-decoration: none;
}

#expand-btn:hover {
    background-color: #436a00; /* Cambia el color de fondo al pasar el mouse sobre el botón */
    
}

#expand-btn:hover a{
    color: #fff;
}


/*--------------*/

.option {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    overflow: hidden;
    min-width: 210px;
    margin: 0 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;

    transition: box-shadow 0.3s ease-in-out;
}

.option img{
    justify-content: center;
    align-items: center;
    width: 100%; /* Hace que la imagen ocupe el 100% del ancho del contenedor */
    height: auto; /* Mantiene la proporción original de la imagen */
    max-width: 100%; /* Evita que la imagen se estire más allá de su tamaño original */
    display: block;

}

.option H2{
    padding: 10px;
    font-size: 15px;
}

.option p{
    padding: 5px;
    font-size: 15px;
}

.option a{

    display: flex;
    justify-content: center;
    font-size: 14px;
    margin-top:30px;
    text-decoration: none;
  
}

.option a:hover{
    font-weight: bold;
    text-decoration: underline;
}

.prev-btn, .next-btn {
    
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.prev-btn {
   
    left: 5%;
    margin-top: 220px;
}

.next-btn {
    
    right: 5%;
    margin-top: 220px;
}


/* SECTION 2 HORARIOS */

.Horarios-atencion {
    background: linear-gradient(to  right, rgba(185, 185, 185, 0.208),#ffffff, #ffffff);
    width: 70%;
    margin-top: 100px;
    margin: 100px auto 100px ; /* Centra horizontalmente */
    text-align: center; /* Centra el contenido interno */
    display: flex;
    flex-direction:row;
    align-items: center;
    justify-content:space-between;
    border-radius: 20px;
    border: 1px solid #ccc;
}

.Horarios-atencion h2{
    font-size: 90%;
    color: #436a00;
}

.textos-horarios {
    display: flex;
    flex-direction: column;
}


.textos-horarios h1{
    font-size: 19px;
    margin-left: 100px;
}

.textos-horarios a{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-decoration: none;
    margin-left: 100px;
    font-size: 15px;
    color: #023c00;
    text-align: left;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.textos-horarios a:hover{

    background-color: #eaeaea;
}

.Horarios-atencion p {
    font-family: "Raleway", sans-serif;

}


.Horarios-atencion img {
    border-radius: 0 20px 20px 20px;
    width: 200px;
    max-width: 100%; /* Asegura que la imagen no exceda el ancho del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
}

.sedes-text p{
    font-family: "Raleway", sans-serif;
    margin-top: 5px;
    margin-bottom: 12px;
    text-align: right;
}

#status-ubicacion1, #status-ubicacion2{
    padding: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid#ccc;
    border-radius: 10px;
    cursor: pointer;

}




.open {
    color: green;
}
.closed {
    color: red;
}

/*AHORRO INFANTIL */


.ahorro-infantil {
    display: flex;
    width: 100%;
    height: 250px;
    color: #ccc;
    text-align: center;
    justify-content: flex-start;
    margin: 0;
    align-items: center;
    background-image: url(img/AB1.jpg);
    background-size: cover; /* Ajusta el fondo para cubrir completamente el contenedor */
    background-position: center; /* Centra el fondo */
    background-repeat: no-repeat;

}


.textos-ahorro-infantil {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-left: 500px;
    width: 40%;
    color: #fff;
   
   
}

.textos-ahorro-infantil p{
    margin-top: 20px;
    font-size: 17px;
    font-family: "Raleway", sans-serif;
    
}

.textos-ahorro-infantil a{
    margin-top: 20px;
}


.textos-ahorro-infantil a{
    font-family: "Raleway", sans-serif;
    text-decoration: none;
    width: 60%;
    font-size: 15px;
    color: #ffffff;
    text-align: left;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.textos-ahorro-infantil a:hover{
    color: #023c00;
    background-color: #eaeaeacb;
}

/*inversion */

.inversion{
   
    width: 70%;
    margin-top: 100px;
    margin: 100px auto 100px ; /* Centra horizontalmente */
    text-align: center; /* Centra el contenido interno */
    display: flex;
    
    align-items: center;
    justify-content:space-between;
    border-radius: 20px;
    border: 1px solid #ccc;
    
}

.inversion img{
    width: 60vh;
    height: auto;
    margin: 0;
}

.textos-inversion {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 20px;
    width: 100%
   
}

.textos-inversion p{
    margin-top: 20px;
    font-size: 17px;
    font-family: "Raleway", sans-serif;
    
}

.textos-inversion a{
    margin-top: 20px;
}


.textos-inversion a{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-decoration: none;
    width: 40%;
    font-size: 15px;

    text-align: left;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.textos-inversion a:hover{
    color: #023c00;
    background-color: #eaeaeacb;
}




footer {
    margin: auto;
    overflow: hidden;
    color: #023c00;
    font-family: "Raleway", sans-serif;
    background-color: #f9f9f9;
  }
  
  
  
  .contenedor-footer {
    padding: 20px;
    display: flex;
    align-items: center; 
    justify-content: space-evenly;
  
  }
  
  .content-section{
    
    text-align: center;
    margin: 0;
  }
 
  .content-section img{
    width: 50%;
    height: auto;
    margin: 0;
  }

  .content-section p{ 
    margin-top: 5px;
    font-size: 20px;
    
  }
  .content-section h1{

    font-size: 15px;
  }
  
  .content-section a{		
    color: #023c00;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-decoration: none;

    font-size: 15px;

  }

  .content-section a:hover{		
    text-decoration: underline;

  }

  .loguitos{
    border-top: 1px solid #ccc;
  }

  .loguitos img{
    
    text-align: center;
    align-items: center;
    width: 8%;
    
  }

  .section-2 {
    
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    padding: 20px; 
}

.section-2 img {
    justify-self: center;
    width: 70%;
    height: auto; 
    display: block;
}

  .section-3{
    padding: 10px;
    border-left: 1px solid#ccc;
    text-align: left;
  }

  .marca{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }


  .marca img {
    justify-self: center;
    width: 120px;
  }

  .marca img:hover{
    transform: scale(1.1);
  }