*{
    margin: 0;
    padding: 0;
}

body{
    font-family: "Raleway", sans-serif;
    color: #000000;
}

.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{
    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;
    
}

.cont-menu h1{
    font-size: 18px;
  }
  

.direcciones-contenedor {
    background: url(../img/AC6.jpg);
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    color: #000000;
    
}

.direcciones{
    display: flex;
    flex-direction: column;
    margin-left: 200px;
}




.direcciones a{
    text-decoration: none;
    color:#000000 ;
    font-family: "Raleway", sans-serif;
}

.direcciones p{
    margin-top: 70px;
    margin-left: 10px;
    font-size: 15px;
}

.urles p:hover{
    font-weight: bold;
}

.urles{
    margin-top: 10px;
    display: flex;
    width: 80%;
   
}

.textos-one {
    
    margin-top: 30px;
    flex-direction: column;
    display: flex;
}

.textos-one h1{
    font-size: 30px;
}

.textos-one p{
    width: 40%;
    padding-top: 20px;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: 20px;
}

.imgles {
    color: #000000;
    width: 40%;
}

.imgles-one{
    margin-top: 50px;
    display: flex;
    width: 250px;
}

.imgles img {
    width: 100%;
    height: auto;
    margin: 0;
}

/*-----*/

.pergamino-contenedor {
    background-image: url(../img/PERGAMINOLLL.png);
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir todo el contenedor */
    background-position: center; /* Centra la imagen en el contenedor */
    height: 900px; /* Ajusta la altura del contenedor según tus necesidades */
    /* Otros estilos que desees aplicar al contenedor */
    margin:  0;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.pergamino-contenedor h1{
    padding: 100px;
    margin-top: 100px;

}

.pergamino-contenedor p{
    padding: 30px;
    margin: 0 auto 0 ;
    justify-content: center;
    align-items: center;
    width: 60%;
    font-size: 20px;
    

}



/* ============ */ 

.historia-contenedor {
    
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;  
    width: 80%;
    margin: 5% auto ;
}

.historia {
    border-radius: 10px;
    border: 1px solid #7dc500;  
    display: flex;
    flex-direction: column;
    color: #000000;
    width: 100%;
    padding: 100px;
    cursor: pointer;
    position: relative;
    transition: transform 0.5s ease;
}

.historia:hover {
    color: #fff;
    background-color: #83ca00;
    transform: rotateY(180deg);
}


.historia:hover .textos-two {
    transform: rotateY(180deg);
}


.contenido-adicional {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #83ca00;;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.5s ease;
}

.historia:hover .contenido-adicional {
    transform: rotateY(0deg);
}


.textos-two {
    flex-direction: column;
    display: flex;
    text-align: left;
}

.textos-two h1{
    font-size: 30px;
    color: #7dc500;
    
}

.textos-two p{
    
    padding: 10px;
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-size: 19px;

}

.reparto-historia {
    
    padding: 70px;  
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.reparto-historia img {
    border-radius: 30px;
    max-width: 100%;
    height: auto;
    margin: 0;
}


/* ====VISION MISION======== */ 

.vision-mision-contenedor {
    width: 80%;
    height: 300px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 100px auto;
    
}

.vi-mi-text {
    padding: 20px;
    width: 40% ;
    text-align: left;
    color: #000000;
    border: 1px solid #ccc;
}

.vi-mi-text p {
    margin-top:20px ;
    font-family: "Roboto Slab", serif;
    font-size: 14px;
}

.vi-mi-img {
    width: 500px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.vi-mi-img img {
    
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajusta esta propiedad según tus necesidades (cover, contain, etc.) */
    margin: 0;
   
}

/*foooter*/


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;
    width: 40%;
    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);
  }


