/* Add here all your CSS customizations */
.pink {
    color: pink !important;
}

.fondo-pink {
    background-color: pink !important;
}

.blue {
    color: #596b9d !important;
}


.bodys {
    width: 100%;
    height: fit-content;
    padding-left: 150px;
    margin-left: 10px;
    margin-right: 10px;
    align-items: center !important;
    justify-content: center !important;
}


.mains {
    width: 100%;
    height: 850px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.instalaciones-main{
    margin-bottom: 50px;
}




.cards {
    width:100%;
    height: 150px;
    border-radius: 15px;
    cursor: pointer;
    overflow: hidden;
    transition: all 1s linear;
    position: relative;
}


.cards .before-title-layer {
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    display:flex;
    justify-content:center;
    align-items:center;
}


.cards .before-title-layer_title{
    color:#fff;
    font-size: 22px;
    font-weight:600;
    transition:all 1s linear; 
}


.cards .layer{
    width: 100%;
    height: 100%;
    display:none !important;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    background: linear-gradient(to top, rgba (89, 107, 157, 0.9), transparent);
}

.cards .layer-content {
    opacity: 0;
    transition: all 1s linear;
}

.cards .layer-content_title {
    color: aliceblue;
    font-size: 23px;
    text-align: center;
    font-weight: 700;
    transition:all 2s linear;
}

.cards .layer-content_description {
    padding:0 15px;
    margin-bottom: 30px;
    color: aliceblue;
    font-size: 20px;
    text-align: center;
    font-weight: 500;
    transition:all 2s linear;
    max-width: 350px;
}


.cards .image{
    height:500px;
    position: relative;
    left: -50px;
}



/*//---------------- start carousel ----------------------//*/
.cards .layer-carousel{
    width:100%;
    height:auto;
    background: black;
}

.layer-carousel > .owl-stage-outer{
    
}

.layer-carousel > .owl-nav {
    display:flex !important;
}

.layer-carousel > .owl-dots {
    display: none !important;
}

.layer-carousel_item{
    display:flex;
    justify-content:center;
    align-items:center;
    height:70px;
    background: aliceblue;
    border-radius: 20px;
    margin:0 50px;
    padding:5px;
}
/*//---------------- end carousel ----------------------//*/


.cards .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1.5s linear;
}

.cards .background {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 80vh;
    object-fit: cover;
    pointer-events: none;
    filter: brightness(0.25);
    opacity: 0;
    transition:all 2s linear;
}

/*-------------- Start hovers--------------*/
.cards:hover{
    height: 650px;
}

.cards:hover > .before-title-layer{
    display:none;
}


.cards:hover .layer{
    position: absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    display:flex !important;
}


.cards:hover > .layer > .layer-content {
    opacity: 1;

}

.cards:hover > .layer-content_title && .cards:hover > .layer-content_description {
    opacity: 1;   
}


.cards:hover .image {
    border-radius: 15px;
    filter: brightness(0.5);
}

.cards:hover .background {
    opacity: 1;
}

/*-------------- End hovers--------------*/


/*-------------- Start Breakpoints--------------*/
@media screen and (min-width: 992px){
    .mains {
        height: auto;
        flex-direction:row;
        justify-content:center;
    }

    .cards {
        width: /*20%*/ 250px;
        height: 500px;
        min-width: 150px;
    }

    .cards .layer-content_description {
        margin: 0px;
    }



    /*-------------- Start hovers--------------*/
    .cards:hover {
        width: 90%;
        height: 500px !important;
    }

    .instalaciones-main:hover .cards:not(:hover) > .before-title-layer > .before-title-layer_title {
        font-size: 16px;  
    }
    /*-------------- End hovers--------------*/

    .instalaciones-gallery > .owl-stage-outer > .owl-stage > .owl-item{
        padding:0 20px;
    }

    .instalaciones-carousel_image{
        max-height: 210px !important;
    }

    .appear-animation {
        opacity: 1;
    }
}
/*-------------- End Breakpoints--------------*/



/* <!-------------- Start Seccion Instalaciones ----------------> */


    .instalaciones{
        background: #d3dae30d;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    
    .instalaciones-container{
        margin:0px auto 50px ;
        width: 100%;
        max-width: 1200px;
    }

    .instalaciones-gallery > .owl-stage-outer > .owl-stage > .owl-item{
        padding:0 10px;
    }

    .instalaciones-gallery > .owl-stage-outer > .owl-dots {

    }

    .instalaciones-carousel_image{
        width: 100%;
        height: 100%;
        max-height: 214px;
        object-fit: cover;
    }

    .instalaciones-carousel_link{
        height: 400px;
        overflow: hidden;
    }

/* <!-------------- End Seccion Instalaciones ----------------> */

.tarjeta-info{
    -webkit-box-shadow: 0px 17px 20px -15px rgba(33, 37, 41, 0.6);
	box-shadow: 0px 17px 20px -15px rgba(33, 37, 41, 0.6);
    margin: 20px;
    border: none;
}



