/*This is where the index page, wrappers and navbars stylings are and also media queries:*/
body{
	margin: 0px;
}

#background{
	background-image: url("images/winterback.jpg");
	background-size: cover; 
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.wrapper1{
	margin: 0 auto;
	width: 100%;
}

.wrapper2, .wrapper3, .wrapper4, .wrapper5, .wrapper6{
	margin: 0 auto;
	width: 800px;
}

.wrapper2{
	margin-top: 6%;
	padding: 1%;
}

.wrapper3, .wrapper4, .wrapper5, .crane{
	margin-top: 5%;
}

.wrapper7{
	background-color: #F08080; 
	margin: 0 auto;
	margin-top: 10%;
	height: 428px;
	width: 600px;
}

#homenav{
	padding-left: 8%;
	font-family: lucida grande, sans-serif;
	font-size: x-large;
	text-align: center;
	z-index: 1000;
}

#aboutnav{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 62px;
	background-image: url("images/navbar-winterback.jpg");
	background-size: cover;
	background-position: center;
}

#contactnav{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 62px;
}

.ufocon{
	float: right;
	margin-right: 29%;
	margin-top: 0%;
}

.homeicon{
	margin-top: 0%;
	float: left;
}

.ufoabout{
	margin-left: 47%;
	position: fixed;
}

.ufopro{
	margin-left: 47%;
}

.ufoprobod{
	margin: 0 auto;
	margin-top: 4%;
	margin-left: 42%;
}

ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

li{
	display: inline;
}

a{
	color: white;
}

a:link{
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

.maintext{
	position: fixed;
}

h1{
	margin-top: -40px;
	margin-bottom: 0px;
	padding-left: 30px;
	font-size: 80px;
	color: white;
	font-family: 'Kaushan Script', cursive;
}

h3{
	margin: 0px 0px 20px 100px;
	font-family: lucida grande, sans-serif;
	color: white;
}

#ride{
    margin-left: 84%;
    margin-top: 34%;
    position: fixed;
}

p, h2{
	font-family: lucida grande, sans-serif;
}

h2{
	margin: 0 auto;
	width: 798px;
	padding-top: 2%;
	float: left;
	font-size: xx-large;
}

#bground, #bkgrdfubar, #bkgrdcz, #bkgrdmoon{
	background-color: #F08080;
}
/*This is where the about page is being styled*/
#bkgrdabout{
	background-image: url("images/01s-faded.jpg");
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	margin-top: 12%;
}

.para2{
	margin-top: 6%;
	width: 360px;
	padding: 1% 20%;
	font-size: large;
	text-align: center;
}

/*This is where the project page styling begins*/
#sidebar, #sideout{
	text-align: center;
	background-color: #6666ff;
	font-family: lucida grande, sans-serif;
	color: white;
	float: left;
	margin-top: -2%;
	height: 100%;
    width: 50px;
    overflow: auto;
	position: fixed;
}

#sideout{
	display: none;
	width: 130px;
	margin-left: 50px;
}

#sideoutlist{
	margin-top: 20%;
}

span:link{
	text-decoration: none;
}

span:hover{
	text-decoration: underline;
}

/*This is where the div numbered sec tags in the projects page are styled*/
#sec0{
	text-align: center;
}

#sec1, #sec2, #sec3, #sec4, #sec5, #sec6, #sec7, #sec8{
	margin: 0 auto;
	margin-top: 8%;
	float: left;
	height: 400px;
	width: 800px;
}

#sec3{
	height: 500px;
}

#sec7, #sec8{
	height: 1060px;
}

.homer, .media{
	margin: 0 auto;
	float: left;
}

.sec1p1{
	margin: 0 auto;
	float: right;
	width: 260px;
	margin-top: 5%;
	margin-right: 1%;
	font-size: large;
}

.sec1p2, .sec2p2, .sec4p2, .sec5p2, .sec6p2, .sec7p2, .sec7p4{
	margin: 0 auto;
	float: left;
	margin-top: 5%;
    margin-left: 20%;
	font-size: large;
}

.sec2p1{
	margin: 0 auto;
	float: left;
	width: 260px;
    margin-top: 6%;
    margin-left: 26%;
    text-align: right;
	font-size: large;
}

.sec2p2{
	margin-top: 5%;
	margin-left: 36%;
}

.sec3p1{
	margin: 0 auto;
	float: right;
	width: 260px;
	margin-right: 18%;
    margin-top: 6%;
	font-size: large;
}

.sec3p2{
	margin: 0 auto;
	float: left;
	margin-top: 5%;
	margin-left: 12%;
	font-size: large;
}

.ship{
	float: right;
}

.sec4p1, .sec7p3, .sec8p3{
	margin: 0 auto;
	float: left;
	width: 380px;
    margin-top: 4%;
    text-align: right;
	font-size: large;
}

.sec4p2, .sec5p2{
	margin-left: 2%;
}

.sec5p1, .sec6p1, .sec7p1{
	margin: 0 auto;
	float: right;
	width: 380px;
    margin-top: 2%;
	font-size: large;
}

.sec6p1, .sec7p1{
	width: 350px;
	margin-top: 6%;
}

.sec6p2{
	margin-top: 5%;
	margin-left: 26%;
}

.sec7p2{
	margin-top: 5%;
	margin-left: 14%;
}

.sec7p3, #sec8{
	margin-top: 15%;
}

.crane{
	float: right;
}

.sec8p1{
	margin: 0 auto;
	float: right;
	width: 214px;
	margin-top: 5%;
	margin-right: 1%;
	font-size: large;
}

.sec8p2{
	font-size: large;
}

.sec8p3{
	width: 260px;
	margin-top: 10%;
	margin-right: 5%;
}

/*This is where the contact page is styled*/
#background1{
	background-image: url("images/John@Hunter.JPG");
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}

#circle{
	margin: 0 auto;
	border-radius: 50%;
	background-color: #F08080;
	width: 38%;
	padding-top: 3%;
	padding-bottom: 0%;
	margin-left: 28%;
	overflow: hidden;
	-webkit-animation: Floatingy 3s infinite ease-in-out;
}

@-webkit-keyframes Floatingy {
    from {
        -webkit-transform:translateY(0px);
    }
    65% {
        -webkit-transform:translateY(50px);
    }
    to {
        -webkit-transform: translateY(-0px);
    }
}

.para4{
	text-align: center;
	font-size: x-large;
	color: black;
}

.blacken1, .blacken{
	color: black;
	font-size: large;
	font-weight: bolder;
	font-family: lucida grande, sans-serif;
	background-color: #F08080;
	border-radius: 60%;
	padding: 1%;
	float: right;
	margin-top: .5%;
	margin-right: 30%;
}

.blacken1{
	margin: 0 auto;
	float: left;
	margin-top: .5%;
	margin-left: 46%;
}

#footer{
	margin: 0 auto;
	margin-top: 10%;
    margin-right: 8%;
	text-align: center;
}
/*This is where on the home page that I have a viewpoint that 
breaks with a vertically held phone*/

@media (max-width: 425px){
	#background{
		background-image: url("images/winterback400.jpg");
		background-size: cover;
		background-repeat: no-repeat;
	}

	.wrapper1{
		margin: 0 auto;
		width: 100%;
	}

	#homenav{
		padding-left: 0%;
		font-size: medium;
		text-align: center;
		z-index: 1000;
	}

	.maintext{
		width: 100%;
	}

	h1{
		margin-top: 2%;
	    margin-bottom: 0px;
	    padding-left: 7%;
	    font-size: 330%;
	    color: white;
	    font-family: 'Kaushan Script', cursive;
	}

	h3{
		margin: 0 auto;
		text-align: center;
		font-size: small;
		margin-left: -2%;
	    color: white;
	}

	img#ride{
		height: 14%;
		margin-left: 72%;
	    margin-top: 112%;
	    position: fixed;
	}

/*This is where the about page is styled for a vertically held phone*/
	.wrapper7{
		background-color: #F08080; 
		margin: 0 auto;
		margin-top: 10%;
		width: 68%;
		height: 550px;
		margin-left: 16%;
	}

	.para2{
		margin: 0 auto;
		margin-top: 10%;
		width: 72%;
		padding: 0%;
		font-size: large;
		text-align: center;
	}

	.ufocon{
		float: left;
		margin-top: -13%;
		margin-left: 75%;
	} 

	.ufopro{
		float: left;
    	margin-top: 2%;
		margin-left: 36%;
	}

	img#ufopro1, img#ufocon1{
		height: 40px;
	}

/*This is where the contact page is styled for a vertically held phone*/
	#background1{
		background-image: url("images/John@Hunter400.jpg");
		background-size: cover;
		background-attachment: inherit;
		background-repeat: no-repeat;
		position: fixed;
	}

	.blacken1, .blacken{
		color: black;
		font-size: small;
		font-weight: bolder;
		font-family: lucida grande, sans-serif;
		background-color: #F08080;
		border-radius: 60%;
		padding: 1%;
	}

	.blacken{
		margin: 0 auto;
        float: left;
		margin-left: 14%;
		margin-top: 3%;
	}

	.blacken1{
		margin: 0 auto;
		float: left;
		margin-top: 13%;
		margin-left: -24%;
	}
	
	#circle{
		margin: 0 auto;
		margin-top: 9%;
		border-radius: 50%;
		background-color: #F08080;
		width: 23%;
		padding-top: 3%;
		padding-bottom: 0%;
		margin-left: 2%;
		overflow: hidden;
		-webkit-animation: Floatingy 3s infinite ease-in-out;
	}

	@-webkit-keyframes Floatingy {
    	from {
       	 -webkit-transform:translateY(0px);
    	}
    	65% {
        -webkit-transform:translateY(50px);
    	}
    	to {
        -webkit-transform: translateY(-0px);
    	}
	}

	.para4{
		text-align: center;
		font-size: large;
		color: black;
	}

	#footer{
		margin-right: 75%;
		margin-top: 8%;
		position: absolute;
	}

	#resume, #linkedin, #foodcert, #cert, #oshacert{
		height: 50px;
		width: 50px;
	}



}

