body, html {
    height: 100%;
    margin: 0;
}

.bg { 
	position: relative;
	margin-top: 0;
	overflow: hidden;
    /* The image used */
    background-image: url("http://antiphantom.com/img/heroimage2.jpg");

    /* Full height */
    height: 100%; 

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.content {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	text-align: center;
	width: 100%;
}

p {
	font-family: 'Josefin Sans', sans-serif;
	/*font-family: 'Permanent Marker', cursive;*/
	color: white;
	background: rgba(128,128,128,0.5);  
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 5px 5px 15px 5px #000000; 
	box-shadow: 5px 5px 15px 5px #000000;
	font-size: 26px;
	padding-top: 10px;
	padding-bottom: 8px;
	width: 80%;
	margin-top: 2%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1%;
}

.content p a,
i {
	color: white;
	-webkit-text-stroke: 1px black;
	text-shadow:
       3px 3px 0 #000,
     -1px -1px 0 #000,  
      1px -1px 0 #000,
      -1px 1px 0 #000,
       1px 1px 0 #000;
}

i {
	
	margin-left: 5px;
}

.icons {
	margin-top: 2%;
	/*background: yellow;*/
}

h1 {
    font-family: 'Amatic SC', cursive;
    /*font-family: 'Abril Fatface', cursive;*/
	display: inline;
	position: relative;
	letter-spacing: -5px;
	font-size: 7.4em;
	line-height: 1.15em;
}

h1:after {
	content: "antiphantom";
	position: absolute; 
	left: -5px; 
	top: 10px; 
}

h1 {
	color: rgba(128,128,128,0.5);  	
}

h1:after {
	color: rgba(255,255,255,0.5); 
}
/*404*/
.fourohfour {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.fourohfour img {
    width: 80%;
    height: auto;
	margin: 0 auto;
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
	h1 {
		/*background: green;*/
	}
	
}

/* Small monitor */
@media (max-width: 979px){
	h1 {
		/*background: blue;*/
		font-size: 7em;
	}
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	.content {
		top: 49%;
	}
	
	.content p {
		line-height: 1;
	}
	
	h1 {
		/*background: purple;*/
		font-size: 4.7em;
	}
	
	h1:after {
		left: -4px; 
		top: 7px; 
	}
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
	.content {
		top: 47%;
	}
	h1 {
		background: none;
		font-size: 4em;
	}
	h1:after {
		left: -2px; 
		top: 5px; 
	}
}