* {
  box-sizing: border-box;
  font: 400 16px/1.5 "Oswald", sans-serif;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  width: 100%;
}

body {
  background-color: #fff;
  color: #000;
  height: 100%;
  width: 100%;
}

.wrapper {
  overflow: auto;
  height: 100vh;
  margin: auto;
  width: 50vw;
}

.top {
  padding: 0px 40px;
  height: 160px;
  user-select: none;
}

.bottom {
  height: calc(100vh - 220px);
	margin: 30px 40px 0;
	overflow: auto;
	padding: 0;
	position: relative;
}

h2 {
  background: #ececec;
  font-size: 20px;
  padding: 20px 36px;
}



/*Display Area*/
.display {
  background-color: #ECECEC;
	bottom: 0;
	font-weight: 100;
	left: 0;
	right: 0;
	min-height: 400px;
  overflow: auto;
	padding: 0 36px;
	position: relative;
	top: 0;
	z-index: -1;
}

.display p {
  margin-bottom: 25px;
}

em {
	font-style: italic;
}



/*Form Styles*/
.wrapper h1 {
  font-size: 22px;
  left: -9999em;
  padding: 15px 0;
  position: absolute;
}

form {
  width: 100%;
  margin-bottom: 15px;
  padding: 0 20px 20px;
  background-color: #ECECEC;
}

form p {
  line-height: 30px;
  height: 30px;
  display: inline-block;
  margin: 5px;
}

form input {
  width: 40px;
  text-align: center;
}

form select {
  padding: 0px 10px;
}

form select, form input {
  display: inline-block;
  margin: 0px;
  line-height: 30px;
  height: 28px;
  border: none;
  outline: none;
  background-color: #fff;
}

#num {
	border-bottom: none;
	display: inline-block;
	padding-left: 10px;
	width: auto;
}

#generate {
  background: #0000bf;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  margin-left: 10px;
  margin-top: 15px;
  padding: 5px 10px;
  text-align: center;
  transition: all .5s ease-in-out;
}

#generate:hover {
  background-color: #666666;
}


/*Media Queries*/
@media screen and (max-width: 480px) {
  .wrapper {
    width: 100vw;
  }
  .top {
    height: 144px;
    padding: 0 10px;
  }
  .bottom {
    height: calc(100vh - 272px);
	  margin: 10px 10px 0;
  }
  .display {
  	padding: 0 16px;
  }
  form {
  	padding: 0 20px 10px;
  }

  h2 {
  	padding: 10px 16px;
  }
}
@media screen and (min-width: 481px) and (max-width: 1280px) {
  .wrapper {
    width: 85vw;
  }
}

