html,
body {
	height: 100%;
}

.error-page {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.error-page h1 {
	font-size: 30vh;
	font-weight: bold;
	position: relative;
	margin: -8vh 0 0;
	padding: 0;
}

.error-page h1:after {
	content: attr(data-h1);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	color: transparent;
	background: -webkit-repeating-linear-gradient(-45deg, #71b7e6, #69a6ce, #b98acc, #ee8176, #b98acc, #69a6ce, #9b59b6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 400%;
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.25);
	animation: animateTextBackground 10s ease-in-out infinite;
}

.error-page h1+p {
	color: #121212;
	font-size: 64px;
	font-weight: 800;
	line-height: 1.5;
	position: relative;
}

.error-page h1+p:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	color: transparent;
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
	-webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
}

#particles-js {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

@keyframes animateTextBackground {
	0% {
		background-position: 0 0;
	}

	25% {
		background-position: 100% 0;
	}

	50% {
		background-position: 100% 100%;
	}

	75% {
		background-position: 0 100%;
	}

	100% {
		background-position: 0 0;
	}
}
a.in-btn-style-3 {
	z-index: 999;
	position: relative;
	margin-inline: auto;
}
header, footer{
	z-index: 999;
	position: relative;
}
#thankyou .error-page h1+p {
    color: #121212;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    max-width: 70%;
    margin-inline: auto;
}
#thankyou .error-page h1 {
    font-size: 20.5vh;
    font-weight: bold;
    position: relative;
    margin: 0;
    padding: 0;
}
#main-404, #thankyou{
		min-height: 630px;
	}
   .image_404 img, .pv_thankyou_image img{
	max-width:90%;
	margin-inline: auto;
    display: block;
}
.rg_404_box .pv_main_title, .pv-ty-box .pv_main_title {
    font-weight: 500;
    font-size: 48px;
    line-height: 72px;
}

.rg_btm_cline, .rg_btm_line {
    position: relative;
    z-index: 1;
}
.rg_btm_cline::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5px;
    left: 0;
    background-image: url(../images/line.png);
    background-size: 120px;
    background-repeat: no-repeat;
    background-position: center;
        background-image: url(http://stg.thepubverse.com/wp-content/uploads/2022/12/Rectangle-8.png);
    background-size: 220px;
    height: 15px;
        width: 51%;
    height: 35px;
    left: 25%;
}
.rg_404_box, .pv-ty-box {
    display: grid;
    align-items: center;
    justify-content: flex-start;
}
.rt_valign {
    display: grid;
    align-content: center;
}
 @media screen and (max-width:1707px) {
	#main-404, #thankyou{
		min-height: 520px;
	}
}
@media screen and (max-width:1536px) {
	#main-404, #thankyou{
		min-height: auto;
	}
}
@media screen and (max-width:1400px) {
.error-page h1 {
    font-size: 24vh;
    }
	.error-page h1+p {
    font-size: 54px;
    }
}
@media screen and (max-width:1200px) {
.error-page h1 {
    font-size: 20vh;
    margin: 0;
    }
	.error-page h1+p {
    font-size: 48px;
    }
    .in-btn-style-3 {
    padding: 9px 55px;
  
    font-size: 16px;
    }
}
@media (max-width: 767px) {
	.error-page h1 {
		font-size: 32vw;
        
	}

	.error-page h1+p {
		font-size: 8vw;
		line-height: 10vw;
		max-width: 70vw;
	}
    #thankyou .error-page h1 {
    	font-size: 64px;
    }
    #thankyou .error-page h1+p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    max-width: 86%;
}
}