* {
    box-sizing: border-box;
}

body{ 
    background-color:#FFFFFF;
    color: #666666; font-family: 
    Verdana, Arial, sans-serif;
    background-image: linear-gradient(#eeeeee, #ffffff);
    background-attachment: fixed;
    margin: 0px;
}

#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-row: 1 / 2;
    grid-column: 1 / -1;
}

#greybar{
    background-color: #424242;
    grid-row: 2 / 3;
    grid-column: 1 / -1;
}

header{
    background-color: #BA1C21; 
    color:#FFFFFF; font-family: 
    Georgia, serif;
    grid-row: 1 / 2;
    grid-column: 2 / -2;
}

header h1{
    line-height: 240%;
    background-image: url(images/dsu.jpg);
    background-position: right;
    background-repeat: no-repeat;
    padding-left: 0.5rem;
    height: 72px;
    margin: 0;
}

header a{
    text-decoration: none;
    color:#FFFFFF
}

nav{
    background-color: #424242;
    font-weight: bold;
    position: sticky;
    top:0;
    grid-row: 2 / 3;
    grid-column: 2 / -2;
}

    nav a{
        text-decoration: none;
        text-align: center;
        color:#FFFFFF;
        padding: 1rem 0rem;
        display:block;
    }

    nav a:hover{
        background-color: #BA1C21;
    }

    nav ul{
        list-style: none;
        margin:0px;
        padding: 0px;
        display: flex;
        flex-flow: row nowrap;
    }

    nav ul li{
        width:100%;
    }

h2{
    color: #424242;
    font-family: Georgia, serif;
}

h3{
    color: #BA1C21;
}

dt{
    color: #BA1C21;
    font-weight: bold;
}

main{
    float: right;
    padding-left: 2em;
    padding-right: 2em;
    display: block;
    background-color: #FFFFFF;
    grid-row: 4 / 5;
    grid-column: 2 / -2;
}

#homehero{
    background-image: url(images/homehero.jpg);
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row: 3 / 4;
    grid-column: 1 / -1;
}

#studenthero{
    background-image: url(images/studenthero.jpg);
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row: 3 / 4;
    grid-column: 1 / -1;
}

#facultyhero{
    background-image: url(images/facultyhero.jpg);
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; 
    grid-row: 3 / 4;
    grid-column: 1 / -1;
}

.dsu {
    color: #BA1C21;
    font-size: 1.2em;
}

.clear{
    clear: both;
}

section{
    float:left;
    width:33%;
    padding-right: 1rem;
}

footer{ 
    background-color: #FFFFFF;
    font-size: .70em;
    font-style: italic;
    text-align: center;
    padding: 1em;
    grid-row: 5 / 6;
    grid-column: 2 / -2;
}

@media (max-width:1100px){
    #wrapper{
        display: grid;
        grid-auto-rows: minmax(0px, auto);
        grid-template-columns: minmax(0px,1fr) repeat(6, minmax(0,150px)) minmax(0px,1fr);
    }
}

@media (max-width:900px){
    nav{
        grid-row: 2 / 3;
        grid-column: 1 / 5;
    }

    nav ul{
        flex-flow: column nowrap;
    }

    #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;   
    }

    section{
        float:none;
        width:100%;
        padding-right: 0px;
    }
}

@media (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;   
    }
}
