@import 'https://fonts.googleapis.com/css?family=Open+Sans|Roboto:300';

* {
    box-sizing: border-box;
}

body {
    background: #FFFFFF;
    overflow-x: hidden;
    font-family: "Raleway", sans-serif;
}

.container-fluidw {
    font-family: "Raleway", sans-serif;
    perspective: 800px;
    color: #fff;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-container {
    font-family: "Raleway", sans-serif;
    width: 700px;
    height: 450px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 0px 63px -4px rgba(231,56,65,0.87);
    transform-style: preserve-3d;
    transition: 0.6s;
}

.card-image {
    max-width: 100% !important;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotate(0deg) translateZ(1px);
}

.container-fluidw:hover .card-container,
.card-back {
    transform: rotateY(-180deg) translateZ(1px);
}

.card-front {
    line-height: 390px;
    text-align: center;
}

.card-back {
    padding: 30px;
    background: #FFFFFF;
    border-radius: 10px;
}

.name {
    color: #3B3B3B;
    margin-bottom: 0;
}

p {
    margin: 0.8em 0;
}

.info {
    /*position: absolute;*/
    /*bottom: 30px;*/
    /*left: 30px;*/
    color: #3b3b3b;
}
    .info a {
        text-transform: none !important;
    }

.property {
    color: #3b3b3b;
    font-weight: bolder;
}

@media (max-width: 700px) {
    .card-container {
        transform: scale(0.5);
    }

    .container-fluidw:hover .card-container {
        transform: scale(0.5) rotateY(-180deg) translateZ(1px);
    }
}
