
body {
	font-family: 'Playfair Display', Georgia, serif;
	margin: 100px 220px 40px 40px;
	color: #000;
}

/* NAVIGATION STYLES */

.sidenav {
	bottom: 0;
	width: 160px;
	position: fixed;
	top: 0;
	right: 0;
	background-image: linear-gradient(to bottom, #065897, #12A9E2);
	padding: 10px;
	color: white;
}


/* TYPOGRAPHY STYLES */

h1 {
	font-family: 'Caviar Dreams', sans-serif;
	font-size: 5em;
	font-weight: bold;
	text-align: center;
	background-image: url(../images/rule1.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center bottom;
	padding-bottom: 0.30em;
}

h2 {
	font-family: 'Caviar Dreams', sans-serif;	
	font-size: 2em;
	text-align: center;
	padding-bottom: 100px;
}

em {
	font-weight: bold;
}

p {
	line-height: 1.5em;
}

ul {
	line-height: 1.5em;
}

.references {
	font-style: italic;
	color: #065897;
}

.sidenav a {
	font-family: 'Caviar Dreams', sans-serif;
	font-size: 1.5em;
	text-decoration: none;
	text-align: right;
	line-height: 2.5;
	color: white;
	display: block;
	padding-right: 20px;
}

.sidenav a:hover {
	font-weight: bold;
	border-color: white;
	text-decoration: underline;
}

.sidenav a:active {
	border-color: white;
}

.small {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: .75em;
}

/* LAYOUT STYLES */

.main-subject video {
	display: block;
	margin: auto;
	max-width: 60%;
	height: auto;
	padding: 5px;
}

.contact {
	font-style: italic;
	padding-top: 0;
}

.flex-footer {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
}

.description p {
	display: flex;
	background: rgba(18, 169, 226, .1);
	max-width: 50%;
	height: auto;
	padding: 15px;
	position: relative;
	top: 1em;
	left: 25%;
	right: 25%;
}

/* IMAGE STYLES */

footer img {
	max-width: 80px;
}

video {
	max-width: 60%;
	height: auto;
}

/* FOOTER STYLES */

footer {
	height: 200px;
	font-size: .8em;
	font-style: italic;
	margin: 50px 0 0;
}

footer a {
	text-decoration: none;
	color: #065897;
}
footer a:visited {
	color: #fff0a6;
}
footer a:hover {
	color: #12A9E2;
	border-color: #12A9E2;
}
footer a:active {
	color: #065897;
	border-color: #065897;
}





