*{
    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;
}
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{
    width: 450px;
    padding-bottom:20px;
   display:flex;
   justify-content: center;
}
#brain{
    padding:0px;
    height:100px;
    width:100px;
}
#tutorimage{
    width:450px;
    padding-bottom:20px;
}
#preschoolschoolimage{
    width:450px;
    padding-bottom:20px;
}
#summerimage{
    width:450px;
    padding-bottom:20px;
}
div{
    display:flex;
}


section img{
   width:130px;
}
footer{
    background-color:#999;
    height:250px;
    color:#fff;
    font-size:12pt;
    margin-top:45px;
    display:flex;
    justify-content: space-around;
    align-items:center;
    

}

footer a{
    text-decoration:none;
    color:#fff;
}
.collapsible {
    background-color: #999;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 600px;
    border: none;
    display:flex;
    justify-content: center;
    outline: none;
    font-size: 15px;
    
    padding-bottom:20px;
  }
 
  .active, .collapsible:hover {
    background-color: #555;
  }
  
  .content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
    width:600px;
  
  }
  .button {
  display: inline-block;
  border-radius: 4px;
  background-color:#00a6fb;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 12px;
  padding: 20px;
  width: auto;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
  margin-top:20px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}
body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box;}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}
input[type=tel], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}
input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}
input[type=date], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}
input[type=submit] {
  background-color:#999999;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 40px;
}

input[type=submit]:hover {
  background-color: #999999;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}
section{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:30px;
}
#elcemail{
        font-size:12pt;
}
.alert {
    padding: 20px;
    background-color:#00a6fb;
    color: white;
   align-items:center;
   display:block;
}
  
  .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 0px;
    cursor: pointer;
    transition: 0.3s;
}
  
  .closebtn:hover {
    color: #555;
}
.mySlides {display:none;
    max-width: 500px;
    margin:auto;
    height:350px;
    

}
.w3-content{
    width:100%;
    background-color:rgb(236, 236, 236);
    padding:20px;
}
.info{
    display:flex;
    height:430px;

}
#pics{
    float:left;
   
}
#para{
   padding:40px; 
   font-size:25px;
   font-family: 'Antonio', sans-serif;
}
.details{
    display:block;
}
#profilegrid{
    display:grid;
    grid-template-rows: auto;
    grid-template-columns:repeat(3,minmax(0,auto));
    row-gap:120px;
}
footer div{
    display:block;
}



.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 300px;
  margin: auto;
  text-align: center;
  font-family: arial;
  display:block;

}
.center{
    display: block;
    align-items: center;
    padding: 20px;
}
.title {
  color: grey;
  font-size: 18px;
}
#formh{
    padding:20px;
    display: block;
}


@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;
     
    }
    #profilegrid{
        grid-template-columns:repeat(2,minmax(0,auto));
    
    }

        
    
    .serviceh1{
        padding:20px;
        text-align:center;
    }
   
form{
    padding:20px;}

}
   
           

@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;
   }
   #profilegrid{
    grid-template-columns:repeat(1,minmax(0,auto));

}
#pics{
    float:none;
    align-items: center;
}
#para{
    display:none;
}
#section{
    display:flex;
    flex-wrap:wrap;
}
form{
    margin:20px;
}
#formh{
    text-align: center;
}
}