:root{
    --gradient:linear-gradient(90deg, #f1c40f, #f39c12,#f1c40f);
}

*{
    font-family: 'Open Sans', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    border:none; outline: none;
    text-decoration: none;
    /*text-transform: capitalize;*/
    transition: all .2s linear;
}

*::selection{
    background:#f39c12;
    color:#fff;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar{
    width:1.5rem;
}

html::-webkit-scrollbar-track{
    background:#333;
}

html::-webkit-scrollbar-thumb{
    background:linear-gradient(#f1c40f, #f39c12);
}

section{
    min-height: 100vh;
    padding:1rem 7%;
    padding-top:6rem;
}


  navbar:hover .drop-menu{
      visibility: visible;
  }


.heading{
    color:black;
    padding:1rem;
    font-size: 4rem;
    text-align: center;
}

header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top:0; left: 0;
    z-index: 1000;
    padding:1.5rem 7%;
    background:var(--gradient);
    box-shadow: 0 .1rem .3rem rgba(0,0,0,.3);
    }

header .logo{
    color:black;
    font-size: 3.6rem;
    font-style:normal;
    font-weight: bold;
    }

header .navbar ul{
    display: flex;
    align-items: left;
    justify-content: left;
    list-style: none;
}

header .navbar ul li{
    margin:0 1rem;
}

header .navbar ul li a{
    font-size: 2rem;
    color:black;
    font-weight: bold;
}


header .navbar ul li a.active1,
header .navbar ul li a.active2,
header .navbar ul li a.active3,
header .navbar ul li a.active4,
header .navbar ul li a.active5,
header .navbar ul li a:hover{
    color:white;
    font-weight: bold;
}

header #login{
    font-size: 3rem;
    color:#fff;
    cursor: pointer;
}

header #login:hover{
    color:#444;
}

header #menu{
    font-size: 3rem;
    color:#fff;
    cursor: pointer;
    display: none;
}




.home{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    background:url(../images/myhome.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}


.aboutus{
    background:url(../images/myhome.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    }



.home h1{
    font-size: 5rem;
    color:black;
}

.home p{
    font-size: 1.9rem;
    color:black;
    padding:1rem 0;
    width:70rem;
    font-family: 'Times New Roman', Times, serif;
    }

.home .shape{
    position: absolute;
    bottom:-.2rem; left: 0;
    height:15rem;
    width:100%;
    background:url(../images/myhome.jpg);
    block-size: 100rem 15rem;
    filter: drop-shadow(0 -.1rem .1rem rgba(0,0,0,.2));
    animation: animate 10s linear infinite;
}

@keyframes animate{

    0%{
        background-position-x: 0rem;
    }

    100%{
        background-position-x: 100rem;
    }

}



.footer{
    background:#333;
}

.footer .box-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .box-container .box{
    margin:1.5rem;
    text-align: center;
    flex:1 1 25rem;
}

.footer .box-container .box h3{
    font-size: 2.5rem;
    color:#fff;
    padding:1rem 0;
}

.footer .box-container .box p{
    font-size: 1.7rem;
    color:#eee;
    padding:.7rem 0;
}

.footer .box-container .box p i{
    padding-right: .5rem;
    color:#f39c12;
}

.footer .box-container .box a{
    font-size: 1.8rem;
    display: block;
    padding:.5rem 0;
    color:#eee;
}

.footer .box-container .box a:hover{
    text-decoration: underline;
}

.footer .credit{
    padding:2rem 1rem;
    font-size: 1rem;
    color:white;
    background:#111;
    text-align: center;
    font-weight: normal;
    /*padding-bottom: 9rem;*/
}

.footer .credit a{
    color:#f39c12;
}


/* media queries  */

@media (max-width:768px){

    html{
        font-size: 55%;
    }

    header #menu{
        display: block;
        color:black;
    }

    header .navbar{
       position: fixed;
        top:-150%; left:0;
        width:100%;
        background:black;
    }

    header .navbar ul{
        flex-flow: column;
        padding:2rem 0;
    }

    header .navbar ul li{
        margin:1.5rem 0;
        text-align: center;
        width:100%;
    }

    header .navbar ul li a{
        font-size: 2.5rem;
        display: block;
        color: white;
    }

    
    header .navbar ul li a.active1,
    header .navbar ul li a.active2,
    header .navbar ul li a.active3,
    header .navbar ul li a.active4,
    header .navbar ul li a.active5,
    header .navbar ul li a:hover{
        color:#f39c12;
    }

    .fa-times{
        transform: rotate(180deg);
    }

    header .navbar.nav-toggle{
        top:6.4rem;
    }

    .home h1{
        font-size: 4rem;
    }

    .home p{
        width: auto;
    }

    .teacher p{
        width:auto;
    }

    .contact .row .image{
        display: none;
    }

}

@media (max-width:500px){

    html{
        font-size: 60%;
    }

    .contact .row form .box{
        width:100%;
    }

}

@media all and (min-width: 600px) {
    .container3{
        border:100px;
        border-color: blue;
        display:flex;
        }
      
}


.box1 .box h1{
    font-size: 2rem;
}

.button {
    border: none;
    color: white;
    padding-left: 20px;    
    padding-right: 20px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 10px;
}

.button1 {
    background-color: #4CAF50;
    color: white;
    border: 2px solid #4CAF50;
    border-radius: 10px;
}

.button2 {
    background-color: red;
    color: white;
    border: 2px solid red;
    }

    .box1{
        flex:1;
        background-color: white;
        margin:0px;
        padding:10px;
        font-size: 1rem;
        /*border:.1rem solid rgba(0,0,0,.3); */
    }

    .box1 .box {
    padding-top: 5px;
    margin-top: 5px;
    border-style: solid;
    /*border-color: black;*/
    border-width: 1px;
    border-radius: 10px;
    }

    .box1 .box h1{
        cursor: pointer;
    }

       
    .box1 .box p{
    font-size: 1.5rem;  
    }

    .box1 .box .title{
        font-size: 2.5rem;  
        font-weight: bold;
    }

    .box1 .box a{
        text-align: center;
    }

    .box1 .box img{
        height:20rem;
        width: 100%;
        object-fit: cover;
    }

    
    .button {
    border: none;
    color: white;
    padding-left: 20px;    
    padding-right: 20px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    }

.button1 {
    background-color: #4CAF50;
    color: white;
    border: 2px solid #4CAF50;
    }
