/***********************************************************/ 
/*******************  RESPONSIVE STYLING *******************/
/********************** COLUMNS BLOCK **********************/
/***********************************************************/  

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, rgb(46 45 98 / 60%), rgb(0 0 0 / 50%));
    transition: transform 0.3s ease-in-out;
    z-index: 2;
}

.child-pagefacilities {
    position: relative;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease-in-out;
    z-index: 1; /* Set a higher z-index to ensure the text is above the gradient overlay */
}

.child-pagefacilities .gradient-overlay {
    z-index: 2; /* Set a z-index for the gradient overlay within the child-pagefacilities */
}

.child-pagefacilities:hover .gradient-overlay,
.child-pagefacilities:focus .gradient-overlay {
    transform: scale(1.1);
}

.rowfacilities span:hover {
    color: #FF6900;
}

.child-pagefacilities img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}

.child-pagefacilities:hover img,
.child-pagefacilities:focus img {
    transform: scale(1.1);
}

.child-pagefacilities span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 3; /* Set a higher z-index to ensure the text is above the gradient overlay and image */
}

.child-pagefacilities:hover span,
.child-pagefacilities:focus span {
    display: block; /* Show the text on hover/focus */
}
.container1simplefacilities{
    margin: auto;
    text-align: center;
}

.rowfacilities{
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
}


.rowfacilities:first-child{
    padding-top: 20px;
}

.rowfacilities a{
display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
    color: white;
    text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    font-size: 25px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.2;
}

.rowfacilities a:hover{
    color: #FF6900;
    }



    @media (min-width: 1200px) { 
        .child-pagefacilities {
            width: calc((100% / 5) - 20px);
            height: 300px; /* Default height */
        }
            }

            @media (min-width: 900px) and (max-width: 1200px) {
                .child-pagefacilities {
                    width: calc((100% / 3) - 20px);
                    height: 240px; /* Default height */
                }
                    }

                    @media (max-width: 900px) { 
                        .child-pagefacilities {
                            width: calc((100% / 2) - 20px);
                            height: 200px; /* Default height */
                        }
                            }

            @media (max-width: 400px) {    
                .image-container p{
                    font-size: 16px!important;
                }
                    }


.child-pagefacilities {
    position: relative;
}

@media (min-width: 1400px) { 
.fiftyfacilities{
    width: 50%;
}
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .fiftyfacilities{
        width: 70%;
    }
    }

    @media (min-width: 700px) and (max-width: 1200px) {
        .fiftyfacilities{
            width: 80%;
        }
        }

            .facilitiespadding{
                padding-left: 24px;
                padding-right: 24px;
            }

.column1containerfacilities{
    display: flex;
}

.columnscontainerfacilities{
    background-color: #2e2d62;
    padding-left: 24px;
    padding-right: 4px;
}

@media (min-width: 1200px) {
h2.block-titlescolumn{
    font-size: 36px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.2;
    margin: 0px;
}
}

@media (min-width: 1200px) {
    h2.block-secondtitlesimplefacilities{
        font-size: 36px;
    font-family: 'Moderat Extended Bold', 'Roboto Bold';
    line-height: 1.2;
    padding-top: 20px;
    padding-left: 24px;
    padding-right: 24px;
    color: #2e2d62;
}
    }

    @media (min-width: 900px) and (max-width: 1200px) {
        h2.block-secondtitlesimplefacilities{
            font-size: 32px;
        font-family: 'Moderat Extended Bold', 'Roboto Bold';
        line-height: 1.2;
        padding-top: 20px;
        padding-left: 24px;
        padding-right: 24px;
        color: #2e2d62;
    }
        }

        @media (min-width: 220px) and (max-width: 900px) {
            h2.block-secondtitlesimplefacilities{
                font-size: 24px;
            font-family: 'Moderat Extended Bold', 'Roboto Bold';
            line-height: 1.2;
            padding-top: 20px;
            padding-left: 24px;
            padding-right: 24px;
            color: #2e2d62;
        }
            }