html, body {
	min-width: 360px;
	max-width: 900px;
	margin: auto;
	font-family: 'Kirang Haerang';
}

h1 {
	padding: 0 30px;
	border: 0;
	margin-top: 0;
}

a {
	color: inherit;
}

p {
	margin: 7px;
}

.button {
	display: block;
	padding: 3px;
	border-radius: 300px;
	border: 4px solid black;
	width: 250px;
	text-decoration: none;
	text-align: center;
	box-shadow: none;
	outline: none;
	cursor: pointer;
}

.button:active {
	border-color: grey;
}

.small {
	width: fit-content;
	font-size: 0.5em;
	border-width: 2px;
	margin: auto;
}

.choice {
	margin: 1px auto;
	font-size: 25px;
	background-color: black;
	color: white;
}

.hvr-grow {
	transition: opacity 0.5s linear, visibility 0.5s linear, transform 0.3s;
	-webkit-transition: opacity 0.5s linear, visibility 0.5s linear, transform 0.3s; 
  	transform: perspective(1px) translateZ(0);
  	-webkit-transform: perspective(1px) translateZ(0);
}

.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
	transform: scale(1.1);
	-webkit-transform: scale(1.1);
}

.hidden {
	opacity: 0;
	visibility: hidden;
}

/* Wobble Horizontal */
@-webkit-keyframes hvr-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes hvr-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.hvr-wobble-horizontal {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-wobble-horizontal:hover, .hvr-wobble-horizontal:focus, .hvr-wobble-horizontal:active {
  -webkit-animation-name: hvr-wobble-horizontal;
  animation-name: hvr-wobble-horizontal;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

#color-pickle {
	text-align: left;
	font-size: 0.6em;
}

#color-pickle input {
	font-size: 0.7em;
}

#game {
	width: 75%;
	background-color: grey;
	margin: 5% auto;
	border-radius: 20%;
	text-align: center;
	padding: 30px;
}

#header {
	background-color: white;
	width: 60%;
	padding: 10px 0px;
	margin: auto;
	margin-bottom: 15px;
}

#popup {
	display: none;
	font-size: 2.0em;
	text-align: center;
	width: 100%;
	height: 100%;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
	z-index: 1;
	position: fixed;
	left: 0;
	top: 0;
	overflow-y: scroll;
}

#popup-content {
	position: relative;
	background-color: #fefefe;
	margin: 5px auto;
	padding: 20px;
	border: 1px solid #888;
	width: 75%;
	max-width: 750px;
	animation-name: animatetop;
	animation-duration: 0.4s;
}

@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
}

#winning-color {
	width: 180px;
	padding: 70px 0px;
	margin: 14px auto;
	border-radius: 50%;
}

#color-compare {
	display: inline-block;
	width: 100px;
	height: 180px;
	margin: 10px auto;
	border-radius: 4px;
	overflow: hidden;
}

#color-compare div {
	padding: 45px;
}

#color-compare div:first-of-type {
}

#color-compare div:nth-of-type(2) {
}

#play-again, #reset {
	margin: 14px auto;
}

#reset {
	font-family: inherit;
	font-size: 1.2em;
}

#reset:focus {
	outline: none;
}






