:root {
    --main-dark-color: #296588; /* Endeavor */
    --main-light-color: #57bfcf; /* Viking */
    --secondary-light-color: #ffe5b4; /* Moccasin */
    --secondary-med-color: #999; /* Shady Lady */
}

/**********/

html,
body,
.outer-container {
    height: 100%;
}

body {
    margin: 0;
    font: 10px Arial, sans-serif;
}

a {
    text-decoration: none;
}

h1 {
    margin: 0;
}

.outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    margin: 0 auto;
    max-width: 700px;
    padding: 0 10px 10px;
    font-size: 16px;
    top: 37px;
    position: relative;
}

.sideby {
    display: flex;
}

.mn-logo {
    height: 300px;
}

.side + .side {
    margin-left: 20px;
}

.social-img {
    height: 50px;
}

.center {
    text-align: center;
}

.legion-logo {
    height: 100px;
}

footer {
    padding: 0 10px;
    max-width: 1200px;
    margin: 5em auto 0;
    font-size: 12px;
}

/***** Nav *****/

header {
    background: var(--main-dark-color);
    padding: 1em;
    color: white;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

a {
    color: inherit;
}

h1 {
    font-size: 1.5em;
    font-family: "ethnocentric", sans-serif;
    font-weight: 300;
    display: flex;
    align-items: center;
}

button {
    position: absolute;
    right: 50px;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 1em;
    background: transparent;
    color: white;

    &:focus,
    &:hover {
        background-color: white;
        color: black;
    }
}

nav {
    display: none;
    margin-right: 2em;
    font-size: 2em;
    li,
    a {
        display: block;
    }
}

.js nav {
    display: none;
}

.js button {
    display: block;
}

nav.is-active {
    display: block;
}

@media (min-width: 530px) {
    h1 {
        font-size: 3em;
    }

    button {
        top: 12px;
        padding: 8px;
    }

    .container {
        top: 55px;
    }
}

@media (min-width: 750px) {
    .js nav {
        display: block;
    }

    .js button {
        display: none;
    }

    button {
        display: none;
    }

    nav {
        display: block;
        padding-left: 0;

        li {
            display: inline-block;
            margin-right: 1em;
        }
    }

    .container {
        top: 81px;
    }
}

/***** Tooltip *****/

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    font-size: small;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    right: 0;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}
