@charset "utf-8";
/* CSS Document */
.projects-grid {
	display: grid;
	grid-column-gap: 3rem;
	grid-row-gap: 3rem;
	margin: 0
}
@media (max-width: 767px) {
.projects-main {
 margin: 0 -15px
}
}
@media (max-width: 640px) {
.projects-grid {
 grid-template-columns: repeat(1, 1fr);
}
}
@media (min-width: 641px) and (max-width: 992px) {
.projects-grid {
 grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 993px) and (max-width: 1280px) {
.projects-grid {
 grid-template-columns: repeat(3, 1fr);
}
}
@media (min-width: 1281px) {
.projects-grid {
 grid-template-columns: repeat(3, 1fr);
}
}
.project-card {
	opacity: 0;
	top: 30px;
	transition: opacity 1000ms, top 500ms;
}
.project-card.inviewport {
	opacity: 1;
	top: 0px;
}
.project-img {
	width: 100%;
	height: 275px;
	overflow: hidden;
}
.project-img img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	transition: transform 800ms ease;
}
/*//// OVERLAY ////*/
.project-card {
	position: relative;
}
.project-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	text-align: center;
	padding: 30px;
	height: 100%;
	transition: background 800ms ease;
}
.project-title:hover {
	background: rgba(0, 0, 0, 0.7);
}
.project-title h3 {
	color: #FFFFFF;
	font-family: "Titillium Web", Sans-serif;
	font-size: 26px;
	font-weight: 200;
	line-height: 1.2em;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	opacity: 0;
	margin-left: -5000px;
	transition: opacity 800ms ease;
	padding: 30px;
}
.project-card a:hover > .project-img img {
	transform: scale(1.07);
}
.project-card a:hover > .project-title h3 {
	opacity: 1;
	margin-left: 0;
}
/*//// PROJECT SINGLE ////*/
.single-projects .page-header {
	display: none;
}
.project-single {
	margin: 50px -15px 15px -15px;
}
.project-grid-single {
	display: grid;
	grid-row-gap: 2rem;
	align-items: center;
	margin-bottom: 35px!important;
	background: #f8f8f8;
}
@media (max-width: 640px) {
.project-grid-single {
 grid-template-columns: repeat(1, 1fr);
}
}
@media (min-width: 641px) {
.project-grid-single {
 grid-template-columns: repeat(2, 1fr);
}
}
.project-img-single {
	width: 100%;
	height: 100%;
}
.project-img-single img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.project-txt {
	padding: 4rem;
}
.project-txt h1 {
	font-size: 32px;
}
.project-navigation {
	display: inline-block;
	margin-top: 50px;
	width: 100%;
}
.project-button {
	background: #000;
	padding: 12px 25px;
	color: #fff;
	transition: all 400ms ease;
}
@media (min-width: 768px) {
.project-back {
 float: left;
}
.project-next-prev {
 float: right;
}
}
@media (max-width: 767px) {
.project-back {
 margin-top: 35px;
}
}
a.project-prev {
	margin-right: 10px;
}
