@import url('https://fonts.googleapis.com/css?family=Asap');

.project-body{
	background: white;
	line-height: 1.6;
}


img{
	display: block;
	border: 0;
    max-width: 100%;
    height: auto;
}

/* project-cards */
.project-cards {
	margin: 0 auto;
	max-width: 1200px;
	width: 100%;
}

.project-card {
    background: black;
	min-height: 200px;
    margin-bottom: 20px;
    transition: all 0.5s;	
}

.project-card a {
    color: white;
    text-decoration: none;
    transition: all 0.5s;

}
.project-card i{
  size: 100%;
}

.project-card a:hover {
    box-shadow: 3px 3px 8px rgb(178, 178, 178);
    background: #ffe600;
    color: black;
}

/* Card Image */
.project-card-image {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}

.project-card a:hover .project-card-image {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

/* Card Content */
.project-card-content {
	padding: 15px;
}

.project-card-content h2 {
	margin-top: -35px;
	margin-bottom: .5em;
	font-size: 2em;
	font-weight: normal;
}

.project-card-content p {
	font-size: 1.5em;
	margin-bottom: 1.5em;
}

.project-card-content .date {
	background-color: white;
	border-radius: 50%;
	color: black;
  font-size: 1.5em;
	height: 50px;
	width: 50px;
	padding: 5px;
	position: relative;
	right: -75%;
	text-align: center;
	text-transform: uppercase;
	top: -45px;
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}

.project-card a:hover .project-card-content .date {
	background-color: black;
	color: #ffe600;
}

/* flexbox */
@media screen and (min-width: 40em) {
    .project-cards {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
        -webkit-justify-content: space-between;
            -ms-flex-pack: justify;
                justify-content: space-between;
        margin-top: -1em;
    }

    .project-card {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex: 0 1 calc(50% - .5em);
            -ms-flex: 0 1 calc(50% - .5em);
                flex: 0 1 calc(50% - .5em);
        margin-bottom: 1em;
    }
}

@media screen and (min-width: 60em) {
    .project-cards {
        margin-top: inherit;
    }
    
    .project-card {
        -webkit-flex: 0 1 calc(33% - 1em);
            -ms-flex: 0 1 calc(33% - 1em);
                flex: 0 1 calc(33% - 1em);
    }
}