html {
	height: 100%;
}
body {
	height: 100%;
	margin: 0;
	user-select: none;
}
header {
	height: 60px;
	background-color: #623B3B;
}
h1 {
	color: white;
	line-height: 60px;
	text-align: center;
	color: white;
	margin: 0;
}
main {
	max-width: 1200px;
	padding: 20px;
	margin: auto;
}
.test {
	width: 23%;
	height: 90px;
	background-color: #623B3B;
	border-radius: 10px;
	margin: 20px 1% 0 1%;
	color: white;
	text-align: center;
	padding: 10px;
	float: left;
	box-sizing: border-box;
	text-decoration:none;
}
.test:hover, .active {
	cursor: pointer;
	background-color: #4B3E3E;
}
h2 {
	margin:0;
}
.clear {
	clear:both;
}
#testBox {
	width: 600px;
	padding: 20px;
	margin: auto;
}
#testBox div {
	width: 33.3333%;
	float: left;
	padding: 10px;
	box-sizing: border-box;
}
#testBox {
	text-align: center;
}
#testBox span {
	display: block;
    min-height: 30px;
	line-height: 30px;
	background-color: grey;
	text-align: center;
	margin-bottom: 3px;
	border-radius: 3px;
	color:white;
	height:fit-content;
}
#testBox span:hover {
	cursor: pointer;
	opacity: 0.7;
}
#testBox i {
	font-style: normal;
	display: block;
	height: 0px;
	line-height: 0px;
	background-color: lime;
	text-align: center;
	margin-bottom: 3px;
	border-radius: 3px;
	color:white;
}
#testBox .i {
	height: 30px;
	line-height: 30px;
}
#doneBox {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.7);
	background-size: 200px auto;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('../images/done.png');
	display: none;
}
.border-button {
  text-decoration: none;
  display: inline-block;
  padding: 20px 30px;
  margin: 10px 20px;
  position: relative;
  color: white;
  border: 1px solid rgba(255, 255, 255, .4);
  background: none;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.border-button:before, .border-button:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  box-sizing: border-box;
}
.border-button:before {
  bottom: 0;
  left: 0;
  border-left: 1px solid white;
  border-top: 1px solid white;
  transition: 0s ease opacity .8s, .2s ease width .4s, .2s ease height .6s;
}
.border-button:after {
  top: 0;
  right: 0;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  transition: 0s ease opacity .4s, .2s ease width, .2s ease height .2s;
}
.border-button:hover:before, 
.border-button:hover:after {
  height: 100%;
  width: 100%;
  opacity: 1;
}
.border-button:hover:before {
  transition: 0s ease opacity 0s, .2s ease height, .2s ease width .2s;
}
.border-button:hover:after {
  transition: 0s ease opacity .4s, .2s ease height .4s, .2s ease width .6s;
}
.border-button:hover {
  background: rgba(255, 255, 255, .2);
}