*{
    box-sizing:border-box;
}
body{
    color: #999999;
    background-attachment:fixed;
    

}
header{
    grid-row:1/2;
    grid-column:2/8;
    background-image: url(logoimage.png);
    background-position:left;
    background-repeat:no-repeat;
    padding:40px;
    padding-left:5px;
}
header img{
    display:none;
}
#links{
    background-color:#00a6fb;
    grid-row:2/3;
    grid-column:1/9;
}
#wrapper{
    display:grid;
	grid-auto-rows:minmax(0,auto);
	grid-template-columns:minmax(0px,1fr) repeat(6,minmax(0,175px)) minmax(0px,1fr);
}
nav{
   font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    background-color:#00a6fb;
    position:sticky;
    top:0;
    grid-area:2/2/3/8;
}
nav a{
    text-decoration:none;
    color:#000;
    padding: 1rem 0rem;
    display:block;
    text-align:center;
    
}
nav a:hover{
    background-color:#999;
    color:#fff;
}
nav ul{
    margin:0 0 0 0;
    padding:0 0 0 0;
    list-style-type:none;
    display:flex;
    flex-flow:nowrap;
    flex-flow:row;
    
}
nav ul li{
    width:100%;
}


h1,h2 a{
    text-decoration:none;
}
h1{
    color:#00a6fb;
    margin-bottom:0;
}
h2{
    color:#999;
    margin-bottom: 10px;
    margin-top:0;
    
}
main{
    grid-area:4/2/5/8;
    margin-top:150px
}
main h2{
    color:#00a6fb;
    font-family:'Montserrat', sans-serif;
}
body{
    margin:0px;
    background-color:#fff;
    background-attachment:fixed;
}
#topimage{
    height:300px;
    background-image:url(topimage.png);
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
    grid-area:3/1/4/9;
}
#preschoolimage{
    height:250px;
    background-size:cover;
    background-image:url(preschoolimage.png);
    background-repeat:no-repeat;
    background-position: center;
    grid-column:2/8;
}
#brain{
    padding:0px;
    height:100px;
    width:100px;
}
.contactphrase{
    color:#000;

}
div{
    display:flex;

}
section{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:30px;

}
section img{
   width:130px;
}
footer{
    text-align:center;
    background-color:#00a6fb;
    height:350px;
    color:#fff;
    

}

footer a{
    text-decoration:none;
    color:#fff;
}
@media only screen and (max-width:1040px){
    #wrapper{
        grid-template-columns:minmax(0px,1fr) repeat(6,minmax(0,150px)) minmax(0px,1fr);
    }
}    
@media only screen and (max-width:900px){
    header{
        background-image:url(900logo.png);
        background-position:7px;
        background-repeat:no-repeat;
     
    }
    
           
}
@media only screen and (max-width:700px){
    nav{
        position:static;
    }
	nav ul{
        flex-direction:column;
   }
   header{
       background-image:none;
       text-align:center;
   }
   header img{
       display:block;
      margin:auto;
   }
   
}




