
body {
  background: #2c3e50;  /* fallback for old browsers */
  /*background: -webkit-linear-gradient(to bottom, #3498db, #2c3e50);  /* Chrome 10-25, Safari 5.1-6 */
  /*background: linear-gradient(to bottom, #3498db, #2c3e50); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  /*background-repeat: no-repeat;*/
  height: 100%;
  width: 100%;
}

#page {
  background: lightgray;
  border-radius: 5px;
  height: 100%;
  margin: 15rem auto;
  padding: 2rem;
  text-align: center;
  width: 30%;
}

#change {
  margin-top: 1rem;
}

/* NAV */

nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
}

.fixed {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 10%;
	background-color: black;
}

nav ul li {
	list-style: none;
}

nav > ul > li {
	color: white;
	font-size: 24px;
}

.left {
	display: flex;
	flex-direction: row;
	width: 37%;
}

.left > li {
	padding: 4% 0 0 0;
}

.left > li:last-child {
	margin-left: 8%;
}

.right > li {
	 padding: 5% 15% 0 0;
}

nav > ul > li > a {
	color: white;
	text-decoration: none;
}

.hamburger {
	display: none;
	cursor: pointer;
}

.dropdown {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
  width: 30%;
}

@media screen and (max-width: 920px) {
	nav {
		justify-content: center;
	}

	.left {
		display: none;
	}
}

@media screen and (max-width: 640px) {
	.left {
		display: none;
	 }

	.hamburger{
		display: flex;
	  width: 100%;
	  background: black;
	  font-family: 'Open Sans', sans-serif;
		justify-content: center;
	 }

	.navicon{
	  font-size: 25px;
	  margin: 5px 15px;
	  color: seashell;
	 }

	.dropdown{
	  padding-left: 0;
	  margin: 0;
	  list-style: none;
	  display: none;
		width: 100%;
	 }

	.dropdown li{
	  font-size: 24px;
	  padding: 15px;
	  width: 100%;
	  background: black;
	  border-bottom: 1px solid black;
	}

	.dropdown li:last-child{
	  border-bottom: none;
	 }

	.dropdown a:hover{
	  background: black;
	 }
}

/* Mobile Portrait */

@media screen and (device-aspect-ratio: 40/71) and (max-device-width: 640px) {
	.left {
		display: none;
	 }

	.hamburger{
		display: flex;
	  width: 100%;
	  background: black;
	  font-family: 'Open Sans', sans-serif;
		justify-content: center;
	 }

	.navicon{
	  font-size: 25px;
	  margin: 5px 15px;
	  color: seashell;
	 }

	.dropdown{
	  padding-left: 0;
	  margin: 0;
	  list-style: none;
	  display: none;
		width: 100%;
	 }

	.dropdown li{
	  font-size: 24px;
	  padding: 15px;
	  width: 100%;
	  background: black;
	  border-bottom: 1px solid black;
	}

	.dropdown li:last-child{
	  border-bottom: none;
	 }

	.dropdown a:hover{
	  background: black;
	 }
}

/* Mobile Landscape */

@media screen and (device-aspect-ratio: 40/71) and (max-device-width: 640px) {

	.left {
		display: none;
	 }

	.hamburger{
		display: flex;
	  width: 100%;
	  background: black;
	  font-family: 'Open Sans', sans-serif;
		justify-content: center;
	 }

	.navicon{
	  font-size: 25px;
	  margin: 5px 15px;
	  color: seashell;
	 }

	.dropdown{
	  padding-left: 0;
	  margin: 0;
	  list-style: none;
	  display: none;
		width: 100%;
	 }

	.dropdown li{
	  font-size: 24px;
	  padding: 15px;
	  width: 100%;
	  background: black;
	  border-bottom: 1px solid black;
	}

	.dropdown li:last-child{
	  border-bottom: none;
	 }

	.dropdown a:hover{
	  background: black;
	 }
}
