/* ------reset-----------*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	color:#ffffff;
	line-height: 1;
	/*background: #285783;
	background-image: url('../image/spaceman.png');
	background-repeat: no-repeat;
	background-position: 80% -5%;
	background-image: url('../image/gradient.gif');
	background-position:bottom;
	background-attachment: fixed;
	background-repeat: repeat-x;*/
	font-family: 'Work Sans', sans-serif;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#285783+0,3a7da0+50,285783+100 */
	background: #285783; /* Old browsers */
	background: -moz-linear-gradient(top,  #285783 0%, #4689ad 50%, #285783 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #285783 0%,#4689ad 50%,#285783 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #285783 0%,#4689ad 50%,#285783 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#285783', endColorstr='#285783',GradientType=0 ); /* IE6-9 */
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ------reset-----------*/

body {
	height: 100%;
}

a {
	color:#3DAEE8;
}

a:hover {
	color:#aaaaaa;
}

a:visited {
	color:#3DAEE8;
}

h1 {
	font-size: 62px;
	font-weight: 600;
}

h2 {
	font-size:24px;
    font-size: 30px;
    line-height: 45px;
}

p {
	font-weight:300;
	line-height: 150%;
}

li {
	padding-top: 8px;
}

.shadow {
    text-shadow: 0px 0px 8px #285783, 0px 0px 8px #285783;
}

#mainContainer {
	background-image: url('../images/spaceman.png');
	background-repeat: no-repeat;
	background-position: 100% 0%;
	margin-left:0%;
	margin-right: 5%;
	margin-top:40px;
	height:1700px;
	max-width:1500px;
}

#headline {
    margin-bottom: 20%;
    margin-left: 5%;
}

#headline > h1{
    padding-bottom: 20px;
    border-bottom: 1px solid #ffffff;
    display: inline-block;
}

#socialIcons {
	margin-top: 5px;
}

#socialIcons > h2 {
	margin-bottom:5px;
}

#socialIcons > a, p {
	color:#ffffff;
	padding-top: 10px;
}

#socialIcons > a:hover {
	color:#aaaaaa;
}

.dropdown {
	display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    border-radius:5px;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    text-shadow: 0px 0px 0px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#aboutMe {
    line-height: 140%;
}


.cardBox {
	background-color: rgba(0,0,0,0.5);
	width:65%;
	padding: 1% 2% 3% 5%;
	/*border: 1px solid #ffffff;*/
    margin: 20px 0 40px 0;
    text-shadow: 1px 1px rgba(0,0,0,0.5);
}

.thumbnail {
	background: none;
}

/* #gallery > #links > a {
    margin: 1%;
    display: inline-block;
}*/

#gallery > #links > a > img{
	width: 96px;
}

.modal-title {
	color:#000000;
}

#footer {
	width: 100%;
	height:700px;
	left: 0;
	position: absolute;
	background-image: url('../images/stars.svg');
	background-repeat: repeat;


/*
	background-image:
	radial-gradient(white, rgba(255,255,255,.2) 1px, transparent 10px),
	radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
	radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px),
	radial-gradient(rgba(255,255,255,.2), rgba(255,255,255,.05) 2px, transparent 10px);
	background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px; 
	background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
*/
}

#footer > div > p {
    position: absolute;
    bottom: 1%;
    right: 2%;
    color: black;
}

#terran {
	width: 290px;
	height: 290px;	
	background-image: url('../images/terran.png');
	background-size: 290px 290px;
	background-repeat: no-repeat;
	position: absolute;
	bottom:90px;
	left: 10%;
}

#landscape {
	height: 115px;
	width: 100%;
	background-image: url('../images/landscape.png');
	background-repeat: repeat-x;
    position: absolute;
    bottom: 90px;
}

#landfill {
	width: 100%;
	height: 150px;
	background-color: #ffffff;
    position: absolute;
    bottom: 0px;

}

.bubble1 {
	left: 64px;
    top: -80px;
	padding: 5px 10px;
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	background-color: #ddc9ff;
	position: relative;
	display: inline-block;
	z-index: 5;
}

.bubble1:after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 15px 10px 0;
	border-color: #ddc9ff transparent;
	display: block;
	width: 0;
	bottom: -15px;
	left: 15px;
}

#terran > div.bubble1 > p {
	color:#000000;
	padding:10px;
}

/*MEDIA QUERIES*/

@media (max-width: 900px){

	#mainContainer {
		background-size: 270px;
	    background-position-y: 90px;
	}

	h1{
		font-size:45px;
	}

	h2{
	    font-size: 20px;
    	line-height: 35px;
	}
}

@media (max-width: 560px){
		#mainContainer {
		height:2000px;
	}
}


@media (max-width: 480px){

	h1 {
		font-size: 35px;
	}

	#mainContainer {
		background-size: 200px;
	    background-position-y: 160px;
	    margin-right: 0%;
	}

	#headline {
	    margin-bottom: 80%;
	}

	#aboutMe {
	    padding: 4% 4%;
	}

	#links {
		text-align: center;
	}

	.cardBox {
		width:100%;
	    padding: 7% 3%;
	}
}

@media (max-width: 400px) {

	h1 {
    font-size: 26px;
	}
}