* {
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(to bottom, #eeeeee, #ffffff);
    color: #666666;

    font-family: verdana, arial, sans-serif;
    background-attachment: fixed;
    margin: 0px;
}

header {
    background-color: #003058;
    color: #FFFFFF;
    font-family: Georgia, serif;
    grid-column-start: 2;
    grid-column-end: -2;
    grid-row-start: 1;
    grid-row-end: 2;

}

header a {
    text-decoration: none;
    color: #FFFFFF;
}

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;
}

nav {
    font-weight: bold;
    background-color: #424242;
    position: sticky;
    top: 0;
    grid-column-start: 2;
    grid-column-end: -2;
    grid-row-start: 2;
    grid-row-end: 3;

}

nav a {
    text-decoration: none;
    color: #ffffff;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
    -webkit-transition: background-color 0.5s linear;
    -ms-transition: background-color 0.5s linear;
    transition: background-color 0.5s linear;
}

nav a:hover {
    background-color: #ba1c21;
}

nav ul {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
}

nav ul li {
    width: 100%;
}

main {
    padding-left: 2rem;
    padding-right: 2rem;
    grid-column-start: 2;
    grid-column-end: -2;
    grid-row-start: 4;
    grid-row-end: 5;
    background-color: #ffffff;
}

main img {
    float: right;
    padding-left: 2rem;
}
video{
    float: right;
    margin-left: 2em;
}


#wrapper {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);

}

#bluebar {
    background-color: #003058;
    grid-column-start: 1;
    grid-column-end: -1;
    grid-row-start: 1;
    grid-row-end: 2;
}

#greybar {
    background-color: #424242;
    grid-column-start: 1;
    grid-column-end: -1;
    grid-row-start: 2;
    grid-row-end: 3;
}

#homehero {
    background-image: url("homehero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    grid-column-start: 1;
    grid-column-end: -1;
    grid-row-start: 3;
    grid-row-end: 4;
}

#studenthero {
    background-image: url("studenthero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    grid-column-start: 1;
    grid-column-end: -1;
    grid-row-start: 3;
    grid-row-end: 4;
}

#facultyhero {
    background-image: url("facultyhero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    grid-column-start: 1;
    grid-column-end: -1;
    grid-row-start: 3;
    grid-row-end: 4;
}

#alumnihero {
    background-image: url("alumnihero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    grid-column-start: 1;
    grid-column-end: -1;
    grid-row-start: 3;
    grid-row-end: 4;
}



form {
    display: grid;
    grid-auto-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;
}

input :focus {
    outline: none;
    background-color: #f0f0f0;
}

textarea :focus {
    outline: none;
    background-color: #f0f0f0;
}

label{
    padding: 10px;
    text-align: right;
}

#mySubmit{
    width: 10rem;
    grid-column-start: 2;
    grid-column-end: 3;
}


h2 {
    color: #424242;
    font-family: Georgia, serif;
}

h3 {
    color: #003058;
}

dt {
    color: #003057;
    font-weight: bold;
}

.ut {
    color: #ba1c21;
    font-weight: bold;
}

table{
    margin: 0 auto;
    border-color: #424242;
    border-width: 1px;
    border-style: solid;
    width: 100%;
    border-collapse: collapse;
}

th{
    padding: 5px;
    border-color: #424242;
    border-width: 1px ;
    border-style: solid;
}

td{
    padding: 5px;
    border-color: #424242;
    border-width: 1px ;
    text-align: center;
    border-style: solid;
}
.text{
    text-align: left;
}
tr:nth-of-type(even){
    background-color: #f3f3f3;
}

footer {
    font-size: .70rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    grid-column-start: 2;
    grid-column-end: -2;
    grid-row-start: 5;
    grid-row-end: 6;
}


@media only screen and (max-width: 1100px) {
    #wrapper {
        display: grid;
        grid-auto-rows: auto;
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 150px)) minmax(0px, 1fr);
    }
}

@media only screen and (max-width: 900px) {
    nav {
        font-weight: bold;
        background-color: #424242;
        position: sticky;
        top: 0;
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 2;
        grid-row-end: 3;

    }

    nav ul {
        margin: 0px;
        padding: 0px;
        display: flex;
        flex-flow: column nowrap;
        list-style-type: none;
    }
    video{
        float: none;
        margin: 0;
        width: 100%;
        height: auto;
    }

    #homehero {
        background-image: url("homehero.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 300px;
        grid-column-start: 5;
        grid-column-end: 8;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    #studenthero {
        background-image: url("studenthero.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 300px;
        grid-column-start: 5;
        grid-column-end: 8;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    #facultyhero {
        background-image: url("facultyhero.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 300px;
        grid-column-start: 5;
        grid-column-end: 8;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    #alumnihero {
        background-image: url("alumnihero.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 300px;
        grid-column-start: 5;
        grid-column-end: 8;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    section {
        float: none;
        width: 100%;
        padding-right: 0px;
    }
}

@media only screen and (max-width: 600px) {
    header h1 {
        background-image: none;
        text-align: center;
    }

    nav {
        grid-column-start: 1;
        grid-column-end: -1;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    #homehero {
        display: none;
    }

    #studenthero {
        display: none;
    }

    #facultyhero {
        display: none;
    }
    
    #alumnihero {
        display: none;
    }
}