@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/* styles.css */
* {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
}
body {
    background-color: rgb(235, 237, 240);
}
header {
    background-color: rgb(0, 123, 124);
    color: rgb(235, 237, 240);
}
.headerContenedor {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.headerInfo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.headerInfo div{
        /* display: inline-block; */
        text-decoration: none;
        /* width: 45px;
        height: 45px; */
        /* line-height: 45px; */
        color: rgb(235, 237, 240);
        /* margin-right: 10px; */
        text-align: center;
        /* border-radius: 10px;
        transition: all 300ms ease; */
}
.headText {
    padding-left: 5px;
    padding-right: 15px;
}
.headericons a{
    display: inline-block;
    text-decoration: none;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: rgb(0, 123, 124);
    margin-right: 10px;
    background-color: rgb(235, 237, 240);
    text-align: center;
    border-radius: 10px;
    transition: all 300ms ease;
    margin-top: 5px;
    margin-bottom: 5px;
}
.headericons a:hover{
    background-color: rgb(255, 160, 41);
}
.head2 {
    /* padding-left: 50px;
    padding-right: 50px; */
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logocoop {
    width: 250px;
    padding: 10px 0;
}
.logoMin{
    display: none;
}
.btnEnlaces {
    background-color: rgb(0, 123, 124);
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 25px;
}
.btnEnlaces:hover {
    background-color: rgb(255, 160, 41);
    transition: all 300ms ease;
}
.nav-bar {
    background-color: rgb(0, 123, 124);
    padding: 10px 20px;
    display: block;
    color: rgb(235, 237, 240);
    cursor: pointer;
    width: auto;
}
.menu, .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu {
    background-color: rgb(235, 237, 240);
    width: 100%;
    display: none; /* Ocultar menú por defecto */
    font-weight: bold;
    transition: all 0.5s;
}
.menu.mostrar {
    display: block; /* Mostrar menú cuando se activa */
}
.menu__link {
    display: block;
    padding: 20px;
    color: rgb(0, 123, 124);
    text-decoration: none;
}
.menu__link:hover {
    color: rgb(255, 160, 41);
}
.submenu {
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}
.submenu .menu__link {
    background-color: rgb(235, 237, 240);
    padding-left: 50px;
}
.desplegar {
    height: auto; /* Asegurarse de que el submenú se despliegue correctamente */
}
.slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    transition: margin-top 0.3s ease;
}
#slide {
    width: 100%;
    height: auto;
    display: none;
}
#slide:first-child {
    display: block;
}
.control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ccc;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
}
#prev {
    left: 10px;
}
#next {
    right: 10px;
}
.servicios{
    /* margin-top: 10%; */
    width: 80%;
    margin: auto;
    padding: 20px;
    /* text-align: center; */

}
/* .serviciosContenedor{
    max-width: 1200px;
    width: 90%;
    border-radius: 20px;
    margin: auto;
    padding: 20px;
} */
.serviciosTitulo{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 20px;
    color: rgb(46, 46, 46);
    font-size: 30px;
}
.serviciosContenedorTarjetas{
    display: grid;
    grid-template-columns: repeat(5, 1fr) ;
    gap: 20px;
    font-weight: bold;
}

.tarjeta1{
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    min-height: 200px;
    /* padding: 20px; */
    position: relative;
    /* overflow: hidden; */
    background-size: cover;
    background-position:center center;
    /* background-color: white; */
    color: white;
    background-color: rgb(0, 123, 124);
    border-style: solid;
    border-color: rgb(0, 123, 124);
    
}
.tarjetaTextos{
    width: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
    padding: 35px 10px 10px 10px;
    /* position: relative;
    top: 5%; */

}
.contenedorIconoTarj {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border-style: solid;
    border-color: rgb(0, 123, 124);
    font-size: 50px;
    position:absolute;
    background: rgb(255, 160, 41);
    width: 80px;
    height: 80px;
    /* left: 5px; */
    top: -55px;
}
.tarjeta1:hover{
    border-radius: 50px;
    transition: all 300ms ease;
    background-color:white;
    color: rgb(0, 123, 124);
    border-color: rgb(0, 123, 124);
    .contenedorIconoTarj{
        color:  rgb(0, 123, 124);
        background: white;
        transition: all 300ms ease;
    }
}
.pie-pagina{
    width: 100%;
    background-color: rgb(0, 123, 124);
}
.pie-pagina .footerG1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 50px;
    padding: 35px 0px;
}
.pie-pagina .footerG1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .footerG1 .box figure img{
    width: 250px;
}
.pie-pagina .footerG1 .box h3{
    color: rgb(235, 237, 240);
    margin-top: 25px;
    font-size: 20px;
}
.pie-pagina .footerG1 .box p{
    color: rgb(235, 237, 240);
    margin-bottom: 10px;
}
.pie-pagina .footerG1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: rgb(235, 237, 240);
    margin-right: 10px;
    background-color: rgb(0, 80, 80);
    text-align: center;
    border-radius: 10px;
    transition: all 300ms ease;
}
.pie-pagina .footerG1 .red-social a:hover{
    /* color: rgb(255, 160, 41); */
    background-color: rgb(255, 160, 41);
}
.pie-pagina .footerG2{
    background-color:rgb(0, 80, 80) ;
    padding: 15px 10px;
    text-align: center;
    color: rgb(235, 237, 240);
}
.pie-pagina .footerG2 small{
    font-size: 15px;
}
.asocitateSection{
    height: 1024px;
}
#map {
    height: 400px;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contacto img{
    height: 400px;
    width: 100%;
}
.contacto h2{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 30px;
    color: rgb(46, 46, 46);
    font-size: 30px;
}


@media (min-width: 900px) {
    .nav-bar {
        display: none;
    }
    .menu {
        margin-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .container-submenu {
        position: relative;
    }
    .submenu {
        position: absolute;
        top: 60px;
        width: 200px;
        overflow: visible;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }
    .container-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
    }
}

@media screen and (max-width: 900px) {
	.serviciosContenedorTarjetas{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .tarjeta1{
        min-height: 200px;
        position: relative;
        /* overflow: hidden; */
        background-size: cover;
        background-position:center center;
    }
    .tarjetaTextos{
        top: 0%;
    }
    .pie-pagina .footerG1{
        width: 90%;
        grid-template-columns: repeat(1,1fr);
        grid-gap: 30px;
        padding: 35px 0px;
    }
    .headerContenedor{
        display: none;
    }
    .head2{
        width: auto;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
    .nav-bar{
        background-color:rgb(0, 80, 80);
    }
    .head2{
        background-color: rgb(0, 123, 124);
        margin-bottom: 0;
        padding-bottom: 30px;
    }
    .btnEnlaces{
        background-color: rgb(0, 80, 80);
    }
    .logoMin{
        display: block;
    }
    .logoMax{
        display: none;
    }
    #map {
        height: 100%;
        width: 100%;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .contacto img{
        height: 100%;
        width: 100%;
    }
    .head2{
    padding-bottom: 5px;
}
.enlaces{
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;



}
.btnEnlaces{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
}
}
