body{
	font-family: 'Capriola', sans-serif;
}
body{
	background:#fff;
}	
.wrap-404{
	margin:0 auto;
	width:1000px;
}

.logo-404{
	margin: 0 auto;
    text-align: center;
    display: block;
}
.logo-404 h1{
	font-size:200px;
	color:#0f3a5d;
	text-align:center;
	margin-bottom:1px;
	text-shadow:4px 4px 1px white;
}	
.logo-404 p{
	color:#0f3a5d;
	font-size:20px;
	margin-top:1px;
	text-align:center;
}	
.logo-404 p span{
	color:lightgreen;
}	
.sub a{
	color:#343434;
	text-decoration:none;
	padding:5px;
	font-size:13px;
	font-family: arial, serif;
	font-weight:bold;
}	
.footer-404{
	color:white;
	position:absolute;
	right:10px;
	bottom:10px;
}	
.footer-404 a{
	color:#ff7a00;
}

@media (max-width:1024px) {
	.logo-404 h1 {
		font-size: 170px;
		margin-top: 140px    
	}
	.wrap-404 {
		width:100%;
	}
	.footer-404 {
		font-size:14px;
		line-height: 30px;
	}
}

@media (max-width: 991px) {
	.logo-404 h1 {
		font-size: 150px;
	}
}
	
@media (max-width: 768px) {
	body {
		display:-webkit-flex;
		display:flex;
		align-items: center;
		justify-content: center;
		height: 100vh;
		padding: 0;
		margin: 0;
	}
	.logo-404 h1 { 
		margin-top: 0px 
	}
	.footer-404 {
		right:0;
		width:100%;
		text-align:center;
	}
}

@media (max-width: 736px) {
	.logo-404 h1 {
		font-size: 120px;
	}	
}

@media (max-width: 600px) {
	.logo-404 h1 {
		font-size: 100px;
	}
}

@media (max-width: 568px) {
	.logo-404 p {
		font-size:15px;
		margin-bottom:5px;
		margin-top:1px;
	}
}

@media (max-width: 480px) {
	.logo-404 p {
		margin-bottom:10px;
	}
}

@media (max-width: 384px) {
	.footer-404 {
		font-size: 13px;
		line-height: 25px;
	}
}

@media (max-width: 320px) {
	.logo-404 h1 {
		font-size: 90px;
	}
	.logo-404 p {
		font-size: 14px; 
		margin-top:10px;
		margin-bottom:15px;
	}
	.footer-404 {
		right: 10px;
		left: 10px;
		width: 94%;
	}
} 	