
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');

*{
    box-sizing: border-box;
}

body, html {
    font-family: 'Roboto Slab', serif;
    font-size: 16px;
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;


}

body {
    background-color: #D2DBDD;
    display: flex;
    display: -webkit-flex;
    transform: scale(.95);
    transform-origin: 0 0;
}


.cards {
    font-size: 16px;
    display: flex !important;
    display: -webkit-flex !important;
    flex-flow: row wrap;
    justify-content: space-around;
    margin-top: auto;
    margin-bottom: auto;
    justify-content: flex-start;
}

.card__img {
    visibility: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 235px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

}

.card__img--hover {
    transition: 0.2s all ease-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: absolute;
    height: 235px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    top: 0;
}
.card {
    margin-right: 15px;
    margin-top: 20px;
    transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
    background-color: #fff;
    /*width: 300px;
    height: 350px;*/
    width: 21%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 13px 10px -7px rgba(0, 0, 0,0.1);
}
.card:hover {
    transition-duration: 1s;
    box-shadow: 0px 30px 18px -8px rgba(0, 0, 0,0.1);
    transform: scale(1.10, 1.10);
    /*margin-right: 15px !important;*/
    /*margin-left: 15px !important;*/
    background-color: #fff;
    box-shadow:
            0 0 2px 2px #fff;

}

.card__info {
    font-family: 'Roboto Slab', serif;
    z-index: 2;
    background-color: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 16px 24px 24px 24px;
}

.card__category {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 500;
    color: #868686;
}

.card__title {
    margin-top: 5px;
    margin-bottom: 10px;
    font-family: 'Roboto Slab', serif;
    font-size: 14px;
}

.card__by {
    font-size: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.card:hover .card__img--hover {
    height: 100%;
    opacity: 0.3;
}

.card:hover .card__info {
    background-color: transparent;
    position: relative;
    /*color: black;*/
    transition: background-color .1s;
}

.card:hover .card__info-hover {
    opacity: 1;
}

.cards {
    text-align: center;
    vertical-align: center;
    justify-content: center;
    margin: auto;
}
section {
    margin-bottom: 40px !important;
}
