
.main_project_grid {
	margin: 0 0 84px;
}


.project_gallery_flex {
	margin: 0 0 42px;
}
.project_gallery_flex .item {
	min-height: 420px;
	position: relative;
	padding: 42px;
	color: var(--white);
	width: 26.9%;
}
.project_gallery_flex .item.big {
	width: calc(100% - (26.9% * 2) - 48px);
}
.project_gallery_flex .item img {
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	height: 100%;
	width: 100%;
	z-index: -2;
}
.project_gallery_flex .item:before {
	display: block;
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
	z-index: -1;
	opacity: 0;
	transition: 0.3s;
	pointer-events: none;
}
.project_gallery_flex .item:hover:before {
	opacity: 0.5;
}


@media (max-width: 1200px) {
	
	.project_gallery_flex .item {
		min-height: 30vw;
	}
	
}

@media (max-width: 991.98px) {
	.main_project_grid.grid {
		display: block;
	}
	.main_project_grid.grid .main_project_img {
		float: left;
		width: 50%;
		margin-right: 24px;
	}
	.project_gallery_flex .item {
		
	}
}

@media (max-width: 767px) {
	.project_gallery_flex.flex {
		gap: 16px;
	}
	.project_gallery_flex .item,
	.project_gallery_flex .item.big {
		width: calc((100% - 16px) / 2);
	}
}

@media (max-width: 575px) {
	.project_gallery_flex .item,
	.project_gallery_flex .item.big {
		width: 100%;
		min-height: 70vw;
	}
}

@media (max-width: 450px) {

	.main_project_grid.grid .main_project_img {
		float: none;
		width: 100%;
		margin: 0 0 16px;
	}
}

