/** @format */


.caurasel_work {
    display: flex;
    /* Make the wrapper a flex container */
    overflow: hidden;
    /* Hide overflow content */
    height: 100%;
    background-image: url(../img/work.jpg);
    background-position: left;
    background-attachment: fixed;
    background-size: cover;
    font-size: small;
}

.main_properties_page {
    background-color: var(--background_lightgray);
    padding: 0px;
}

.properties_page {
    display: flex;
    justify-content: center;
    width: 90vw;
    /* background-color: #2f518b; */
    margin: auto;
    padding: 50px 0;
}

.properties_wrapper {
    padding: 50px;
    background-color: var(--background_semi_transparent_sky);
}

.navigation {
    width: 200px;
    height: 500px;
    background-color: rgb(224, 229, 247);
    margin-top: 20px;

    padding: 20px;
    color: var(--text_black);
}

.navigation h4 {
    font-family: 'Montserrat', 'Arial', sans-serif;
}

.property_flexed {
    display: block;
    position: relative;
    box-shadow: var(--shadow);
    width: 30%;
    margin: 0 20px;
    /* background-color: var(--background_sky); */
    /* border-radius: 20px; */
    overflow: hidden;
    opacity: 0;
    transform: scale(0.5);
    transition: box-shadow 0.5s ease-in-out, opacity 1s ease-in-out, transform 3s ease-in-out;
}

.property_flexed:hover {
    box-shadow: var(--shadow_hover);
}


.property_image {
    width: 100%;
    height: 100%;
    overflow: hidden;

}

.property_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property_info {
    position: absolute;
    bottom: 0%;
    width: 100%;
    height: 100%;
    text-align: left;
    padding-bottom: 50px;
    padding-top: 10px;
    color: var(--text_white);
    opacity: 0;
    background-color: var(--background_semi_transparent_sky);
    transition: opacity 0.5s ease-in-out;

}

.property_info h3 {
    margin-top: 10px;
}

.property_info h4 {
    /* border: solid 0.2px #1437743d; */
    margin-top: 10px;
}

.property_flexed:hover .property_info {
    opacity: 1;
}

.info_for_the_work {
    position: absolute;
    bottom: 20px;
}

.property_info h3 {
    margin-top: 20px;
}

.property_info h2,
.property_info h4 {
    margin-top: 10px;
    font-family: 'Montserrat', 'Arial', sans-serif;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    .properties_wrapper {
        display: block;

        padding: 50px 0;
    }

    .properties_page {
        width: 100%;
        font-size: small;
        padding: 0;
    }

    .property_image {
        height: 150px;
        padding: 0;
        margin: 0;
        /* background-color: #2f518b; */
        width: 100%;
    }

    .property_image {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .property_info {
        width: 100%;
        text-align: left;
        padding: 0px;
        margin-left: 0px;
    }

    .property_flexed {
        margin: 50px auto;
        display: block;
        padding: 0;
        border: none;
        width: 98%;
        padding-bottom: 30px;
    }

    .navigation {
        width: 90%;
        height: auto;
        background-color: rgb(224, 229, 247);
        margin-top: 0px;
        text-align: center;
        padding: 20px;
        color: #2f518b;
        font-size: small;
    }

    .work_head {
        font-size: small;
        color: #2f518b;
        font-family: 'Montserrat', 'Arial', sans-serif;
    }

    .property_info {
        text-align: center;
    }
}