*  { box-sizing: border-box;}

body { 
    background-image: linear-gradient(to bottom, #eeeeee, #ffffff);
    background-attachment: fixed;
    color: #666666;
    font-family: verdana;
    margin: 0px;  
    background-color: #ffffff;
}
header {
    background-color: #003058;
    color: #ffffff;
    font-family: Georgia, serif;
    grid-column: 2 / 8;
    grid-row: 1 / 2;
}
header h1
{ 
    line-height: 140%;
    padding: .5rem;
    
}

header a {
    color: #ffffff;
    text-decoration: none;
 }
 
nav {
        font-weight: bold;
        background-color: #424242;
        position: sticky;
        top: 0%;
        grid-row:2/3;
        grid-column: 2/-2;
    }
nav ul {
        margin: 0px;
        padding: 0px;
        display: flex;
        flex-flow: nowrap;
        list-style-type: none;
    }
    
nav ul li {
        width: 100%;
    }
    
nav a {
        text-decoration: none;
        color: #ffffff;
        padding: 1rem 0rem;
        display: block;
        text-align: center;
        transition: background-color ease-out 0.5s;
        
    }

nav a:hover {
    background-color: #BA1C21;
     }
     
    
h1 {

    color:#FFFFFF;
    background-image: url('utahtechlogo.svg');
    background-repeat: no-repeat;
    background-origin: content-box;
    background-position: right;
    margin-bottom: 0px;
    padding-left: 1em;

}

h2 {
    color: #424242;
    font-family: georgia, sans-serif;
}
dt {
    color: #003058;
    font-weight: bold;
}
.ut {
    color: #BA1C21;
    font-weight: bold;
    
}
footer {
    font-size: .70rem;
    padding: 1rem;
    font-style: italic;
    text-align: center;
    grid-column: 2 / 8;
    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);
}

h3 {
    color: #003058;
}
main {
    padding-left: 2rem;
    padding-right: 2rem;
    grid-column: 2 / 8;
    grid-row: 4 / 5;
}

main img {
padding-left: 2rem;   
float: right; 
}

#homehero {
    height: 300px;
    background-image: url(homehero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / 9;
    grid-row: 3 / 4;

}
#facultyhero {
    height: 300px;
    background-image: url(facultyhero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / 9;
    grid-row: 3 / 4;

}
#studenthero {
    height: 300px;
    background-image: url(studenthero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / 9;
    grid-row: 3 / 4;

}
 form {
    display: grid;
    grid-template-rows: 0, auto;
    grid-template-columns: 200px 1fr;
    gap: .75rem;
    width: 100%;
 }

input, textarea {
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border-style: none;
}

input:focus, textarea:focus {
    outline: none;
    background-color: #f0f0f0;
}


label {
    padding: 10px;
    text-align: right;
}

#mySubmit {
    width: 10rem;
    grid-column: 2 / 3;

}

#alumnihero {
    height: 300px;
    background-image: url(alumnihero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / 9;
    grid-row: 3 / 4;
}
    
#bluebar {
    grid-row: 1 / 2;
    grid-column: 1/ 9;
    background-color: #003058;
}

#greybar {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
    background-color: #424242;
}

table {
    margin: 0 auto;
    border: solid 1px #424242;
    width: 100%;
    border-collapse: collapse;
}

td,th {
    padding: 5px;
    border: 1px solid #424242;

}
td {
    text-align: center;
}

.text {
    text-align: left;
}

tr:nth-of-type(2n+1) {
    background-color: #f3f3f3;
}

 video {
    float: right;
    margin-left: 2em;

}

#shophero {
    height: 300px;
    background-image: url(shophero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / 9;
    grid-row: 3 / 4;
}


@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;
        position: static;
    }
    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;
    }

    #alumnihero {
        grid-row: 2 / 3;
        grid-column: 5 / 8;
        height: auto;
    }
    
    .section {
        float: none;
        width: 100%;
        padding-right: 0px;
    
    }
    
    video {
        float: none;
        margin: 0;
        width: 100%;
        height: auto;
    }

    #shophero {
        grid-row: 2 / 3;
        grid-column: 5 / 8;
        height: auto;
    }
}

@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;
    }
    
    #facultyhero {
        display: none;
    }

    #alumnihero {
        display: none;
    }

    #shophero {
        display: none;
    }
}
