@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 {
    display: none;
}

.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;
}
.balances{
    margin: 0 auto;
    height: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.balances h4{
    font-size: 30px;
    color: rgb(0, 123, 124);
    margin-bottom: 30px;
}
.balances p{
    font-size: 40px;
    color: rgb(0, 123, 124);
    font-weight: bolder;
}
.balances a{
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 123, 124);
    border-radius: 20px;
    padding: 8px;
}
.balances img{
    width: 300px;
    transition: 0.5s;
    border: solid 1px rgb(0, 123, 124);
}
.balances img:hover{
    width: 350px;
}
.balancesCont{
    margin: 0 auto;
    max-width: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr) ;
    gap: 20px;
    margin-bottom: 20PX;
}

@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;
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/images/headImg.jpg);
        background-size: cover;
        background-position:center center;
        height: 300px;
    }
    .btn24hs{
        display: none;
    }
    .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;
    }
    .balancesCont{
        grid-template-columns: repeat(1, 1fr);
    }
    .balances a{
        font-weight: bold;
    }
    .balances img:hover{
        width: 300px;
    }
}
