

header {
    background-color: #003058;
    color: #FFFFFF;
    font-family: Georgia;
    grid-row: 1/2;
    grid-column: 2/8;
}
h3{ color: #003058;
    
}
body {
    background-color: #FFFFFF;
    color: #666666;
    font-family: Arial;
    background-image: linear-gradient(180deg, #eeeeee 30%, #ffffff 100%);
    background-attachment: fixed;
    margin: 0px;
    

}

main{
    padding-left: 2rem;
    padding-right: 2rem;
    grid-row: 4  / span 1;
    grid-column: 2/ -2;
    background-color: #ffffff;

    
}
header h1 {
    line-height: 140%;
    padding: 0.5rem;
    background-image: url("utahtechlogo.svg") ;
    background-repeat: no-repeat;
    background-position: right ;
    padding-left: 1em;
    background-origin: content-box;
    margin: 0;
    grid-row: 1/ span 2;
    grid-column: 2 / -2;
    /* Modify the style rules for the h1 element selector.  */
    /* Configure the utahtechlogo as a background-image that displays on the right (use background-position) and does not repeat. Set its left padding to 1em.  */
    /* Configure a background-origin: content-box; Add a "margin-bottom:0" to remove the space between the nav and header. This is caused by the default margin applied to the h1 tag and we need to remove it. */
}
header a{
    text-decoration: none;
    color: #ffffff;
}
header h1 a{
    text-decoration: none;
}
nav {
    background-color: #424242;
    font-weight: bold;
    position: sticky;
    top: 0;
     grid-row: 2/ span 1 ;
     grid-column: 2/ -2;
    /* padding goes top right bottom left */

}
nav ul{
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;

}
nav ul li{
    width: 100%;
}
header h2 {
    color: #424242;
    font-family: Georgia
    
}
dt {
    color: #003058;
    font-weight: bold;
    
}
.ut {
    color: #BA1C21;
    font-weight: bold;
    
}
footer{
    text-align: center;
    font-style: italic;
    font-size: 0.70rem;
    padding: 1rem;
    grid-row: 5/ span 1;
    grid-column: 2/-2 ;
    
}
#wrapper{
    display: grid;
    grid-auto-rows: minmax(12px, auto); 
    grid-template-columns: minmax(0px, 1fr) repeat(6,minmax(0, 175px)) minmax(0px, 1fr)
    
  
}
#homehero{
    background-image: url("homehero.jpg");
    background-size: cover;
    background-position: center;
    height: 300px;
    grid-row: 3 / span 1; /* 1 to 9 or 1 to -1 */
    grid-column: 1 / -1;
    
}
#studenthero{
    background-image: url("studenthero.jpg");
    background-size: cover;
    background-position: center;
    height: 300px;
    grid-row: 3 / span 1; /* Occupies row 3 and 4*/
    grid-column: 1 / -1; /* 1 to 9 or 1 to -1*/
    
}
#facultyhero{
    background-image: url("facultyhero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 300px;
    grid-row: 3 / span 1; /* Occupies row 3 */
    grid-column: 1 / -1;
    
}
main img {
    float: right;
    padding-left: 2rem;
}

nav a {
    text-decoration: none; 
    color: #FFFFFF;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
    transition: background-color 0.5s ease-out;
}
nav a:hover{
    background-color: #BA1C21;
}
*{ box-sizing: border-box;

}
#bluebar{
    background-color: #003058;
    grid-row: 1/ span 1;
    grid-column: 1 / -1;
}
#greybar{
    background-color: #424242;
    grid-row: 2/ span 1;
    grid-column: 1 / -1;
}

form{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    gap: 0.75rem;
    width: 100%
}
input{
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none
}

input:focus{
    outline: none;
    background-color: #f0f0f0;
}
textarea{
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none
}
label{
    padding: 10px;
    text-align: right;

}
input[type=submit]{
    width: 10rem;
    grid-column: 2/span 1;

}
#alumnihero{
    background-image: url("alumnihero.jpg");
    background-size: cover;
    background-position: center;
    height: 300px;
    grid-row: 3 / span 1; /* Occupies row 3 and 4*/
    grid-column: 1 / -1; /* 1 to 9 or 1 to -1*/

}
table{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #424242;
    margin: 0 auto;
}
td, th{
    padding: 5px;
    border:1px solid #424242;
}
td{
   text-align: center;
}
.text{
    text-align: left;
}
tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
video{
    float: right;
    margin-left: 2em;
}
@media screen and (max-width: 1100px) {
    #wrapper{
        display: grid;
        grid-auto-rows: minmax(12px, auto); 
        grid-template-columns: minmax(0px, 1fr) repeat(6,minmax(0, 150px)) minmax(0px, 1fr)
    }

}
@media 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/ span 1 ;
        grid-column: 5/ 8;
        height: auto;
    }
    #facultyhero{
        grid-row: 2/ span 1 ;
        grid-column: 5/ 8;
        height: auto;
    }
    #alumnihero{
        grid-row: 2/ span 1 ;
        grid-column: 5/ 8;
        height: auto;
    }
    main img{
        float: none;
        width: 100%;
        padding-left: 0px;
    }
    video{
        float: none;
        margin: 0%;
        width: 100%;
        height: auto;
    }
}
@media 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;
    }
    #facultyhero{
        display: none;
    }
    #alumnihero{
        display: none;
    }

}