header, section, footer, aside, nav, article, figure, figcaption {
    display: block;
}

body {
    color: #702525;
    background-color: #022b34;
    font-family: Georgia, Times, serif;
    line-height: 1.4em;
    margin: 0;
}

.wrapper {
    width: 940px;
    margin: 20px auto;
    border: 2px solid #4f0e0e;
    background-color: #ffffff;
}

header {
    height: 160px;
    background-image: url("../images/MMHeader.jpg");
}

h1 {
    text-indent: -9999px;
    width: 940px;
    height: 130px;
    margin: 0;
}

nav {
    clear: both;
    color: #702525;
    background-color: #fff200;
    height: 30px;
}

nav ul {
    margin: 0;
    padding: 5px 0 5px 30px;
}

nav li {
    display: inline;
    margin-right: 40px;
}

nav li a {
    color: #008000;
}

nav li a:hover, nav li a.current {
    color: #a00000;
}

section.courses {
    float: left;
    width: 659px;
    border-right: 1px solid #AC6161;
}

article {
    clear: both;
    overflow: auto;
    width: 100%;
}

hgroup {
    margin-top: 40px;
}

figure {
    float: left;
    width: 290px;
    height: 220px;
    padding: 5px;
    margin: 20px;
    border: 1px solid #804040;
}

figcaption {
    font-size: 90%;
    text-align: left;
}

aside {
    width: 230px;
    float: left;
    padding: 0 0 0 20px;
}

aside section a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #039292;
}

aside section a:hover {
    color: #702525;
    background-color: #fff200;
}

a {
    color: #f09a0f;
    text-decoration: none;
}

h1, h2, h3 {
    font-weight: normal;
}

h2 {
    margin: 10px 0 5px 0;
    padding: 0;
}

h3 {
    margin: 0 0 10px 0;
    color: #008000;
}

aside h2 {
    padding: 30px 0 10px 0;
    color: #008000;
}

nav, footer {
    clear: both;
    color: #702525;
    background-color: #fff200;
    height: 30px;
}

footer {
    font-size: 80%;
    padding: 7px 0 0 20px;
    text-align: center;
}

.mainvideogif {
    position: relative;
    margin: 20px auto;
    max-width: 72%;
    overflow: hidden;
    border-radius: 15px;
}

.video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

header {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

header img {
    max-width: 200px;
    height: auto;
    display: block;
}


.topnav {
    background-color: #022b34;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-logo {
    max-height: 50px;
}

.topnav nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.topnav nav ul li a {
    color: #6a939d;
    text-decoration: none;
    font-weight: bold;
}

.topnav nav ul li a:hover,
.topnav nav ul li a.current {
    color: #255c69;
}
