* {
    box-sizing: border-box;
}

body {
    background:linear-gradient(#eeeeee,#ffffff);
    background-attachment: fixed;
    font-family: Verdana, Arial, sans-serif;
    margin: 0px;
}

header {
    background-color: #BA1C21;
    color: #FFFFFF;
    font-family: Georgia, 'Times New Roman', Times, serif;
    grid-column: 2 / -2;
    grid-row: 1 / 2;
}

header h1 {
    line-height: 240%;
    background-image: url('dixieimages/dsu.jpg');
    background-position-x: right;
    background-repeat: no-repeat;
    padding-left: 0.5rem;
    height: 72px;
    margin: 0;
}

header a{
    color: #FFFFFF;
    text-decoration: none;
}

nav {
    font-weight: bold;
    position: sticky;
    top: 0;
    background-color: #424242;
    grid-row: 2 / 3;
    grid-column: 2 / -2;
}

nav a{
    color: #FFFFFF;
    padding: 1rem 0rem;
    display: block;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.5s;
    transition-timing-function: ease-out;
}

nav a:hover{
    background-color: #BA1C21;
}

nav ul{
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
}

nav ul li {
    width: 100%;
}

h2 {
    color: #424242;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

video {
    float: right;
    margin-left: 2em;

}

dt {
    color: #BA1C21;
    font-weight: bold;
}

.dsu {
    color: #BA1C21;
    font-size: 1.2em;
}

footer {
    font-size: 0.70em;
    font-style: italic;
    text-align: center;
    padding: 1em;
    background-color: #FFFFFF;
    grid-column: 2 / -2;
    grid-row: 5 / 6;
}

#wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

#redbar {
    background-color: #BA1C21;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
}

#greybar {
    background-color: #424242;
    grid-column: 1 / -1;
    grid-row: 2 / 3;
}

h3 {
    color: #BA1C21;
}

main {
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1px;
    padding-bottom: 1px;
    display: block;
    background-color: #FFFFFF;
    grid-column: 2 / -2;
    grid-row: 4 / 5;
}

#homehero {
    height: 300px;
    background-image: url('dixieimages/homehero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4;
}

#facultyhero {
    height: 300px;
    background-image: url('dixieimages/facultyhero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4;
}

#studenthero {
    height: 300px;
    background-image: url('dixieimages/studenthero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4;
}

#alumnihero {
    height: 300px;
    background-image: url('dixieimages/alumnihero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4;
}

#shophero {
    height: 300px;
    background-image: url('dixieimages/shophero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4;
}

section {
    width: 33%;
    padding-right: 1rem;
    float:left;
}

.clear {
    clear: both;
}

table {
    margin: 0px auto;
    border: 1px solid #424242;
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 5px;
    border: 1px solid #424242;
    text-align: center;
}

th {
    padding: 5px;
    border: 1px solid #424242;    
}

tr:nth-of-type(2n) {
    background-color: #F3F3F3;
}

.text {
    text-align: left;
}

form {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    grid-gap: 0.75rem;
    width: 100%;
}

input, textarea {
    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;
}


@media only screen and (max-width: 1100px) {
    #wrapper{
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 150px)) minmax(0px, 1fr);
    }
}

@media only screen and (max-width: 900px) {
    nav {
        grid-row: 2 / 3;
        grid-column: 1 / 5;
    }

    nav ul {
        flex-flow: column nowrap;
    }

    video {
        float: none;
        margin: 0 0 0 0;
        width: 100%;
        height: auto;
    }
    
    #homehero {
        grid-row: 2 / 3;
        grid-column: 5 / 8;
        height: auto;
    }

    #studenthero {
        grid-row: 2 / 3;
        grid-column: 5 / 8;
        height: auto;
    }

    #facultyhero {
        grid-row: 2 / 3;
        grid-column: 5 / 8;
        height: auto;
    }

    #alumnihero {
        grid-row: 2 / 3;
        grid-column: 5 / 8;
        height: auto;
    }

    #shophero {
        grid-row: 2 / 3;
        grid-column: 5 / 8;
        height: auto;
    }

    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-row: 2 / 3;
        grid-column: 1 / -1;
    }

    #homehero {
        display: none;
    }

    #studenthero {
        display: none;
    }

    #facultyhero {
        display: none;
    }

    #alumnihero {
        display: none;
    }

    #shophero {
        display: none;
    }
}

