* { box-sizing: border-box;
}
body
    {font-family: Bookman, sans-serif;
    background-attachment: fixed; 
    display: block;
    color: #424242;
    margin: 0 auto;
    width: 960px;
    }
header
    {background-color: #FFFFFF; 
    color: #000000;
    font-family: Bookman, sans-serif;
    grid-area: 1 / 2 / 2 / 8;
    position:sticky;
    top:0;
    background: rgba(255,255,255, 0.5);
    }
h1
    {line-height: 240%; 
    background-repeat: no-repeat;
    background-position: left; 
    padding-left: 0.5em; 
    height: 72px;
    margin: 0;
    }
h1 a
    {text-decoration: none;
    color: #000000;
    }
nav
    {font-weight: bold; 
    text-decoration:none;
    color:#000000;
    position: sticky;
    top: 0;
    align-items:center;
    grid-area: 2 / 5 / 3 / 8;
   
    }
nav ul
    {list-style-type: none;
    padding:0px 0px 0px 0px;
    margin: 0px;
    display:flex;
    flex-flow: row;
    flex-flow:nowrap;
    }
ul li
    {width:100%;
    }
nav a
    {color: #000000;
    display:block;
    text-decoration:none;
    text-align: center;
    }

middlebar
    {background-color: #FFFFFF; 
    color: #000000;
    font-family: Bookman, sans-serif;
    position:sticky;
    background: rgba(255,255,255, 0.5);
    grid-area: 4 / 2 / 5 /8;
    text-align: center;
    height: 60px;
    font-size: 45px;
    }
main
    {background-color: #FFFFFF;
    color: #000000;
    text-align: center;
    padding-left: 2em; 
    padding-right: 2em;
    padding-top: 1px;
    padding-bottom: 1px;
    grid-area: 8 / 2 / 9 / 8;
    }
p
    {color: #000000;
    font-family: Bookman, sans-serif;
    font-size: 24px;
    }
section
    {float:left;
    width: 33%;
    padding-right: 1em;       
    }
links
    {text-align: center;
    
    }
h2
    {color: #000000; 
    font-family: Bookman, sans-serif;
    }
dt
    {color: #000000; 
    font-weight: bold;
    }
.dsu
    {color: #BA1C21; 
    font-size: 1.2em;
    }
h3
    {color: #000000;
    }
table, tr, td, th 
    {border: 1px solid #424242;
    }
table
    {width:100%;
    margin: 0 auto;
    border-collapse: collapse;
    }
tr:nth-last-of-type(2n+1)
    {
    background-color: #F3F3F3;
    }
td
    {padding: 5px;
    }
th
    {padding: 5px;
    background-color: #FFFFFF;
    }
form
    {display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    grid-gap: .75rem;
    width: 100%;
    }
input, textarea
    {font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none;
    }
input,textarea:focus
    {outline: none;
    background-color: #f0f0f0;
    }
label
    {padding: 10px;
    text-align: right;
    }
footer
    {font-size: .70em; 
    font-style: italic; 
    text-align: center;
    padding: 1em;
    background-color: #FFFFFF;
    grid-area: 9 / 2 / 10 / 8;
    }
#wrapper
    {display:grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px,1fr)repeat(6,minmax(0,175px))minmax(0px,1fr);
    }
#topwhite
    {background-color: #FFFFFF;
     grid-area: 1 / 1 / 2 / 9; 
    }
#middlewhite
    {background-color: #FFFFFF;
    grid-area: 2 / 1 / 3 / -1;  
    }
#stockindex1
    {background-image: url(images/pexels-startup-stock-photos-7100.jpg);
    background-repeat:no-repeat;
    height: 400px; 
    background-size: cover; 
    background-position:center;
    grid-area: 1 / 1 / 6 / 9;
    }
#stockindex2
    {background-image:url(images/pexels-fauxels-3184291.jpg); 
    background-repeat: no-repeat;
    height: 400px; 
    background-size: cover; 
    background-position: center;
    grid-area: 6 / 2 / 9 / 8;
    }
#image3
    {background-image: url(); 
    background-repeat: no-repeat;
    height: 300px; 
    background-size: cover;
    background-position: center;
    grid-area: 3 / 1 / 4 / 9;
    }
#image4
    {background-image: url(); 
    background-repeat: no-repeat;
    height: 300px; 
    background-size: cover;
    background-position: center;
    grid-area: 3 / 1 / 4 / 9;
    
    }

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

@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-area: 2 / 1 / 3 / 5;
    }
    nav ul{
        flex-flow: column nowrap;
    }
    #{
        grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }
    #{
        grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }
    #{
        grid-area: 2 / 5 / 3 / 8;
        height: auto;
    }
    #{
         grid-area: 2 / 5 / 3 / 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-area: 2 / 1 / 3 / 9;
    }
    #{
        display: none;
    }

    }
    
}
