html, body {
    margin: 0;
    padding: 0;       
}

* {
    box-sizing: border-box;
}

ul{
    list-style: none;
}
/*insert logo left,  hamburger right*/
header{    
    padding:8px 8px;
    background-color: white;    
    display: flex;
    justify-content: space-between;
    
    /*position:fixed;
    /*color:#1d1d1d/*#50A0FB; /*#FFDC22;yellow*/   
}
header img{
    width: 30%;
    height: auto;
    max-width: 180px;
}

.top{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    height: 85px;
    width: 100%;
    background-color:#1d1d1d;/*#50A0FB;/*#a8a3a3;*/
    color:white;
    padding:3px 15px; 
    align-content: center; 
    
}
.order{
    order:0;
}/* make Scheduling last so easier to touch on small screen*/
.lessons-img{
    width:6rem;
    height:auto;
    align-content: center;
    padding-top: 25px;
}

body{
    font-family: 'Roboto', arial, sans-serif;
    color: #1d1d1d;/*palegoldenrod;/*#ffd700;#FFDC22 yellow from picker -logo*/
    /*background-color: #1d1d1d; /* is Purdue background*/
    opacity: 0.9;
    text-align: left;
    background-color: white;
    font-size: 20px;
}
a{
    text-decoration: none;
    color:#50A0FB; /*rgb(37, 76, 102); /*#FFDC22; or yellow rgb(255, 145, 0);*/
    cursor: pointer;
    opacity: 0.9;
         
}
nav a{
    color:white;    
}
a:hover {
    opacity: 1;
}
.profile-pic{ 
    border: 2px solid #1d1d1d;/* lightskyblue;*/
    border-radius: 10%;
    width: 320px;
}

section{
    /*background-color: #333;*/
    padding: 125px 20px;
}
section p {
    max-width: 800px;
    text-align: left;
    margin-bottom: 15px;
    padding: 0 2px;
    line-height: 1.75;
}
section h3{
    color: #1d1d1d;/*lightblue;*/
    font: 1.75rem 'Roboto', arial, sans-serif;   
}
.appointment-ul{
    list-style: disc;
    font-size: 21px;
}
section h2{
    color:#1d1d1d; /*lightskyblue;*/
    font-style:'Roboto', arial, sans-serif;
    font-size: 32px;
}
.name{
    text-align: left;
    padding-left: 7rem;
    
}

div {
    display: flex;
    flex-direction: row;
    padding: 5px 1px;
}

div a {
    font-size: 25px;
    color:#50A0FB;/*royalblue; for app store icons*/
}
.nav-toggle-bar{
    color: #1d1d1d;
    font-size: 48px;
}

h4{
    font-size: 1.6rem;
}
.best {
    font-style: italic;
    display:flex;
    justify-content: space-around;
    
}
.lessons{
    color:#1d1d1d;/*#50A0FB; blue inside best of lesson*/
    padding-left: 2px;
    width:1.25rem;
    height:1.25rem;
    font-size: 30px;   
}

.btn{
    display: inline-block;
    padding: 9px .5em 5px;
    background-color: goldenrod;
    border: 0 10.1em solid rgba(22, 20, 20, .9);
    color:#1d1d1d;
    font-size: 34px;
    border-radius: 1.5em;
    text-decoration: none;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 300;
    text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
    align-items: center;
}
.btn:hover{
    border-color: rgb(255,255,255,1);
}
/*////form and label*/
form {
    margin: 1rem;
    max-width: 25rem;
    border-style: solid;
    border-width: 3px;
    position:relative;
    padding: 1rem 2rem;
}
       
    
    .myInput, textarea{
        display: block;
        font-size: 1rem;
        padding: .75rem;
        background-color: hsl(0, 15%, 86%);
        border: 1px solid #bba;
        margin-top: .2rem;
        width:90%;
    }
    textarea{
        min-height: 2rem;
    }
    section p{
        display: none;
    }
    section div {
        color: #777;
        padding: .1rem 0 .1rem .2rem;
        margin-top:2rem;
    }
    section h3{
        font:larger;
        text-decoration: underline;         
    }
   
   
    
    /*Additional details to fill out each input correctly (hidden by default)*/
   
    section span {        
        display: none;
   }
    section label.error span {
        display: block;
        font-size: .8rem;
        color: #c20000;
        padding-left: .5rem;
    }
    
    section .error span {
        display: block;
        font-size: .8rem;
        color: #c20000;
        padding-left: .5rem;
    }
    
    /* error instructions */
    section p {display:none;}
    section.error p {
        display:block;
        border:solid 1px #F00;
        background-color: rgba(255, 0, 0, 0.35);
        padding: .5rem .3rem;
    }
    .submitBtn{
        border: none;
        color:white;
        background-color:rgb(3, 78, 100);
        font-size: 1.5rem;
        font-weight: normal;
        padding: .4rem 1rem;
        border-radius:  1rem;
        width: 100%;
        -webkit-appearance: none;
        -moz-appearance: none;
    }   
    
    input  {
        border: none;
        background-color: #e4d8d8;
        color: black;
        font-size: 1.5rem;
        font-weight: normal;
        padding: .4rem 1rem;
        border-radius: 1rem;
        width: 85%;
    }
   
    
    
   
    
    /*///end label*/
    
    .facilityPic{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-evenly;
        
    }
    .facilityPic img{
        margin-top: 8px;
        width:90%;
        height:auto;
        border-radius: .5rem;
    }
    .store-links i{
        font-size: 55px;
    }
    .contactus {
        display:flex;
        flex-direction: column;
        justify-content: space-between;
    }

 /* grid container*/

.instructors{
        grid-area: instructors;
    }
    .form-left{
        grid-area: sidebar;
    }
    .apps-left{
        grid-area: scheduling;
    }
    .facility-right{
        grid-area: facility;
    }
    .test-right{
        grid-area: test;
    }
    .bio{
        grid-area: bio;
    }
    .wrapper{
        display: grid;
        gap: 20px;
        grid-template-areas: 
            "instructors"
            "sidebar"
            "scheduling"
            "facility"
            "test";
    }
        
 /*may need to include contact us inside wrapper to eliminate spacing issue on small screen*/   
/*tablet screen*/

@media screen and (min-width: 501px){
   
    section{
        padding: 20px 20px;
    }
    .top {
        display: flex;
        flex-direction: row;
        height: 65px;
    }
    .order{order:-1}/* make scheduling first in nav under logo*/
    .nav-toggle-bar{
    display: none;
    }
   
    .facilityPic {
        display:flex;
        flex-wrap: wrap;
        flex: 70%;        
        flex-direction: row;   
    }
      
    .facilityPic img{
        margin-top: 8px;
        width:16rem;
        height: auto;
    }
    div .horizontal  {
        width: 22rem;
        height: 11rem;
    }
    .lessons-img{
        width:8rem;
        height:auto;
        padding-top: 20px;
    }
    .contactus {
        display:flex;
        flex-direction: row;

    }
} 
/* end media tablet*/
/* large*/
@media screen and (min-width: 801px){
   .about-class{
       margin-top: 25px;
   }
    section{
        padding: 25px 30px;
    }
    
    
    
    .lessons li{
        color:#1d1d1d;/*#50A0FB; blue inside best of lesson*/
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-left: 10px;
        height:auto;
        font-size: 45px;   
    }
    form {
        margin: 5px;
        max-width: 75rem;
        border-style: solid;
        border-width: 3px;
        padding: .2rem .5rem;
    }
    
    iframe {
        width: 100% ;
    }
    
    .wrapper{
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-areas:
        "instructors bio"
        "sidebar facility"
        "scheduling scheduling"
        "test test"; 
    }
    
    .bio p {
        display:contents;
        font-size: 1.2rem; 
    }
    .row img {
        display:flex;
        flex-wrap:wrap;
        max-width: 45%;
        max-height: 90%;
    }

    div .horizontal  {
        width: 22rem;
        max-height: 14rem;
    }
}
/*end large*/
    
   

/*phone*/
@media screen and  (max-width: 500px){
    
    
    section{
        padding: 25px 25px;
    }
    
    .store-links {
        flex-wrap:wrap;
    }
    
    .profile-pic{ 
       width: 300px;
    }
    .facilityPic {
        display: flex;
        flex-direction: column;
    }
    
    .nav{
        flex-direction: column;
        display:none;
    }
    .expanded{
        display:flex;
        flex-direction: column;
               
    } 


}/*end of small media*/

/*footer elements */
footer{
    background-color: #1d1d1d;
    padding: 60px 0;
    display:flex;
    flex-direction: column;
     
    
}
footer ul{
    margin-bottom: 25px;
    display:flex; 
    justify-content: space-around;
   
    
}
footer a{
    font-size: 44px;
    text-align:center;
}


footer p {
    text-transform: uppercase;
    font-size: 18px;
    color: rgba(255,255,255,.6);
    margin-bottom: 10px;
    text-align: center;
    
    
}

