.error-page {
  background-color: #292929;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 220px 0 100px;
}
@media(max-width: 768px){
  .error-page {
    margin: 170px 0 50px;
  }
}
.error-page .img {
  position: relative;
  z-index: 2;
  width: 564px;
  height: 552px;
}
@media(max-width: 991px){
	.error-page .img {
	  width: 450px;
	  height: 440px;
	}
}
@media (max-width: 768px) {
  .error-page .img {
    width: 345px;
    height: 335px;
  }
}
.error-page .img img {
  width: 100%;
  height: 100%;
}
.error-page h1 {
  font-family: "Alumni Sans";
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 150px;
  line-height: 90px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin-top: -40px;
}
@media(max-width: 1050px){
	.error-page h1{
		font-size: 130px;
  		line-height: 80px;
		padding: 0 16px;
	}
}
@media(max-width: 991px){
	.error-page h1{
		font-size: 100px;
  		line-height: 74px;
		padding: 0 16px;
	}
}
@media(max-width: 768px){
	.error-page h1{
		font-size: 56px;
  		line-height: 48px;
		padding: 8px 16px;
	}
}

.error-page.thanks .container{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.error-page.thanks h1{
	margin-bottom: 68px;
}
@media(max-width: 768px){
	.error-page.thanks h1{
		margin-bottom: 30px;
	}
}
@media (max-width: 768px) {
  .error-page.thanks .img {
    width: 258px;
    height: 258px;
  }
}
.error-page.thanks p{
	font-family: "Alumni Sans";
	font-weight: 500;
	font-size: 80px;
	line-height: 60px;
	color: #F6F6F4;
	text-transform: uppercase;
	margin-bottom: 50px;
	text-align: center;
	max-width: 90%;
}
@media(max-width: 991px){
	.error-page.thanks p{
		font-size: 60px;
		line-height: 40px;
		margin-bottom: 30px;
	}
}
@media(max-width: 768px){
	.error-page.thanks p{
		font-size: 45px;
		line-height: 40px;
		margin-bottom: 20px;
		max-width: 100%;
	}
}
.error-page.thanks p:last-of-type{
	margin-bottom: 0;
}
.error-page.thanks span{
	font-family: "Alumni Sans";
	font-weight: 300;
	font-size: 80px;
	line-height: 60px;
	color: #F6F6F4;
	text-transform: uppercase;
	margin-bottom: 50px;
	text-align: center;
	max-width: 80%;
}
@media(max-width: 991px){
	.error-page.thanks span{
		font-size: 60px;
		line-height: 40px;
		margin-bottom: 30px;
	}
}
@media(max-width: 768px){
	.error-page.thanks span{
		font-size: 45px;
		line-height: 40px;
		margin-bottom: 20px;
		max-width: 100%;
	}
}