/* Basic */

body {
	color: white;
}


#main {
	position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(black, #000099, #66c2ff, #ffcccc, #ffeee6);
}

@keyframes header {
	0% {
		transform: translate3d(0,1em,0);
		opacity: 0;
	}

	100% {
		transform: translate3d(0,0,0);
		opacity: 1;
	}
}

@keyframes nav-icons {
	0% {
		transform: translate3d(0,1em,0);
		opacity: 0;
	}

	100% {
		transform: translate3d(0,0,0);
		opacity: 1;
	}
}

#header {
	animation: header 1s 1s forwards;
	backface-visibility: hidden;
	transform: translate3d(0,0,0);
	cursor: default;
	display: inline-block;
	opacity: 0;
	position: relative;
	text-align: center;
	top: 8em;
	vertical-align: middle;
	width: 100%;
}

#header h1 {
	font-size: 4.35em;
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1em;
}

#header p {
	font-size: 1.25em;
	margin: 0.75em 0 0.25em 0;
	opacity: 0.75;
}

#nav {
	margin: 10em 0 0 0;
	text-align: center;
}

#nav ul {
	margin: 0;
	padding: 0;
	/*padding-inline-start: 0;*/
}

#nav li {
	animation: nav-icons 0.5s ease-in-out forwards;
	backface-visibility: hidden;
	transform: translate3d(0, 0, 0);
	display: inline-block;
	height: 5.35em;
	line-height: 5.85em;
	opacity: 0;
	position: relative;
	top: 0;
	width: 8em;
	text-align: center;
	margin: 1em 0.75em;
}

#nav li:nth-child(1) {
	animation-delay: 1.5s;
}

#nav li:nth-child(2) {
	animation-delay: 1.75s;
}

#nav li:nth-child(3) {
	animation-delay: 2s;
}

#nav li:nth-child(4) {
	animation-delay: 2.25s;
}

#nav li:nth-child(5) {
	animation-delay: 2.5s;
}

#nav li:nth-child(6) {
	animation-delay: 2.75s;
}

#nav li:nth-child(7) {
	animation-delay: 3s;
}

a {
	text-decoration: none;
	color: white;
}

#nav li a {
	border: 0;
	display: inline-block;
}

#nav li a:before {
	transition: all 0.2s ease-in-out;
	border-radius: 100%;
	border: solid 1px #fff;
	display: block;
	font-size: 1.75em;
	height: 2.5em;
	line-height: 2.5em;
	position: relative;
	text-align: center;
	top: 0;
	width: 2.5em;
}

#nav li a:hover {
	font-size: 1.1em;
}

#nav a:hover:before {
	background-color: rgba(245, 245, 245, 0.175);
}

#nav li a:active {
	font-size: 0.95em;
}

#nav a span {
	display: none;
}

#footer {
	background-image: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.5) 75%);
	position: absolute;
	width: 100%;
	bottom: 0;
	height: 6em;
	line-height: 8em;
	text-align: center;
	color: black;
}

#footer a {
	color: black;
	text-decoration: underline;
}

.stars {
	background-color: white;
	height: 30px;
	width: 30px;
	border-radius: 50%;
	animation-iteration-count: infinite;
}

.star-1 {
	margin-top: -25%; 
	margin-left: 60%;
	animation-duration: 0.9s;
	animation-name: twinkle;
}

.star-2 {
	margin-top: 0%;
	margin-left: 25%;
	animation-duration: 1s;
	animation-name: twinkle;
}

.star-3 {
	margin-top: -2%;
	margin-left: 80%;
	animation-duration: 1.1s;
	animation-name: twinkle;
}

@keyframes twinkle {
	50% {
	  transform: scale(0.5);
	  opacity: 0.5;
	}
}


/* Wide */

	@media screen and (max-width: 1680px) {

		/* Basic */

		body, input, select, textarea {
			font-size: 13pt;
		}
	}

/* Normal */

	@media screen and (max-width: 1280px) {

		/* Basic */

			body, input, select, textarea {
				font-size: 12pt;
			}

		/* BG */

			@-moz-keyframes bg {
				0% {
					transform: translate3d(0,0,0);
				}

				100% {
					transform: translate3d(-750px,0,0);
				}

	}

/* Mobile */

	@media screen and (max-width: 736px) {

		/* Basic */

			body {
				min-width: 320px;
			}

			body, input, select, textarea {
				font-size: 11pt;
			}

	/* Header */

		#header h1 {
			font-size: 2.5em;
		}

		#header p {
			font-size: 1em;
		}

		#nav {
			font-size: 1em;
		}

		#nav a:hover {
			font-size: 1em;
		}

		#nav a:active {
			font-size: 1em;
		} 

		#nav li {
			height: 3.35em;
			line-height: 3.85em;
			top: 0;
			width: 5em;
			margin: 0.5em 0.25em;
		}

		#nav li a:before {
			font-size: 1.25em;
			height: 2em;
			line-height: 2em;
			top: 0;
			width: 2em;
		}

		.stars {
			display: none;
		}
	}

/* Mobile (Portrait) */

	@media screen and (max-width: 480px) {

	/* Header */

		#nav {
			padding: 0 1em;
		} 
	}
