body{
	display: flex;
	flex-flow: row wrap;
}

header, nav, footer, .task {
	flex: 1 100%;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #484040;
    color: white;
    text-align: center;
    padding: 1%;
    border-radius: 4px;
    font-size: 0.6em;
    font-style: italic;
    margin: 1% 0% 1% 0%;

    width: 100%;
    top: 100%;
    left: 0; 
     
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}

header {
	padding: 2% 1% 2% 1%;
	align-self: center;
	text-align: center;
	font-family: Monospace;
	font-size: 4em;
	background-color: #990000;
	color: white;
	font-weight: bold;
}

nav {
	display: flex; 
	flex-flow: row wrap; 
}

.task {
	font-size: 2.2em;
	font-weight: bold;
	color: #990000;
	text-align: center;
	padding: 2% 1% 2% 1%;
	font-family: sans-serif;
	text-shadow: 2px 2px 1px whitesmoke;
}

#result {
	visibility: hidden;
	font-size: 1.5em;
	border: solid 1px red;
}

.navbox {
	flex: 1 1 0%;
	justify-content: space-around;
	flex-direction: row;
	min-width: 200px;
	align-self: center;
	text-align: center;
	font-family: sans-serif;
	font-size: 1.5em;
	font-weight: bold;
	text-shadow: 1px 1px 1px grey;
	padding: 2%;
	margin: 1% 1% 1% 1%;
	border: solid 1px whitesmoke;
	border-radius: 4px;
}

.navbox:hover {
	background-color: #990000;
	cursor: default;
	text-shadow: 1px 1px 1px whitesmoke;
	color: white;
}

.nohover:hover {
	background-color: white;
	cursor: default;
	text-shadow: 1px 1px 1px grey;
	color: black;
}

.highlight {
	background-color: whitesmoke;
}

footer {
	background-color: #f8ecec;
	align-self: center;
	text-align: center;
	padding: 2% 1% 2% 1%;
	font-family: Monospace;
	font-size: 0.75em;
}
