@import url("../static/css/fonts.css");

html,
body {
	height: 100%;
	margin: 0;
}

* {
    font-family: 'Menlo Regular', 'Menlo', 'Monaco', 'Lucida Console', monospace, serif;
}

a {
	text-decoration: none;
	color: #019875;//#5333ed;//#4d05e8;// #03c9a9;
}

a:hover {
	text-decoration: none;
	color: white;
	background-color: #019875;//#5333ed;//#4d05e8;//#03c9a9;
}

.header {
	flex: 0 1 auto;
	padding-top: 25px;
	padding-left: 25px;
}

.box {
	display: flex;
	flex-flow: column;
	//height: 100%;
}

.main-content {
	display: flex;
	flex: 1 1 auto;
	//flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	//align-items: center;
	padding-left: 1.2em;
	padding-right: 1.2em;
}

.content-box {
	text-align: center;
	flex: 0 1 calc(33% - 1em);
	border: 1px solid #d3d3d3;
	border-radius: 5px;
	max-width: 100%;
	margin-top: 1.5em;
	//margin: 1.5em 1.5em 1.5em 1.5em;
	padding: 1em 1em 1em 1em;
}

.content-box img {
	width: 75%;
}

/*
@media only screen and (max-device-width: 800px) {
	a {
		font-size: 2em;
	}

	.main-content h1 {
		font-size: 300%;
	}
}
*/

#bottom-footer {
	margin-bottom: 1em;
}

.footer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.footer a {
	margin-left: 15px;
	margin-right: 15px;
	margin-top: 5px;
	margin-bottom: 5px;
	//font-size: 200%;
}

@media screen and (max-width: 800px) {
	.content-box {
		min-width: 80%;
	}
}

@media screen and (min-width: 800px) {
	.main-content {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.content-box {
		margin-top: 1.5em;
		flex: 0 1 calc(50% - 3em);
	}
}

@media screen and (min-width: 60em) {
	.main-content {
		margin-top: inherit;
	}
 
	.content-box {
		margin-top: 1.5em;
		flex: 0 1 calc(50% - 3em);
		margin-bottom: 2em;
	}
}
