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

#wrapper {
    display: grid;
    grid-auto-rows: minmax(0, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr); 
}

#bluebar {
    background-color: #003058;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 9;
}

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


head{
    background-color:#003058;
    color:#FFFFFF;
    font-family: "Georgia", "sans-seri";
    text-align: center;
}

header{
    background-color:#003058;
    color:#FFFFFF;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 8;

}

h1{
    line-height: 140%;
    padding: .5rem;
    height: 72px;
    background-image: url('utahtechlogo.svg');
    background-repeat: no-repeat;
    background-position: right;
    background-origin: content-box;
    padding-left: 1em;
    margin: 0;
}

header a {
    text-decoration: none;
    color: white;
}


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

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

nav ul li {
    width: 100%;
}

h2{
    color:#424242;
    font-family: "Georgia", "sans-seri";
}

h3{
    color:#003058;
}

main{
    padding-left: 2rem;
    padding-right: 2rem;
    grid-row-start: 4;
    grid-row-end: 5;
    grid-column-start: 2;
    grid-column-end: 8;
    background: #ffffff;
} 

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

footer{
    font-size:.70rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    grid-row-start: 5;
    grid-row-end: 6;
    grid-column-start: 2;
    grid-column-end: 8;
}

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

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

main img { 
    float: right;
    padding-left: 2rem; 
}

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

#shophero {
    height: 300px;
    background-image: url("shophero.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 9;
}


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; }
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: 0;
}

textarea{ 
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: 0;
}

table {
    width: 100%;
}

table, tr, td, th {
    margin: 0 auto;
    border: 1px solid #424242;
    border-collapse: collapse;
}

td, th {
    padding: 5px;
    border: 1px solid #424242;
}

td {
    text-align: center;
}

.text {
    text-align: left;
}

tr:nth-of-type(even) {
    background-color: #F3F3F3;
}

input:focus {
    background-color: #f0f0f0;
    outline: none;
}

textarea:focus {
    background-color: #f0f0f0;
    outline: none;
}

label {
    padding: 10px;
    text-align: right;
}

video {
    float:right;
    margin-left: 2em;
}

#mySubmit {
    width: 10rem;
    grid-column: 2/3;
}

#alumnihero {
    height: 300px;
    background-image: url("alumnihero.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 9;
}
@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-start: 2;
        grid-row-end: 3;
        grid-column-start: 1;
        grid-column-end: 5;
    }

    video {
        float: none;
        margin: 0;
        width: 100%;
        height: auto;
    }

    nav ul{
        flex-flow: column nowrap;
    }

    #homehero {
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 5;
        grid-column-end: 8;
        height: auto;
    }

    #studenthero {
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 5;
        grid-column-end: 8;
        height: auto;
    }

    #facultyhero {
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 5;
        grid-column-end: 8;
        height: auto;
    }

    #alumnihero {
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 5;
        grid-column-end: 8;
        height: auto;
    }

    #shophero {
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 5;
        grid-column-end: 8;
        height: auto;
    }

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

@media only screen and (max-width: 600px) {
    h1{
        background-image: none;
        text-align: center;
    }

    nav {
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 1;
        grid-column-end: 9;
    }

    #homehero { display: none; }

    #studenthero { display: none; }

    #facultyhero { display: none; }

    #alumnihero {display: none; }

    #shophero {display: none; }
}

