@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&family=Playpen+Sans:wght@100..800&family=Playwrite+IN:wght@100..400&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    transition: all .2s ease-out;
    text-decoration: none;
    font-family: "Playpen Sans", sans-serif;
    outline: none;
    border: none;
}
::selection {
    color: #fff; 
    background: red;
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: "Playpen Sans", sans-serif;
}

/*header*/  
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: url(/images/header-bg.png) no-repeat bottom / cover;
    z-index: 10000;
    padding: 1.5rem 7%;
    display: flex;
    padding-bottom: 2.5rem;
    align-items: center;
    justify-content: space-between;
}
header .logo{
    font-size: 1.8rem;
    color: #333;
    padding-right: .5rem;
    color: red;
}
header .navbar a{
    color: #333;
    font-size: 1.5rem;
    margin-left: 2rem;
}
header .navbar a:hover{
    color: red;
}
#menu-bars{
    font-size: 2rem;
    border: .1rem solid #333;
    color: #333;
    padding: .5rem .1rem;
    border-radius: .5rem;
    cursor: pointer;
    display: none;
}

/*home*/ 
section{
    min-height: 100vh;
    padding: 0 7%;
    padding-top: 11rem; 
    padding-bottom: 9rem;
}
.background{
    background: url(../images/background.png);
    background-size: cover;
    background-position: center;
}
.home{
    display: flex;
    align-items: center;
}
.home .content h1{
    font-size: 3.5rem;
    color: red;
}
.home .content h3{
    font-size: 2rem;
}
.home .content p{
    font-size: 1.3rem;
    padding: 1rem 0;
}
.btn:hover{
    background-color: #333;
}

.home .image img{
    width: 30vw;
    position: relative;
    top: -9rem;
    left: 3rem;
}
.btn{
    display: inline-block;
    margin-top: .7rem;
    padding: .7rem 3rem;
    border-radius: 5rem;
    background: red;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
}

/*features*/ 
.features{
    position: relative;
    display: flex;
}
.features .stick{
    padding: 0 2rem;
}
.features .box-container .box{
    display: flex;
    align-items: center;
    padding: 1rem 0;
}
.features .box-container .box img{
    height: 6rem;
    width: 6rem;
    margin: 2rem;
}
.features .box-container .box .info h3{
    font-size: 1.7rem;
}
.features .box-container .box .info p{
    font-size: 1.1rem;
}
.features .box-container .title{
    font-size: 2rem;
}
.features .box-container:first-child .box{
    flex-flow: row-reverse;
}
.features .box-container:first-child {
    text-align: left;
}
.up-down::before, .up-down::after{
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 10rem;
    width: 100%;
    background-size: cover;
}
.up-down::before{
    background: url(../images/img-top.png) no-repeat;
    top: -6rem;
}
.up-down::after{
    background: url(../images/img-down.png) no-repeat;
    bottom: -6rem;
}

/*about*/ 
.about{
    display: flex;
    align-items: center;
    justify-content: center;
}
.about .image img{
    width: 45vw;
}
.about .content h3{
    font-size: 4rem;
    color: red;
}
.about .content p{
    font-size: 1.2rem;
    padding: 1rem 0;
}

/*service*/ 
.heading{
    text-align: center;
    color: red;
    padding: 1rem;
    font-size: 3.5rem;
}
.services{
    position: relative;
}
.services .box-container{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.services .box-container .box{
    overflow: hidden;
    height: 23rem;
    flex: 1 1 30rem;
    margin: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    position: relative;
    cursor: pointer;
}
.services .box-container .box img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.services .box-container .box .info{
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .6);
    text-align: center;
    position: absolute;
    top: -100%;
    left: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.services .box-container .box .info h3{
    font-size: 2.2rem;
    color: #fff;
    transform: translateY(5rem);
    opacity: 0;
}
.services .box-container .box:hover .info{
    top: 0;
}
.services .box-container .box:hover .info h3{
    transform: translateY(0rem);
    opacity: 1;
    transition-delay: .2s;
}

/* teachers */
.teacher .box-container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.teacher .box-container .box{
    flex: 1 1 27rem;
    margin: 1rem;
    background: url(../images/card-bg1.png) no-repeat center / cover;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .3);
    border: .1rem solid rgba(0, 0, 0, .3);
    border-radius: 1rem;
    text-align: center;
    padding: 2rem 3rem;
}
.teacher .box-container .box img{
    height: 12rem;
    width: 12rem;
    border-radius: 50%;
    padding: 1rem;
    object-fit: cover;
}
.teacher .box-container .box h3{
    font-size: 2.2rem;
}
.teacher .box-container .box span{
    font-size: 1.8rem;
    font-weight: 600;
    color: red;
}
.teacher .box-container .box .share{
    padding-top: 1rem 0;
}
.teacher .box-container .box .share a{
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: 50%;
    border: .1rem solid #333;
    color: #333;
    font-size: 2rem;
    margin: .2rem;
}
.teacher .box-container .box .share a:hover{
    background: red;
    color: #fff;
    border-color: red;
}
.teacher .box-container .box p{
    font-size: 1.2rem;
    text-align: left;
}

/* price */
.pricing{
    position: relative;
}
.pricing .box-container{
    display:flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.pricing .box-container .box{
    flex: 1 1 35rem;
    margin: 1rem;
    padding: 4rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    border:.1rem solid rgba(0, 0, 0, .3);
    text-align: center;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    overflow: hidden;
}
.pricing .box-container .box h3{
    font-size: 3rem;
}
.pricing .box-container .box .price{
    font-size: 3rem;
    color: red;
}
.pricing .box-container .box .price span{
    font-size: 2.2rem;
}
.pricing .box-container .box p{
    font-size: 1.2rem;
    padding: 1rem 0;
}
.pricing .box-container .box .choice{
    position: absolute;
    top: 0;
    right: -5rem;
    font-size: 1.5rem;
    background: red;
    color: #fff;
    padding: .6rem 5.5rem;
    transform: rotate(45deg);
}

/* contact */
.contact{
    display: flex;
    align-items: center;
}
.contact .image img{
    width: 25vw;
}
.contact .row{
    display: flex;
    align-items: flex-end;
}
.contact .row .contact-info{
    padding: 2rem;
}
.contact .row .contact-form{
    padding: 2rem;
}
.contact .row .btm{
    cursor: pointer;
}
.contact .row .contact-info .box{
    padding:1rem 0;
}
.contact .row .contact-info .box .title{
    padding: 1rem 0;
    font-size: 2rem;
}
.contact .row .contact-info .box p{
    padding: .5rem 0;
    font-size: 1.2rem;
}
.contact .row .contact-info .box p i{
    padding-right: .5rem;
    color: red;
}
.contact .row .contact-info .box a{
    height: 3.5rem;
    width: 3.5rem;
    line-height: 3.5rem;
    border-radius: 50%;
    border: .1rem solid #333;
    color: #333;
    font-size: 2rem;
    margin: .2rem;
}
.contact .row .contact-info .box a:hover{
    background: red;
    border-color: red;
    color: #fff;
}
.contact .row .contact-info .box form input[type="email"]{
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    text-transform: none;
    border-radius: 5rem;
    border: .1rem solid rgba(0, 0, 0, .3);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}
.contact .row .contact-form input[type="email"]{
    font-size: 1rem;
}
.contact .row .contact-form input[type="text"]{
    font-size: 1rem;
}
.contact .row .contact-form input[type="number"]{
    font-size: 1rem;
}.contact .row .contact-form textarea{
    font-size: 1rem;
}
.contact .row .contact-form h3{
    font-size: 3rem;
    padding-bottom: 1rem;
}
.contact .row .contact-form .box{
    width: 100%;
    border-radius: 3rem;
    padding: 1rem 1.5rem;
    font-weight: 1.5rem;
    margin: 1rem 0;
    border: .1rem solid rgba(0, 0, 0, .3);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    text-transform: none;
}
.contact .row .contact-form .message{
    resize: none;
    height: 15rem;
    border-radius: 2rem;
}

/* footer */
.footer{
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem;
    font-size: 1.5rem;
}
.footer span{
    color: red;
}
.footer::before{
    content: '';
    position: absolute;
    top: -8rem;
    left: 50%;
    transform: translateX(-50%);
    background: url(images/img-top.png) no-repeat;
    background-size: cover;
    height: 8rem;
    width: 100%;
}






















@media (max-width:1200px){
    html{
        font-size: 65%;
    }
    header{
        padding: 1.5rem 3%;
        padding-bottom: 3rem; 
    }
    section{
        padding: 0 3%;
        padding-top: 11rem;
        padding-bottom: 9rem;
    }
    .home .image img{
        display: none;
    }
    .home .content{
        text-align: left;
    }
     .home .content h1{
       font-size: 3.5rem;
    }
    .home .content h3{
       font-size: 2.5rem;
    }
    .home .content p{
       font-size: 1.7rem;
    }
    .about .image img{
        display: none;
    }
    .about .content p{
        font-size: 1.7rem;
    }
    .contact .image img{
        display: none;
    }
}
@media (max-width:768px){
    html{
        font-size: 60%;
    }
    header .logo{
        font-size: 2.5rem;
    }
    #menu-bars{
        display: block;
    }
    header .navbar{
        position: absolute;
        top: 78%;
        left: 0;
        right: 0;
        height: calc(100vh - 70%);
        border-top: .2rem solid #000;
        background: url(/images/card-bg1.png) no-repeat center / cover;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    header .navbar.nav-toggle{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    header .navbar a{
        font-size: 2.5rem;
        margin: 2rem 0;
        display: block;
        text-align: center;
    }
    .features{
        flex-flow: column;
    }
    .features .stick{
        display: none;
    }
    .contact .image img{
        display: none;
    }
    .contact .row{
        flex-flow: column;
        align-items: flex-start;
    }
}
@media (max-width:450px){
    html{
        font-size: 55%;
    }
    .features{
        flex-flow: column;
    }
    .features .box-container,.features .box-container:first-child{
        text-align: left;
       flex-flow: column;
    }
    .features .box-container .box .info h3{
    font-size: 1.7rem;
    }
    .features .box-container .box .info p{
    font-size: 1.5rem;
    }
    .features .box-container .title{
    font-size: 2rem;
    } 
    .features .box-container .box{
    display: flex;
    align-items: center;
    padding: 1rem 0;
    }
    .teacher .box-container .box p{
    font-size: 1.5rem;
    text-align: left;
    }
    .pricing .box-container .box p{
    font-size: 1.5rem;
    text-align: left;
    }
    .contact .row .contact-info .box p{
    padding: .5rem 0;
    font-size: 1.8rem;
    }
}