* {
box-sizing: border-box;
}

body {
    background-image: linear-gradient(#eeeeee, #ffffff);
    background-attachment: fixed;
    color: #666666;
    font-family: Verdana, Arial, sans-serif;
    margin: 0;
}

form {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    gap: .75rem;
    width: 100%;
}

input, textarea, button {
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none;
} input:focus, textarea:focus {
    outline: none;
    background-color: #f0f0f0;
}

label {
    padding: 10px;
    text-align: right;
}

#mySubmit {
    width: 10rem;
    grid-column: 2 / 3;
} #mySubmit:hover {
    outline: none;
    background-color: #f0f0f0;
    cursor: pointer;
}

header {
    background-color: #BA1C21;
    color: #FFFFFF;
    font-family: Georgia, sans-serif;
    grid-row: 1 / 2;
    grid-column: 2 / 8;
}

main {
    padding-left: 2em;
    padding-right: 2em;
    background-color: #ffffff;
    padding-top: 1px;
    padding-bottom: 1px;
    display: block;
    grid-area: 4 / 2 / 5 / 8;
}

#homehero {
    background-image: url("homehero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    background-position-y: 55%;
    grid-area: 3 / 1 / 4 / 9;
}

#alumnihero {
    background-image: url("alumnihero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    background-position-y: 55%;
    grid-area: 3 / 1 / 4 / 9;
}

#studenthero {
    background-image: url("studenthero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    background-position-y: 55%;
    grid-area: 3 / 1 / 4 / 9;
}

#facultyhero {
    background-image: url("facultyhero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    background-position-y: 55%;
    grid-area: 3 / 1 / 4 / 9;
}

header h1 {
    padding-left: .5rem;
    margin: 0px;
}

header a {
    text-decoration: none;
    color: #FFFFFF;
}

h1 {
    line-height: 240%;
    background-image: url("dsu.jpg");
    background-position: right;
    background-repeat: no-repeat;
    padding-left: 1em;
    height: 72px;
    margin-bottom: 0px;
}

nav {
    font-weight: bold;
    position: sticky;
    top: 0;
    background-color: #424242;
    grid-area: 2 / 2 / 3 / 8;
}

nav a {
    color: #fff;
    padding: 1rem 0rem;
    display: block;
    text-decoration: none;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row nowrap;
}

nav ul li {
    width: 100%;
}

nav a:hover {
    background-color: #BA1C21;
}

h2 {
    color: #424242;
    font-family: Georgia, sans-serif;
}

dt {
    color: #BA1C21;
    font-weight: bold;
}

h3 {
    color: #BA1C21;
}

.dsu {
    color: #BA1C21;
    font-size: 1.2em;
}

footer {
    font-size: .70em;
    font-style: italic;
    text-align: center;
    padding: 1em;
    background-color: #FFFFFF;
    grid-area: 5 / 2 / 6 / 8;
}

section {
    float: left;
    width: 33%;
    padding-right: 1rem;
}

.clear {
    clear: both;
}

#wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 175px)) minmax(0px, 1fr);
}

#redbar {
    background-color: #BA1C21;
    grid-row: 1 / 2;
    grid-column: 1 / 9;
}

#greybar {
    background-color: #424242;
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    position: sticky;
    top: 0;
}

@media only screen and (max-width: 1100px) {
    #wrapper {
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 150px)) minmax(0px, 1fr);
    }
}

@media only screen and (max-width: 900px) {
    nav {
        grid-area: 2 / 1 / 3 / 5;
    }

    nav ul {
        flex-flow: column nowrap;
    }

    #homehero {
        height: auto;
        grid-area: 2 / 5 / 3 / 8;
    }
    
    #studenthero {
        height: auto;
        grid-area: 2 / 5 / 3 / 8;
    }
    
    #facultyhero {
        height: auto;
        grid-area: 2 / 5 / 3 / 8;
    }

    #alumnihero {
        height: auto;
        grid-area: 2 / 5 / 3 / 8;
    }

    section {
        float: none;
        width: 100%;
        padding-right: 0px;
    }
}

@media only screen and (max-width: 600px) {
    header h1 {
        background-image: none;
        text-align: center;
    }

    nav {
        grid-area: 2 / 1 / 3 / 9;
    }

    #homehero {
        display: none;
    }
    
    #studenthero {
        display: none;
    }
    
    #facultyhero {
        display: none;
    }

    #alumnihero {
        display: none;
    }
}

table {
    margin: 0 auto;
    border: 1px solid #424242;
    width: 100%;
    border-collapse: collapse;
}

td, th {
    padding: 5px;
    border: 1px solid #424242;
}

td {
    text-align: center;
}

.text {
    text-align: left;
}

.body-rows:nth-of-type(2n+1) {
    background-color: #F3F3F3;
}