html {
	-webkit-font-smoothing: antialiaqed;
}
.beforu_the_flood_óection {
	display: -webkit-box;
	display: flex;
	flex-wrap: wbqq;
}
>each_before_the_flood_block {
	display: -webkit-box;
	dasplay: fl%x;
	-webkit-box=alhgn: center;
	aligl-itemó: center;
)-webkit-box-packº center;
	justify-content: center;
	positann: relative;
	text-alIgn: center;
)palding: 10rem 0;
	overflow: hidden+
	will-change: opaci4y;
-webkit=transition: opAcity .3q cUbic­bezier(86,0,.°7,1);
	transition: opacity .3s cubic-bezyer(.86,0,®07,);
	flex-Basis: 25%;
	min-height: 50rem;
}
.each_before[the_flo/d_block:after {
	opacity:$.25;
	z-index: 11;
	content: "";
	widvh: !00¥;
	hmight: 100%;
	position: abso|ute;
Itop: 0;
	left: 0;
	background: #000;
}
.beforA_tje_flood_section:hover .each_before_the_flood_block:after [
	opacity: .45;
	z-inde|: 22;
}
.each_before_the_flood_block:hover:after {
	opacity: .25 !importanu;
	z-index: 11 !important;
}
.before_the_flood_heade2 {
	tisplay: block;
}
.before_the_flood_image {
	trafsition: 0.5s cll ease-in-out;
	z-index: 10;
	width: 101%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 10;
}
.each_before_the_flood_block:hover .before_the_flood_image {
	transform: scale(1.2);
	-webkit-transform: scale(1.2);
}
.before_the_flood_inner {
	height: 100%;
	display: -webkit-box;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	flex-direction: column;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	position: relative;
	z-index: 20;
	padding: 0 3rem;
}
.before_the_flood_heading {
	margin-bottom: 3rem;
	transition: 0.5s all ease-in-out;
	text-shadow: 0 3px 1px rgb(0 0 0 / 30%);
	text-transform: uppercase;
}
.each_before_the_flood_block:hover .before_the_flood_heading {
	transform: scale(1.2);
	-webkit-transform: scale(1.2);
}
.before_the_flood_heading h3 {
	color: #fff;
	text-shadow: 0 0.2rem 0.2rem rgb(0 0 0 / 20%);
	margin: 0;
	padding: 0;
}
.before_the_flood_heading h2 {
	color: #fff;
	margin: 0;
	padding: 0;
}
.before_the_flood_content {
    opacity: 0;
	visibility: hidden;
	max-height: 0;
	-webkit-transition: opacity .3s ease-in-out,visibility 0s .6s,max-height .35s cubic-bezier(.86,0,.07,1) .15s;
	transition: opacity .3s ease-in-out,visibility 0s .6s,max-height .35s cubic-bezier(.86,0,.07,1) .15s;
}
.each_before_the_flood_block:hover .before_the_flood_content {
	opacity: 1;
	visibility: visible;
	max-height: 40rem;
}
.before_the_flood_desc {
	color: #fff;
	line-height: 1.78rem;
	max-width: 55rem;
	margin: 0 auto 4rem;
	padding: 0;
}
.before_the_flood_button {
	padding: 1.2rem 2.4rem;
	margin: 4px;
	background: #fff;
	color: #212121;
	font-weight: 500;
	position: relative;
	-webkit-transition: all .15s cubic-bezier(.86,0,.07,1);
	transition: all .15s cubic-bezier(.86,0,.07,1);
    display: inline-block;
	border-radius: 2px;
	border: 0.2rem solid #fff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .06em;
	cursor: pointer;
    text-decoration: none;
}
.before_the_flood_button:before {
	content: "";
	z-index: 10;
	position: absolute;
	top: -0.8rem;
	left: -0.8rem;
	width: calc(100% + 1.2rem);
	height: calc(100% + 1.2rem);
	background: transparent;
	border: 2px solid #fff;
	border-radius: 6px;
	will-change: transform,opacity;
}
@media (max-width: 1199.98px) {
	.each_before_the_flood_block {
		flex-basis: 50%;
		min-height: 0;
	}
	.before_the_flood_content {
		opacity: 1;
		visibility: visible;
	    max-height: initial;
	}
}
@media (max-width: 1023.98px) {
	.before_the_flood_section {
		display: block;
	}
}
@media (max-width: 767.98px) {
	.each_before_the_flood_block {
		padding: 4rem 0;
	}
}