body, h1, h2, h3, p{
    font-family: "Barlow", sans-serif;
    color:#1B3156;
}
h2{
    font-weight:400;
}
h3{
    font-weight: 600;
    font-size:1.3rem;
}
.nav-link{
    font-size:18px;
    color:#1B3156;
    font-weight: 400px;;
}
#home{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 400px;
    position: relative;
    align-items: center;
    justify-content: center;
}
.slider{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: calc(100vh - 80px);
    position: relative;
    align-items: center;
    justify-content: center;
    height:400px;
}
.slider h2{
    color:#fff;
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    margin:2.3733333333rem 0 1.424rem 0;
}
#somos, #que-hacemos, #filosofia, #valores{
    display: flex;
        flex-direction: row;
        width: 100%;
        min-height: 100vh;
        padding: 80px 0px;
        align-items: center;
}
#equipo, #galeria{
        width: 100%;
        min-height: 100vh;
        padding: 140px 0px;
        align-items: center;
}
#somos img, #que-hacemos img{
        display: flex;
        overflow: hidden;
        width:100%;
}
#somos h2, #somos h3{
    margin-bottom:50px;
}
#somos h2, #que-hacemos h2{
    font-style: normal;
    padding-top:70px;
}
.btn{
    width: 100%;
        max-width: 210px;
        background: #fff;
        height: 48px;
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
        font-weight: 600;
        gap: 10px;
        border: 1px solid #1B3156;
        font-size: 14px;
        margin-top:30px;
}
.btn:hover{
    background-color:#1B3156;
    color:#fff;
}
#numeros span{
    font-size: 90px;
        color: #6B120A;
        font-weight: 700;
}
#numeros p{
    font-size:24px;
}
#numeros .col{
    border-bottom: 1px solid #1B3156;
}
#que-hacemos .col-7{
    padding-left:70px;
}
#que-hacemos h3{
    margin-bottom:40px;
}
#que-hacemos p{
    font-size: 20px;
    font-weight: 600;
    color: #6B120A;
    border-bottom:1px solid #1B3156;
    width:100%;
}
#filosofia .items{
    width: calc(50% - 10px);
        display: flex;
        flex-direction: row;
        border-bottom: 1px solid #CF3A2B;
        gap: 20px;
        padding-bottom: 20px;
        padding-right: 20px;
        align-items: center;
}
#filosofia span{
    font-size: 24px;
}
#equipo .imagenes{
    aspect-ratio: 1/1;
    overflow: hidden;
}
#equipo .imagenes img{
    width:100%;
}
#equipo p{
    font-size:16px;
    font-weight:600;
    margin-bottom: 0;
    margin-top:0.5rem;
}
#equipo span{
    font-size: 16px;
    font-weight: 400;
}
#equipo .centrar-boton a{
    margin:0 auto;
    margin-top:40px;
}
#footer{
    background:#203053;
    padding:50px 80px;
}
#footer .logo{
    width:200px;
}
#footer p{
    color:#fff;
    font-size:22px;
}

#footer a{
    color:#fff;
    text-decoration: none;
}
#footer .info p{
    font-size:16px;
}
#footer .info .ico-maps{
    width:40px;
    cursor: pointer;
}
#footer .info .ico-maps img{
    width:100%;
}
#footer .info .ico-maps a{
    width:100%;
    height:100%;
    display:block;
    cursor: pointer;
}
.movil {
    display: none;
}
.nuestra-historia p b{
    font-size:30px;
}

@media only screen and (min-width: 320px) and (max-width: 719px){
    #somos .col:nth-child(2){
        display:none;
    }
    #somos{
        padding:0 50px;
    }
    #numeros .col{
        display:block;
        width:100%;
        flex:none;
    }
    #que-hacemos .col-5{
        flex:none;
        display: block;
        width: 100%;
    }
    #que-hacemos .col-7{
        width:100%;
        padding-left:30px!important;
    }
    #filosofia{
        padding:0 20px;
    }
    #filosofia .items{
        flex: none;
        display: block;
        width: 100%;
    }
    #filosofia .items span{
        width:300px;
        float:left;
        font-size:20px;
        padding-left:20px;
    }
    #filosofia .items img{
        float:left;
        width:95px;
    }
    .desktop{
        display:none;
    }
    .movil{
        display: block;
    }
    #equipo .col-3{
        width:100%;
    }
    #footer .col-4{
        width:100%;
        text-align: center;
    }
    #footer .col-4 ul{
        padding-left:0;
        margin:50px 0;
    }
    #footer .col-4 .logo, #footer .info .ico-maps{
        margin:0 auto;
    }
    .nuestra-historia{
        margin:50px 0;
    }
    #equipo-mostrar{
        text-align: center;
    }
    #equipo-mostrar .image-container{
        width:90%;
        margin:0 auto;
    }
    .nuestra-historia .img-historia{
        width:100%;
    }
    .nuestra-historia .text-historia{
        width:100%
    }
}


/*estilos equipo */
.filter-buttons {
    margin: 40px 0;
}
.filter-buttons .btn{
    display: inline-block;
    margin-right:20px;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery img {
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.1);
}
.image-container {
    position: relative;
    text-align: center;
} 
.image-container .overlay {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-container:hover .overlay {
    opacity: 1;
}

.bio-link {
    color: white;
    text-decoration: none;
}

.bio-link:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}
/* fin estilos equipo */

#equipo-mostrar .imagenes {
    aspect-ratio: 1/1;
    overflow: hidden;
}

#equipo-mostrar .imagenes img {
    width: 100%;
}
#equipo-mostrar, #bio{
    margin-bottom:200px;
    padding-top:80px;
}

#equipo-mostrar p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

#equipo-mostrar span {
    font-size: 16px;
    font-weight: 400;
}
.volver{
    margin-bottom:30px;
}
.volver a{
    color: #1B3156;
    text-decoration: none;
    font-weight: 600;
}
.volver a:hover{
    text-decoration: underline;
}