/*Proporciones basicas*/
*{
    padding: auto;
    margin: auto;
    font-family: sans-serif;
}

/*Diseño de header*/


header{
    background: #59955F;
    color: white;
    padding: 20px 0 20px 10%;
    width: 90%;
    height: 50px;
    z-index: 1;
    position: fixed;
    top: 0;
    font-size: x-large;
}

header p{
    position: absolute;
    font-size: small;
    width: 250px;
    left: 9%;
    top: 46px;
}

.barraSuperior{
    position: absolute;
    display: flex;
    flex-direction: row;
    top: 10px;
    left:50%;

}

.barraSuperior button{
    border-radius: 10px;
    height: 40px;
    margin: 30px 2% 0 0; 

}

.barraSuperior button:hover{
    background-color: #3e6742;
}

.logoCoope{
    width: 70px;
    height: 70px;
    position: absolute;
    left: 2%;
    top: 3px;
    margin: 5px;
}

/*diseño de nav*/
nav{
    z-index: 2;
}

.navBtn{
    display: none;
    
}

nav button:hover{
    background-color: #59955F;
}

button{
    border:none;
    color: white;
    background-color: transparent;

}

.navImg{
    width: 40px;
    height: 40px;
    position: relative;

}
.navBtn:hover{
    background-color: rgb(32, 60, 5);
    width: 50px;
    height: 50px;
    border-radius: 10px;

}

nav{
    position: fixed;
    top: 0;
    right: 0;
}

/*Main de Acerca de nosotros*/
/*Diseño de simulación de Carrusel*/
.carrusel{
    left: 5%;
    top: 50px;
    position: relative;
    display: flex;
    scrollbar-width: none;
    width: 90%;

    margin: 0 0 60px 0 ;
}

.imgCarrusel{
    position: relative;
    display: flex;
    overflow-x: scroll;
    overflow-y:hidden;
    scrollbar-width: none;
    flex: 50%;
}

.imgCarrusel img{
    width: 50%;
    height: 200px;
    padding: 5px;
    position: relative;
    top: 10px;
    border-radius: 20px ;
}

.antes{
    position: relative;
    top: 5px;
    background-color: rgba(80, 122, 40);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height:200px;
    flex: 5%;
    border-radius: 10px;
    font-size: 100px;
    color: white;
}

.siguiente{
    position: relative;
    top: 5px;
    background-color: rgba(80, 122, 40);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height:200px;
    flex:5%;
    border-radius: 10px;
    font-size: 100px;
    color: white;
}
.antes:hover{
    background-color: rgb(80, 122, 40, 0.472);
}
.siguiente:hover{
    background-color: rgb(80, 122, 40, 0.472);
}

/*Cajas de texto en Acerca de nosotros*/
a{
    color: black;
}
.infBox{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 5% 10% 5% 10%;
    font-size: larger;
    position: relative;
    

}

.infArticle{
    background-color: #DFF267;
    flex: 50%;
    margin: 10px;
    border-radius: 10px;
    padding: 10px;

}
p{
    padding: 10px;
}
h3{
    padding: 10px;
}
.infAside{
    flex: 40%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;

}

.infAside aside{
    background-color: #DFF267;
    margin: 10px;
    border-radius: 10px;
    padding: 10px;
}


/*Modificaciones de ventana*/
    /*Historia*/
.historiaBox{
    margin: 5% 10% 5% 10%;
    font-size: larger;
    position: relative;
    left: 10%;
    top: 50px;
}
.infHistoria{
    background-color: #DFF267;
    margin: 10px;
    border-radius: 10px;
    padding: 10px;
    position: relative;

}


.instalaciones{
    float: left;
    width: 200px;
    height: 200px;
    margin: 30px;
    border-radius: 30px;
}

    /*Reglamentación*/
.newsMain{
    position: relative;
    top: 110px;
    display: flex;
    flex-direction: column;
    margin: 3% 5% 140px 5%;

}

.newsMain h2{
    margin: 10px 5%;
    text-align: left;
}

.newsMain .notiCont{
    background-color: #DFF267;
    margin: 10px 10% 10px 10%;
    border-radius: 10px;
    width: 70%;
    flex: 25%;
    padding: 10px;
}

.newsMain a{
    text-decoration: none;
    display: flex;
    flex-direction: row;
    color: black;
}

.contenedor{
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    
}
.contenedor h4{
  text-align: left;
  width: 100%;
}

    /*Servicios y Beneficios*/
.serviciosBox{
    margin: 10% 3% 5% 4%;
    font-size: larger;  
    position: relative;
}

.servicios{
    background-color: #DFF267;
    flex: 30%;
    margin: 10px;
    border-radius: 10px;
    padding: 10px;
}
.servicios ul li{
padding: 5px;
}

.infServicios{
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    left: 2%;
}

    /*Información variada*/
.otrosMain{
    margin: 10% 4% 5% 4%;
    font-size: larger;
    position: relative; 
}


.otrosBox{
    position: relative;
    background-color: #DFF267;
    width: 70%;
    margin: 20px;
    border-radius: 10px;
    padding: 20px;
    left: 15%;
}
/*Estilo del Footer */
footer{
    background-color: rgb(222, 229, 189);
    height: 300px;
    width: 100%;
    bottom: 0vh ;
    position: relative;
    position: relative;


}
.empresas{
    position: absolute;
    bottom: 170px;
    right: 2%;
    display: flex;   
    flex-direction: row; 
    flex-wrap: wrap;
}
.empresas img{
    width: 50px;
    height: 50px;

}
.coope{
    width: 300px;
    height: 100px;
    position: absolute;
    bottom: 20px;
    right: 2%;
}
.horario{
    width: 100px;
    height: 100px;
    position: relative;
    bottom: 40px;
    right: 2%;
}
.logoGruop{
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 6%;
    left: 2%;

}
.logo{
    margin-left: 0;
}

.logo img{
    width: 40px;
    height: 40px;
}


#map {
	width: 140px;
	height:140px;
    position: relative;
    top:160px;
    right: 42%;
    border-radius: 10px;
}

footer label{
    position: absolute;
    left: 45%;
    bottom: 100px;
    font-size: 20px;
}

.directionMap{
    width: 140px;
    height: 140px;

}

.locate{
    position: absolute;
    left:15%;
    top: 170px;
    width: 100px;

}





/*Cambios de pagina para que se responsive*/
@media screen and (max-width: 800px) {
    .antes{
        display: none;
    }
    .siguiente{
        display: none
    }
    .otrosMain{
        margin: 100px 2% 50px 4% ;
        
    }
    .otrosBox{
        left: 0;
    }
    footer label{
        position: absolute;
        left: 2%;
        bottom: 40px;
        font-size: 20px;
    }
    #map{
        display: none;
    }
    .newsMain{
        margin-top: 80px;
    }
    .infBox{
        margin-top: 80px;
    }
    .infArticle{
        margin-top: 100px;
    }
    .barraSuperior{
        display: none;
    }
    header{
        width: 90%;
    }
    header p{
        display: none;
    }
    .headerTl{
        position: relative;
        left: 50px;
    }

    .locate{
        top: 150px;
        left: 10px;
        width: 200px;
    }
    nav button{
        width: 100%;
        height: 50px;
    }
    .navBtn{
        display: block;
        background-color: transparent;
        z-index: 10;
        width: 60px;
        height: 60px;
        position: fixed;
        right:  10px;
        top: 10px;

    }
    .logoCoope{
        display: block;
    }

    .imgCarrusel{
        width: 80%;
    }
    .imgCarrusel img{
        width: 250px;
        height: 200px;
    }

    .junta{
        left: 70%;
    }
    .infHistoria{
        width: 110%;
        margin-top: 100px;
        margin-bottom: 100px;
    
    }
    .historiaBox{
        margin-left: 0;
    }
    .instalaciones{
        margin-left: 0;
    }
    .serviciosBox{
        margin-top: 100px;
    }
    .empresas{
        width: 50px;
    }
}

