body{
	margin: 0px;
	padding: 0px;
	background-color:rgb(240, 240, 235)
}
header{
	position: fixed;
	top:0;
	left: 0;
	right: 0;
	margin-top: 0px;
}
main{
	margin-top: 200px;
}
.head-container{
	display: flex;
	background-color:rgb(54, 66, 97);
}
.head-container > div{
	flex-direction: row;
	padding: 10px;
	background-color:rgb(54, 66, 97);
	height: 125px;
}
h1{
	color: white;
	font-family: 'Helvetica', sans-serif;
}
h2{
	font-family: 'Helvetica', sans-serif;
}
h3{
	font-family: 'Helvetica', sans-serif;
	text-align: center;
}
h4{
	font-family: 'Helvetica', sans-serif;
	font-size: 20px;
}
p{
	font-family: 'Helvetica', sans-serif;
	font-size: 17px;
}
.frm{
	display: flex;
	flex-direction: column;
	margin-top:15px;
	margin-left: 20%;;
	border: 2px solid black;
	padding: 20px;
}

a:link{
	color:darkslategrey;
	text-decoration: none;
}
a:visited{
	color: darkslategrey;
}
a:hover{
	background: lightgrey;
	color: black;
	border-radius: 10px;
	padding: 3px;
}
.diamond{
	width:75px;
	height: 75px;
	transform: rotate(45deg);
	position: relative;
	overflow: hidden;
	margin: 25px;
	border-radius: 25px;
}
.diamond img {
	max-height: 125%;
	position: relative;
	margin: -10%;
	z-index: -1;
	transform: rotate(-45deg);
}
.vertical-center{
	margin: 0;
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
.center{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}
.menu{
	display: flex;
	flex-direction:column;
	background-color: rgb(240, 240, 235);
}
.menu > div{
	display: flex;
}
.button{
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}
.large-container{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	background-color: rgb(54, 66, 97);
	padding-top: 20px;
	padding-bottom: 20px;
	width: 100%;
}
.large-container > div{
	background-color: rgb(240, 240, 235);
	padding: 20px;
}
.math-container{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	background-color:rgb(54, 66, 97);
	padding:20px;

}
.math-container > div{
	display: flex;
	flex-flow: row wrap;
	padding: 20px;
	background-color: rgb(240, 240, 235);
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left:1.5%;
	margin-right:1.5%;
}
.contact-container{
	display:flex;
	flex-direction: column;
	background-color:rgb(54, 66, 97);
	padding: 20px;
}
.contact-container > div{
        display: flex;
        flex-direction: column;
        padding: 20px;
        background-color: rgb(240, 240, 235);
        margin: auto;
	margin-top:20px;
}
.collapsible{
	background-color: rgb(240, 240, 235);
	color: #444;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 17px;
}
.active, .collapsible:hover{
	background-color: #ccc;
}
.content{
	padding: 0 18px;
	display: none;
	overflow: hidden;
	background-color: rgb(240, 240, 235);
}
.button2 {
	background-color: #e7e7e7;
	color: black;
	margin: auto;
}
.game-container{
	display: flex;
	margin: auto;
}
.game-container > div{
	margin: auto;
	background-color: #e7e7e7;
	color: black;
}
.topnav{
	overflow: auto;
	white-space: nowrap;
	background-color: #333;
}
.topnav a {
	display: inline-block;
	color: rgb(240, 240, 235);
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}
.topnav a:hover{
	background: lightgrey;
	color: black;
}
.topnav a.active{
	background-color: lightgrey;
	color: black;
	border-radius: 10px;
}
.topnav .icon{
	display: none;
}
/*
@media screen and (max-width: 600px){
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
	  float: left;
	  display: block;
	}
}
@media screen and (max-width: 600px){
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	  position: absolute;
	  left: 0;
	  top: 0;
	}
	.topnav.responsive a{
	  float: none;
	  display: block;
	  text-align: left;
	}
}
*/
@media screen and (max-width: 600px)
{
	.topnav a {
		display: inline-grid;
		font-size: 12px;
	}
	.math-container{
        	display: flex;
        	flex-direction: column;
		flex-wrap:wrap;
        	background-color:rgb(54, 66, 97);
        	padding:20px;
	}
	.math-container > div{
        	display: flex;
        	padding: 20px;
        	background-color: rgb(240, 240, 235);
        	margin: 20px;
	}
	.math-choice{
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
	}
	.large-container{
        	display: flex;
        	flex-direction: column;
        	background-color: rgb(54, 66, 97);
        	padding-top: 20px;
        	padding-bottom: 20px;
        	width: 100%;
	}
	h1{
		font-size: 17px;
	}
}
@media screen and (max-width: 1000px)
{
        .math-container{
                display: flex;
                flex-direction: column;
                flex-wrap:wrap;
                background-color:rgb(54, 66, 97);
                padding:20px;
        }
}
