body {
    background: linear-gradient(to bottom, #eeeeee, #ffffff);
    background-attachment: fixed;
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    margin: 0px;
}

header {
    background-color: #003058;
    color: #FFFFFF;
    font-family: Georgia, 'Times New Roman', Times, serif;
    grid-area: 1 / 2 / 2 / 8;
}

main {
    padding: 0rem 2rem;
    grid-area: 4 / 2 / 5 / 8;
    background-color: #ffffff;
}

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

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

header a {
    text-decoration: none;
    color: #ffffff;
}

nav {
    font-weight: bold;
    background-color: #424242;
    position: sticky;
    top: 0;
    grid-area: 2 / 2 / 3 / 8;
}

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

nav a {
    color: #ffffff;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
}

nav a:hover {
    background-color: #BA1C21;
}

nav li {
    width: 100%;
}

h2 {
    color: #424242;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

h3 {
    color: #003058;
}

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

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

footer {
    font-size: .70rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    grid-area: 5 / 2 / 6 / 8;
}

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

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

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

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

#alumnihero {
    height: 300px;
    background-image: url("alumnihero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-area: 3 / 1 / 4 / 9;
}

nav > a {
    text-decoration: none;
}

#bluebar {
    background-color: #003058;
    grid-area: 1 / 1 / 2 / 9;
}

#greybar {
    background-color: #424242;
    grid-area: 2 / 1 / 3 / 9;
}

@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 {
        position: static;
        grid-area: 2 / 1 / 3 / 5;
    }

    nav ul {
        flex-flow: column nowrap;
    }

    #homehero {
        grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }

    #studenthero {
        grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }

    #facultyhero {
        grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }

    #alumnihero {
        grid-area: 2 / 5 / 3 / 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-area: 2 / 1 / 3 / 9;
    }

    #homehero {
        display: none;
    }

    #studenthero {
        display: none;
    }
    
    #facultyhero {
        display: none;
    }

    #alumnihero {
        display: none;
    }
}

form {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    gap: .75rem;
    width: 100%;
}

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

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

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

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