.error_404 section{
	height: 900px;
	max-height: 900px;
	background: linear-gradient(132.38deg, rgba(130.27, 0, 156.68, 1),rgba(160.96, 57.27, 181.98, 1) 14%,rgba(203.92, 137.45, 217.4, 1) 31%,rgba(201, 227, 251, 1) 67%,rgba(255, 255, 255, 1) 93%);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.img_block{
	flex: 0 0 50%;
}

.img_block_wrapper{
	position: relative;
}

.img_block_wrapper img{
	position: absolute;
	display: block;
	top:0;
	left:0;
	transform: translateX(-25%);
	max-width: 740px;
}


.txt_block{
	flex: 0 0 50%;
	max-width: 620px;
}

.txt_block_img{
	margin-bottom: 20px;
}

.txt_block_img img{
	width: clamp(330px, calc(6.9935vw + 302.725px), 437px);
}

.txt_block_title{
color: var(--Blue, rgba(0, 37, 89, 1));
font-family: Onest;
font-style: SemiBold;
font-size: 24px;
font-weight: 600;
line-height: 28px;
letter-spacing: 0%;
text-align: left;
margin-bottom: 20px;
}

.txt_block_txt{
color: var(--Blue, rgba(0, 37, 89, 1));
font-family: Onest;
font-style: Regular;
font-size: clamp(16px, calc(0.2614vw + 14.980px), 20px);
font-weight: 400;
line-height: 28px;
letter-spacing: 0%;
text-align: left;
margin-bottom: 50px;
}


.txt_block_btn a{
color: var(--White, rgba(255, 255, 255, 1));
font-family: Onest;
font-style: Medium;
font-size: 14px;
font-weight: 500;
line-height: 17px;
letter-spacing: 0%;
text-align: left;
background: #D2000E;
padding: 10px 30px;
text-decoration: none;
border-radius: 8px;
 display: inline-block; 
    transition: transform 0.2s ease;
    text-align: center;
}

.txt_block_btn a:hover{
	transform: scale(.95);
}


@media (min-width: 1200px) and (max-width: 1920px){
	.error_404 section{
		height: clamp(720px, calc(25.0000vw + 420.000px), 900px);
	}
}

@media (max-width: 1199px){
	.img_block{
		flex: 0 0 100%;
		order:2;
	}

	.txt_block{
		flex: 0 0 100%;
		order:1;
		max-width: none;
	}
	.error_404 section{
		text-align: center;
		flex-wrap: wrap;
	}

	.txt_block_title,
	.txt_block_txt{
		text-align: center;
		padding: 0 clamp(15px, calc(10.4938vw + -25.926px), 100px);
	}

	.img_block_wrapper img{
		transform: translate(-25%,-35%);
	}

	.txt_block_btn a{
		width: clamp(250px, calc(-20.9877vw + 331.852px), 80px);
	}


}


@media (max-width: 992px){
	.img_block_wrapper img{
		max-width: clamp(460px, calc(46.5116vw + 278.605px), 740px);
	}

	.txt_block_title {
	  margin-bottom: 15px;
	}

		.txt_block_img {
	  margin-bottom: 15px;
	  margin-top: 40px;
	}

	.txt_block_txt {
	  margin-bottom: 30px;
	}

	.error_404 section{
		align-items: baseline;
	}
}


@media (max-width: 768px){
		.img_block_wrapper img{
		transform: translate(-25%,-20%);
	}

	.error_404 section{
		height: clamp(750px, calc(39.6825vw + 595.238px), 900px);
	}
}










