html {
    height: 100%;
    /*background-color: #1F1F21;*/
    background-color: #E0E0E0;
    color: black;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-weight: 300;
}


/*--Framework--*/
.grid {
    min-height: 100vh;
    display: grid;
}

.header {
    grid-area: header;
    white-space: nowrap;
}

.menu {
    grid-area: menu;
    white-space: nowrap;
    font-size: 1.3em;
}

.content {
    grid-area: content;
    padding: 10px;
    margin-left: 5em;
    margin-right: 5em;
    font-size: 1.2em;
}

.footer {
    grid-area: footer;
    color: white;
    font-size: .75em;
    background-color: rgba(217, 217, 217, .08);
    /*opacity: 0.1;*/
    display: flex;
    align-content: center;
    justify-content: right;
    padding-right: 5px;
}

/*--Header Content--*/
#header-logo {
    height: 3vh;
    padding-left:10px;
    display: none;
}

.header-text {
    /*padding-left: 20px;*/
    display: inline-block;
    color: #D00000;
    font-size: 2em;
    margin-left: 10px;
}


.header-text a:link, .header-text a:active, .header-text a:visited, .header-text a:focus {
    text-decoration: none;
    color: #D00000;
    outline: none;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom-right-radius: 16px 16px;
    border-bottom-left-radius: 16px 16px;
}

.header-text a:hover {
    background-color: #DADADA;
    border-bottom-right-radius: 16px 16px;
    border-bottom-left-radius: 16px 16px;
    transition: all 0.8s ease;
}

/*--Navigation Menu Content--*/
nav.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: right;
}

nav.menu ul li {
    float: left;
}

nav.menu ul li a {
    display: block;
    padding: 10px;
    padding-left: 2em;
    padding-right: 2em;
    text-decoration: none;
    color: black;
}

nav.menu ul li a:hover {
    color: #D00000;
    background-color: #DADADA;
    transition: background-color .8s ease;
    transition: color .3s ease;
    text-decoration: none;
    border-bottom-right-radius: 16px 16px;
    border-bottom-left-radius: 16px 16px;
}

nav.menu ul li a:focus {
    outline: none;
}

/*--Content--*/

.content a:link  {
    color: #D00000;
    text-decoration: underline #D00000 dashed;
}

.content a:visited {
    color: #4A4A4A;
    text-decoration: underline #4A4A4A dotted;
}

.content a:hover, .content a:focus, .content a:active {
    text-decoration-style: solid;
}

.content img {
    display: block;
    height: auto;
    float: right;
    margin-left: 15px;
    margin-top: 16px;
}


/*--Selections--*/
/*.content p::selection {
  background: #D00000;
}*/

/*.content p::-moz-selection {
  background: #D00000;
}*/

/*-----------------*/
/*--Media Queries--*/
/*-----------------*/

/*--Smaller Devices--*/
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr 1em;
        grid-template-areas:
            "header"
            "menu"
            "content"
            "footer";
    }

    .header {
        padding: 0;
        justify-self: center;
    }

    #header-logo {
        max-height: 40px;
        padding-left:10px;
    }

    nav.menu ul {
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

    nav.menu ul li {
        width: 100%;
        text-align: center;
    }

    nav.menu ul li a {
        padding: 0;
    }

    .content {
        padding: 0;
        margin-left: 1em;
        margin-right: 1em;
        /*font-size: 1.2em;*/
    }

    .content img {
        clear: both;
        text-align: center;
    }
}

/*--Bigger Devices--*/
@media (min-width: 769px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto 1fr 1em;
        grid-template-areas:
            "header menu menu menu"
            "content content content content"
            "footer footer footer footer";
        }
}

/*--Huge Devices--*/
@media (min-width: 1800px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto 1fr 1em;
        grid-template-areas:
            ". header menu ."
            ". content content ."
            ". footer footer .";
        }
}
