*{
    box-sizing: border-box;
}


.ut{

    color: #ba1c21;
    font-weight: bold;



}

#wrapper{

    display:grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr)



}

body{

    
    color: #666666;
    font-family: Verdana, Arial, sans-serif;

    background: linear-gradient(to bottom, #eeeeee,#ffffff);
    background-attachment: fixed;
    margin: 0px;



}

header h1{
    line-height: 140%;
    padding: .5em;
    padding-left: 1rem;
    background-image: url('utahtechlogo.png');
    background-origin: content-box;
    margin: 0;
   

}

header h1 a{

    color: #FFFFFF;
    text-decoration: none;
    

}

header{
    background-color: #003058;
    color: #FFFFFF;
    font-family: Georgia,serif;
    grid-column: 2/-2;;
    grid-row: 1/2;

}

nav {
    font-weight: bold;
    background-color: #424242;
    position: sticky;
    top: 0;
    grid-row: 2/3;
    grid-column: 2/-2;
    
}
nav a{
    color: #FFFFFF;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
    text-decoration: none;
}

h2{
    color: #424242;
    font-family: Georgia,serif;

}

dt{
    color: #003058;
    font-weight: bold;

}

footer{
    padding: 1rem;
    grid-row: 5/6;
    grid-column: 2/-2;
}

h3{
    color: #003058;
}

main{
    padding-left: 2rem;
    padding-right: 2rem;
    grid-row: 4/5;
    grid-column: 2/-2;
    background-color: #FFFFFF;
}

#homehero{
    height: 300px; /* Set the height */
    background-image: url('homehero.jpg'); /* Replace 'homehero.jpg' with your image file */
    background-size: cover; /* Fill the space without repeating */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; 
    grid-row: 3/4;
    grid-column: 2/-2;

}

#facultyhero {
    height: 300px; /* Set the height */
    background-image: url('facultyhero.jpg'); /* Replace 'facultyhero.jpg' with your image file */
    background-size: cover; /* Fill the space without repeating */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent image repetition */
    grid-row: 3/4;
    grid-column: 2/-2;
}

#studenthero {
    height: 300px; /* Set the height */
    background-image: url('studenthero.jpg'); /* Replace 'facultyhero.jpg' with your image file */
    background-size: cover; /* Fill the space without repeating */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent image repetition */
    grid-row: 3/4;
    grid-column: 2/-2;
}

main img{
    float: right;
}

nav ul{
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
}

nav ul li{

    width: 100%;

}


nav a:hover{
    background-color: #ba1c21;
}

#bluebar{
    background-color: #003058;
    grid-row: 1/2;
    grid-column: 1/-1;



}

#greybar{

    background-color: #424242;
    grid-row: 2/3;
    grid-column: 1/-1;


}






@media screen and (max-width: 1100px){

    #wrapper{
        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;
        position: static;
    }

    nav ul{
        flex-flow: column nowrap;
    }

    #homehero,#studenthero,#facultyhero{
        grid-row: 2/3;
        grid-column: 5/8;
        height: auto;
    }

    section{
        float: none;
        width: 100%;
        padding-right: 0px;
    }



}

@media screen and (max-width: 600px){

    header h1{
        background-image: none;
        text-align: center;

    }
    nav{
        grid-row: 2/3;
        grid-column: 1/-1;
    }

    #homehero,#studenthero,#facultyhero{
        display: none;
    }

}