/* css Zen Garden default style v1.02 */
/* css released under Creative Commons License - http://creativecommons.org/licenses/by-nc-sa/1.0/  */

/* This file based on 'Tranquille' by Dave Shea */
/* You may use this file as a foundation for any new work, but you may find it easier to start from scratch. */
/* Not all elements are defined in this file, so you'll most likely want to refer to the xhtml as well. */

/* Your images should be linked as if the CSS file sits in the same folder as the images. ie. no paths. */

@import url(https://fonts.googleapis.com/css?family=Julius+Sans+One|Libre+Baskerville:400,400italic);

/* basic elements */
html {
	margin: 0;
  padding: 0;
}

body {
	font-size: 12px;
	font-family: 'Libre Baskerville', sans-serif;
	line-height: 1.88889;
	color: white;
	margin: 0;
	padding: 0;
}

/* Page background */
body::after {
	content: '';
	position: fixed;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: -2;
	background-image: url(http://www.script-tutorials.com/demos/360/images/stars.png), linear-gradient(10deg, #a1c4d9 2%, #773298 10%, #000e3c 70%);
}

p {
	margin-top: 0;
	text-align: justify;
}

h3 {
	font: bold normal 1.4em 'Julius Sans One', sans-serif;
	letter-spacing: 1px;
	margin-bottom: 15px;
	color: white;
	border-bottom: 1px solid white;
	font-size: 18px;
}

a:link {
	font-weight: bold;
	text-decoration: none;
	color: #B7A5DF;
}

a:visited {
	font-weight: bold;
	text-decoration: none;
	color: #D4CDDC;
}

a:hover, a:focus, a:active {
	text-decoration: underline;
	color: #9685BA;
}

abbr {
	border-bottom: none;
}

.page-wrapper {
	padding: 20px 15% 250px 15%;
	margin: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* Bottom Trees */
.page-wrapper::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	height: 250px;
	width: 100%;
	z-index: -1;
	background-image: url(https://i.pinimg.com/originals/ca/e8/6e/cae86e76225a25b17332dfc9cf8b1121.png);
}

.intro {
	display: flex;
	flex-direction: column;
	position: relative;
}

.intro .summary p {
	text-align: center;
	font-size: 10px;
}

/* Aurora Header */
header {
	font-family: 'Julius Sans One', sans-serif;
	height: 300px;
	width: 300px;
	position: relative;
	margin: auto;
	margin-bottom: 20px;
  overflow: hidden;
	border-radius: 100%;
	border:9px solid black;
	background: #F76009;
	background: -moz-linear-gradient(left,  #f76009 7%, #04b6d6 33%, #ff0f43 65%, #408c54 93%);
	background: -webkit-gradient(linear, left top, right top, color-stop(7%,#f76009), color-stop(33%,#04b6d6), color-stop(65%,#ff0f43), color-stop(93%,#408c54));
	background: -webkit-linear-gradient(left,  #f76009 7%,#04b6d6 33%,#ff0f43 65%,#408c54 93%);
	background: -o-linear-gradient(left,  #f76009 7%,#04b6d6 33%,#ff0f43 65%,#408c54 93%);
	background: -ms-linear-gradient(left,  #f76009 7%,#04b6d6 33%,#ff0f43 65%,#408c54 93%);
	background: linear-gradient(10deg, #a1d9b4 20%, #32988a 40%, #000e3c 70%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f76009', endColorstr='#408c54',GradientType=1 );
	background-image : url(http://www.script-tutorials.com/demos/360/images/stars.png), linear-gradient(10deg, #a1d9b4 20%, #32988a 40%, #000e3c 70%);
	background-position: center;
}

/* Ground */
header::before {
	content: '';
	position: absolute;
	top: 150px;
	left: 2px;
	width: 295px;
	height: 148px;
	border-bottom-left-radius: 400px;
  border-bottom-right-radius: 400px;
	background-color: #26152D;
	z-index: 2;
}

/* Wispy Effect */
header::after {
	content: '';
  position:absolute;
  width: 500px;
  height: 500px;
	border-radius: 43%;
	background: -moz-linear-gradient(left, rgba(252,236,252,0.05) 0%, rgba(251,166,225,0.12) 50%, rgba(253,137,215,0.14) 51%, rgba(255,124,216,0.30) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(252,236,252,0.05) 0%,rgba(251,166,225,0.12) 50%,rgba(253,137,215,0.14) 51%,rgba(255,124,216,0.30) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(252,236,252,0.05) 0%,rgba(251,166,225,0.12) 50%,rgba(253,137,215,0.14) 51%,rgba(255,124,216,0.30) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0dfcecfc', endColorstr='#75ff7cd8',GradientType=1 ); /* IE6-9 */
  margin:0px auto;
  animation: northern 20s linear infinite;
  -moz-animation: northern 20s linear infinite;
  -webkit-animation: northern 20s linear infinite;
}

header h1 {
	position: absolute;
	top: 60%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	margin: 0;

	color: white;
	font-size: 32px;
	white-space: nowrap;
	z-index: 3;
}

/* Moon */
header h1::before {
	content: '';
  z-index: 1;
	position:absolute;
	top: 0%;
	right: 0%;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background: rgba(255,255,255,1);
  box-shadow: 0 0 50px #FFf;
	-moz-box-shadow: 0 0 50px #FFF;
	-ms-box-shadow: 0 0 50px #FFF;
	-o-box-shadow: 0 0 50px #FFF;
	-webkit-box-shadow: 0 0 50px #FFF;
	animation: moon 10s linear infinite;
  -moz-animation: moon 10s linear infinite;
  -webkit-animation: moon 10s linear infinite;
}

/* Mountain */
header h1::after {
	content: '';
	position: absolute;
	top: -64px;
	right: -12px;
	height: 0;
  width: 0;
  border-bottom: 64px solid black;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
	z-index: 2;
}

header h2 {
	position: absolute;
	top: 60%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	margin-top: 30px;

	color: white;
	font-size: 18px;
	white-space: nowrap;
	z-index: 3;
}

/* Mountain */
header h2::before {
	content: '';
	position: absolute;
	bottom: 169%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	height: 0;
  width: 0;
  border-bottom: 40px solid #494848;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
	z-index: 3;
}

/* Mountain */
header h2::after {
	content: '';
	position: absolute;
	bottom: 77px;
	left: -25px;
	height: 0;
  width: 0;
  border-bottom: 52px solid #2B2B2B;
  border-left: 65px solid transparent;
  border-right: 65px solid transparent;
	z-index: 2;
}

/* Content */
.main > div {
	padding-top: 5px;
}

.sidebar {
	margin: 20px 0;
}

.sidebar .wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.sidebar ul {
	margin: 0;
	padding: 0;
}

.sidebar li {
	list-style-type: none;
}

@keyframes northern {
	from { transform: rotate(0deg); }
  from { transform: rotate(360deg); }
}
@-webkit-keyframes northern {
	from { transform: rotate(0deg); }
  from { transform: rotate(360deg); }
}
@-moz-keyframes northern {
	from { transform: rotate(0deg); }
  from { transform: rotate(360deg); }
}
@-ms-keyframes northern {
	from { transform: rotate(0deg); }
  from { transform: rotate(360deg); }
}

@keyframes moon {
  0% {transform: translate(200%, -100%);}
  25% {transform: translate(0%, -150%);}
  50% {transform: translate(-200%, -200%);}
  75% {transform: translate(-400%, -150%);}
  100% {transform: translate(-600%, -100%);}
}
@-webkit-keyframes moon {
  0% {transform: translate(200%, -100%);}
  25% {transform: translate(0%, -150%);}
  50% {transform: translate(-200%, -200%);}
  75% {transform: translate(-400%, -150%);}
  100% {transform: translate(-600%, -100%);}
}
@-moz-keyframes moon {
  0% {transform: translate(200%, -100%);}
  25% {transform: translate(0%, -150%);}
  50% {transform: translate(-200%, -200%);}
  75% {transform: translate(-400%, -150%);}
  100% {transform: translate(-600%, -100%);}
}
@-ms-keyframes moon {
  0% {transform: translate(200%, -100%);}
  25% {transform: translate(0%, -150%);}
  50% {transform: translate(-200%, -200%);}
  75% {transform: translate(-400%, -150%);}
  100% {transform: translate(-600%, -100%);}
}

@media screen and (max-width: 768px) {
  .sidebar .wrapper {
		display: block;
	}
}

@media screen and (max-width: 480px) {
	header {
		height: 250px;
		width: 250px;
	}

	/* Ground */
	header::before {
		top: 125px;
		left: 2px;
		width: 245px;
		height: 123px;
		border-bottom-left-radius: 350px;
	  border-bottom-right-radius: 350px;
	}

	/* Wispy Effect */
	header::after {
	  width: 500px;
	  height: 500px;
	}

	header h1 {
		font-size: 24px;
	}

	/* Moon */
	header h1::before {
	  width: 50px;
	  height: 50px;
	}

	/* Mountain */
	header h1::after {
		top: -57px;
		right: -21px;
	  border-bottom: 54px solid black;
	  border-left: 65px solid transparent;
	  border-right: 65px solid transparent;
	}

	header h2 {
		font-size: 14px;
	}

	/* Mountain */
	header h2::before {
		bottom: 204%;
	  border-bottom: 30px solid #494848;
	  border-left: 30px solid transparent;
	  border-right: 30px solid transparent;
	}

	/* Mountain */
	header h2::after {
		bottom: 68px;
		left: -28px;
	  border-bottom: 42px solid #2B2B2B;
	  border-left: 55px solid transparent;
	  border-right: 55px solid transparent;
	}
}

@media screen and (max-width: 400px) {
	header {
		height: 200px;
		width: 200px;
	}

	/* Ground */
	header::before {
		top: 100px;
		left: 2px;
		width: 195px;
		height: 98px;
		border-bottom-left-radius: 300px;
	  border-bottom-right-radius: 300px;
	}

	/* Wispy Effect */
	header::after {
	  width: 400px;
	  height: 400px;
	}

	header h1 {
		font-size: 20px;
	}

	/* Moon */
	header h1::before {
	  width: 40px;
	  height: 40px;
	}

	/* Mountain */
	header h1::after {
		top: -45px;
		right: -12px;
	  border-bottom: 44px solid black;
	  border-left: 55px solid transparent;
	  border-right: 55px solid transparent;
	}

	header h2 {
		font-size: 12px;
		top: 55%;
	}

	/* Mountain */
	header h2::before {
		bottom: 175%;
	  border-bottom: 25px solid #494848;
	  border-left: 25px solid transparent;
	  border-right: 25px solid transparent;
	}

	/* Mountain */
	header h2::after {
		bottom: 51px;
		left: -17px;
	  border-bottom: 32px solid #2B2B2B;
	  border-left: 45px solid transparent;
	  border-right: 45px solid transparent;
	}
}
