/* Not important. General styling
------------------------------------------ */
@import url("https://fonts.googleapis.com/css?family=Roboto:400,400i,700");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

.floor-plan {
    color: rgba(0, 0, 0, .87);
    font-size: 1rem;
    line-height: 1.5;
    font-family: Roboto, sans-serif;
    /* background: #26A69A; */
    background-image: url(../images/gallery-thumb02.jpg);
    padding: 2rem 2rem 0;
}

.wrapper {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center;
}

.wrapper>* {
    margin: 0 1rem 2rem;
}

/**************************************************
** CARDS STYLING 
***************************************************/
/* Card outside box. Here is where the 
** dimensions, shadows and borders are set 
------------------------------------------ */
.card {
    position: relative;
    overflow: hidden;
    display: flex;

    width: 300px;
    /* Box dimensions */
    height: 144px;

    border-radius: 30px;
    /* Styling */
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.56s ease-in-out;
    /* Animation */
    /* background-color: rgba(0,0,0,.2); /* for debugging */
}

/* Shows an outer shadow */
.card:hover {
    /* Just for styling */
    cursor: pointer;
    box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
}

/* Cards titles styling
------------------------------------------ */
.card__title {
    /* Just for styling */
    align-self: center;
    padding: 0.5rem;
    color: rgba(0, 0, 0, 0.9);
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
}

/* Styles for:
** - Using IMG tag inside a container
------------------------------------------ */
/* The image container */
.card__thumbnail {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    /* horizontal center */
    align-items: center;
    /* vertical center */

    width: 100%;
    /* Thumbnail dimensions. */
    height: 100%;
    /*** Change the height to make the image smaller ***/
    /* background-color: rgba(0,0,0,.2);  /* for debugging */

}

/* Sets the image dimensions */
.card__thumbnail>img {
    /* Tip: use 1:1 ratio images */
    height: 100%;
    /* or width when img.width > img.height */
}

/* Styles the title inside the img container */
.card__thumbnail>.card__title {
    /* Just for styling */
    position: absolute;
    left: 0;
    bottom: 0;
}


/* Styles for:
** - Using background-size on CSS
** - Using background-size on HTML
** - Using background-size on JS
------------------------------------------ */
/* Prepares a container to have cover background */
.has-bg-img {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Loads a specific image to a container */
.bg-img-nature {
    background-image: url(https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ);
}