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

html {
    background-color: navy;
}

body {
    background-color: #fefefa;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#mainHeader {
    background-color: lightgray;
    line-height: 7vh;
    text-align: center;
}

header h1 {
    margin: 0;
    position: absolute;
    margin-left: 0.8vw;
}

nav {
    display: inline-block;
}

nav ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li {
    list-style-type: none;
    float: left;

}

nav ul li button {
	box-shadow:inset 0px 1px 0px 0px #bee2f9;
	background:linear-gradient(to bottom, #63b8ee 5%, #468ccf 100%);
	background-color:#63b8ee;
	border:1px solid #3866a3;
	display:inline-block;
	cursor:pointer;
	color:#14396a;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #7cacde;
    outline: none; /*Removes the outline without disabling focus - for accessibility reasons*/
}

nav ul li button:hover {
	background:linear-gradient(to bottom, #468ccf 5%, #63b8ee 100%);
	background-color:#468ccf;
}

nav ul li button:active {
	position:relative;
	top:1px;
}

.firstButton {
    border-top-left-radius: 10%;
    border-bottom-left-radius: 10%;
}

.lastButton {
    border-top-right-radius: 10%;
    border-bottom-right-radius: 10%;
}

main {
    display: flex;
    flex: 1;
    justify-content: center;
    background-color: white;
}

section {
    flex: 1;
    height: 80vh;
    border: 1px solid black;
    overflow-y: auto; /*Brings in that nice vertical scroll-bar when necessary*/
    overflow-wrap: break-word; /*Prevent contenteditable content from expanding the div*/
}

.sectionHeader {
    height: 5vh;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contentDiv {
    height: 75vh;
    outline: none;
}

.contentDiv:focus {
    background-color: #f7f7e1;
}

#outputDiv {
    box-sizing: border-box; /*It was overflowing ever so slightly... Bit proud of myself*/
    width: 100%;
}

/*#cssHeader, #jsHeader, #outputHeader {
}*/

footer {
    width: 100vw;
    display: flex;
    flex: 1;
    background-color: rgb(25, 25, 25);
    color: white;
    justify-content: center;
    align-items: center;
    border-top: 1px solid white;
    font-weight: bold;
    max-height: 13vh;
}

footer p {
    font-size: 24px;
}

footer a {
    color: lightskyblue;
}