/* 404 page */

.wrapper-404 {
	padding-top: 130px;
	height: auto;
	background: rgb(51,41,102);
	background: linear-gradient(90deg, rgba(51,41,102,1) 0%, rgba(124,108,176,1) 50%, rgba(51,41,102,1) 100%);
	width: 100%;
}
.wrapper-404 h1 {
	font-size: 80px;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	color: #332966;
	background: #fff;
	padding: 55px 45px;
	border-radius: 25px;
	display: inline-block;
	box-shadow: 1px 5px 10px 0;
}
.wrapper-404 .text-404 {
	font-size: 70px;
	color: #fff;
	line-height: 70px;
	font-weight: bold;
	width: 100%;
	margin-top: -100px;

}
.wrapper-404 .text-404 span {
	color: #fed141;
}
.wrapper-404 .button {
	display: inline-block;
	text-align: center;
	padding: 18px 20px;
	height: auto;
	font-size: 32px;
	font-weight: bold;
}
.wrapper-404 .button:hover {
	color: #000;
}



@keyframes left404 {
	0% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(8deg);
	}


}
.left-404 {
	animation: left404 1s infinite;

}

@keyframes right404 {
	0% {
		transform: rotate(0deg);
	}
	30% {
		transform: rotate(-8deg);
	}
}

.right-404 {
	animation: right404 1s infinite;

}

@keyframes centre404 {
	0% {
		transform: rotate(0deg) scale(1);
	}
	50% {
		transform: rotate(12deg) scale(0.95);
	}
	75% {
		transform: rotate(-12deg) scale(1.05);
	}


}

.centre-404 {
	animation: centre404 1s infinite;

}

.image-wrap {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-evenly;

}

.left-404 {
	margin-right: -50px;
	position: relative;
}
.right-404 {
	margin-left: -50px;
	position: relative;
}
.centre-404 {
	margin: 50px -50px 0 -50px;
	z-index: 5;
	position: relative;
}

@media(max-width: 1200px) {
	.wrapper-404 .text-404 {
		font-size: 60px;
		line-height: 60px;
	}
}
@media(max-width: 768px) {
	.wrapper-404 .text-404 {
		font-size: 40px;
		line-height: 40px;
	}
	.wrapper-404 .button {
		font-size: 22px;
		padding: 14px 16px;
	}
	
	
}
@media(max-width: 568px) {
	.wrapper-404 {
		padding-top: 85px;
	}
	.wrapper-404 h1 {
		display: none;
	}
	.wrapper-404 .mob-h1 {
		height: 205px;
		background-image: url(../img/uh_oh.svg);
		background-position: center;
		width: 110%;
		margin-left: -5%;
		background-repeat: no-repeat;
		margin-bottom: -25px;
		margin-top: -25px;
	}

}
@media(max-width: 500px) {
	.wrapper-404 {
		padding-top: 50px;
	}
	.wrapper-404 .text-404 {
		font-size: 30px;
		line-height: 30px;
	}
	.image-wrap {
		margin-top: -30px !important;
		justify-content: space-between;
	}
}

/* end 404 page */