* {
    box-sizing: border-box;

}

.clear {
    clear:both;
}

body{
    background-color: #ffffff;
    color: #666666;
    font-family: verdana, arial, sans-serif;
    background-image: linear-gradient(#eeeeee, #ffffff);
    background-attachment: fixed;
    margin: 0px;
    

}

#studenthero{
    background-image: url("dixie4images/studenthero.jpg");
    height:300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    grid-row: 3/4;
    grid-column: 1/9;
    
}

#falcultyhero{
    background-image: url("dixie4images/facultyhero.jpg");
    height:300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    grid-row: 3/4;
    grid-column: 1/9;

}
#homehero{
    background-image: url("dixie4images/homehero.jpg");
    height:300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    grid-row: 3/4;
    grid-column: 1/9;

}

header{
    background-color: #BA1C21;
    color: #FFFFFF;
    font-family: georgia, serif;
    grid-row: 1/2;
    grid-column: 2/8;
}

header h1{
    line-height: 240%;
    background-image: url("dixie4images/dsu.jpg");
    background-repeat: no-repeat;
    background-position: right;
    padding-left: 0.5rem;
    height: 72px;
    margin: 0;

}

h2{
    color: #424242;
    font-family: georgia, sans-serif;

}

dt{
    color: #BA1C21;
    font-weight: bold;

}

.dsu{
    color: #BA1C21;
    font-size: 1.2em;

}

footer{
    font-size: small;
    font-style: italic;
    text-align: center;
    padding: 1em;
    background-color: #ffffff;
    grid-row: 5/6;
    grid-column: 2/8;

}

#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/9;

}

#greybar{
    background-color: #424242;
    grid-row: 2/3;
    grid-column: 1/9;
}

h3 {
    color: #BA1C21;

}

main {
    padding: 1px 2em;
    background-color: #ffffff;
    grid-row: 4/5;
    grid-column: 2/8;

}

nav{
    background-color: #424242;
    font-weight: bold;
    position: sticky;
    top: 0;
    grid-row: 2/3;
    grid-column: 2/8;

}

nav a{
    text-decoration: none;
    color: #ffffff;
    padding: 1rem 0rem;
    display: block;
    text-align: center;

}

nav a:hover{
    background-color: #BA1C21;
}

nav ul{
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

nav ul li{
    width: 100%;
}

section {
    float: left;
    width: 33%;
    padding-right: 1rem;

}

header a {
    text-decoration: none;
    color: #ffffff;

}

table {
    margin: 0 auto;
    border: 1px solid #424242;
    width: 100%;
    border-collapse: collapse;


}

td, th{
    padding: 5px;
    border: 1px solid #424242;


}

tr:nth-of-type(even){
    background-color: #f3f3f3;
}

.text{
    text-align: left;
}

th{
    text-align: center;

}





@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;
    }

    #homehero{
        grid-row: 2/3;
        grid-column: 5/8;
        height: auto;

    }

    #studenthero{
        grid-row: 2/3;
        grid-column: 5/8;
        height: auto;

    }

    #falcultyhero{
        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/9;
    }

    #homehero{
        display: none;

    }

    #studenthero{
        display: none;

    }

    #falcultyhero{
        display: none;

    }

}






/*
Tuesday the 1st 20222 notes:
study for midterm next class
<colspan><rowspan>
merges cells
border-collapse: collapse;
collapses the border between the table cells and border
of the table itself

*/