:root{
    --green:#00E77F;
    --white:#fff;
    --light-white:#aaa;
    --black:#3d3d3d;
    --light-bg:#4b4b4b;
}

*{
    font-family: 'Times New Roman', Times, serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    transition: .2s linear;
    text-transform: capitalize;
}

*::selection{
    background-color: var(--white);
    color: var(--black);

}
html{
    font-size: 62.5%;
    overflow-x:hidden;
    scroll-behavior: smooth;
    scroll-padding-top:8rem;
}

::-webkit-scrollbar{
    height: .5rem;
    width: 1rem;

}

::-webkit-scrollbar-track{
    background-color: transparent;
}

::-webkit-scrollbar-thumb{
    background-color: var(--green);
    border-radius: 5rem;
}

body{
    background-color: var(--black);
}
section{
    max-width: 1200px;
    margin:0 auto;
    padding: 2rem;
}
.heading{
    color: transparent;
    background: var(--black);
    --webkit-background-clip:text;
    background-clip:text;
    padding:0 1rem;
    padding-top: 2.5rem;
    text-align: center;
    font-size: 4rem;
    text-transform: uppercase;
}
.btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5rem;
    background-color: var(--light-white);
    cursor: pointer;
    color: var(--white);
    font-size: 1.7rem;
    padding: 1rem 3rem;


}
.btn:hover{
    background-color: var(--white);
    color: var(--black);
}
.heading{
    margin-bottom:2.5rem;
    text-align: center;
    font-size: 4rem;
    color: var(--green);
}
.heading span{
    color: var(--green);
}

.header{
    position: fixed;
    top: 0; left: 0; right:0;
    z-index: 1000;
    background-color: var(--light-bg);
}
.header .flex{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header .flex .logo{
    font-size: 2.5rem;
    color: var(--white);
}
.header .flex .navbar a{
    margin-left: 2rem;
    color: wheat;
    font-size: 2rem;
}
.header .flex .navbar a:hover{
    color: var(--green);

}
#menu-btn{
    cursor: pointer;
    color: var(--white);
    font-size: 2.5rem;
    display: none;

}
.home{
    margin-top: 6rem;
}

.home .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap-reverse;
    gap: 1.5rem;
}
.home .row .content{
    flex:1 1 40rem;
    text-align: center;
}
.home .row .content p{
    font-size: 2rem;
    color: #fff;
}
.home .row .image{
    flex:1 1 40rem;
}
.home .row .image img{
    width: 100%;
}
.home .row .content h3{
    margin-bottom:1rem;
    font-size: 5rem;
    color: var(--white);
}
.home .row .content h3 span{
    color: var(--green);
}
.count .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(27rem, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
}

.count .box-container .box{
    background-color: var(--light-bg);
    border-radius: .5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;

}
.count .box-container .box i{
    font-size: 5rem;
    color: var(--green);
}

.count .box-container .box .content h3{
    font-size: 2rem;
    color: var(--white);
    margin-bottom: .5rem;
}

.count .box-container .box .content p{
    font-size: 1.6rem;
    color: var(--light-white);
}
.about .row{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.about .row .image{
    flex: 1 1 40rem;
}
.about .row .image img{
    width: 100%;
}
.about .row .content{
    text-align: center;
    flex: 1 1 40rem;
}
.about .row .content h3{
    font-size:3rem;
    color: var(--white);
}
.about .row .content p{
    padding: 1rem 0;
    line-height: 2;
    font-size: 1.6rem;
    color:var(--light-white);
}
.course{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.course .box{
    flex: 1 1 30rem;
    border-radius: .5rem;
    border: 1rem solid rgba(0,0,0,.1);
    padding: 1rem;
    position: relative;
}
.course .box img{
    height: 20rem;
    width: 100%;
}
.course .box .amount{
    position: absolute;
    top: 1rem; left: 1rem;
    font-size: 2rem;
    padding: .5rem 1rem;
    background-color:var(--green);
    color: #fff;
    border-radius: .5rem;
}
.course .box .stars i{
    color: var(--white);
    font-size: 1.5rem;
    padding: 1rem 0;
}
.course .box h3{
    color: var(--green);
    font-size: 2.5rem;
}
.course .box p{
    color: white;
    font-size: 1.5rem;
    padding: .5rem 0;
    line-height: 2rem;
}
.course .icons{
    display: flex;
    justify-content: space-between;
    border-top: .1rem solid rgba(0,0,0,.1);
    margin-top: 1rem;
    padding: .5rem;
    padding-top: .1rem;
}
.course .icons p{
    color: white;
    font-size: 1.3rem;

}
.course .icons p i{
    padding-right: .4rem;
    color: pink;
}
.teacher{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.teacher .box{
    flex: 1 1 23rem;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    padding: 1.5rem;
    text-align: center;
}
.teacher .box img{
    height: 10rem;
    width: 10rem;
    margin: .5rem 0;
    border-radius: 50%;
    object-fit: cover;
}
.teacher .box h3{
    color: var(--green);
    font-size: 2.5rem;


}
.teacher .box p{
    font-size: 1.5rem;
    color: #fff;
    padding: .5rem 0;
    text-align: center;
}
.teacher .box span{
    color: pink;
    font-size: 2rem

}
.teacher .box h3{
    color: white;
    font-size: 2rem;
    padding: 1rem 0;
}
.teacher .box .share a{
    height: 4rem;
    width: 4rem;
    line-height: 4rem;
    font-size: 2rem;
    background:green;
    border-radius: .5rem;
    margin:.3rem;
    color: #fff;

}
.teacher .box .share a:hover{
    background: violet;

}
.price{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.price .box{
    flex:1 1 30rem;
    text-align: center;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;

}
.price .box h3{
    font-size: 2.5rem;
    color:white;
    padding: 1.5rem 0;

}
.price .box .amount{
    font-size: 4.5rem;
    color: white;
    padding: 1rem 0;
    background:var(--green);
    font-weight: bold;
}
.price .box .amount span{
    font-size: 2rem;

}
.price .box ul{
    border-bottom: 1rem solid rgba(0,0,0,.1);
    padding-bottom: 1rem 0;
    list-style:none;
}
.price .box ul li{
    padding: .7rem 0;
    font-size: 1.7rem;
    color: #fff;
}
.price .box .btn{
    margin:2rem 0;
    color: black;
}
.review{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;

}
.review .box{
    border-radius: .5rem;
    border: .1rem solid rgba(0,0,0,.1);
    padding: 1rem;
    flex: 1 1 30rem;
}
.review .box .student{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.review .box .student-info{
    display: flex;
    align-items: center;
}
.review .box .student i{
    font-size: 6rem;
    color: var(--green);
    opacity: .5;
}
.review .box .student-info img{
    border-radius: 70%;
    object-fit: cover;
    height: 7rem;
    width: 7rem;
    margin-left: 1.5rem;

}

.review .box .student-info h3{
    font-size: 2rem;
    color: white;
}
.review .box .student-info span{
    font-size: 1.5rem;
    color:var(--green);
}
.review .box .text{
    padding: 1rem 0;
    font-size: 1.6rem;
    color: white;
}
.contact{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.contact .image{
    flex: 1 1 35rem;

}
.contact .image img{
    width: 100%;
}
.contact form{
    flex: 1 1 50rem;
    border:.1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    padding: 2rem;
}
.contact form .inputBox input,
.contact form .box,
.contact form textarea{
    width: 100%;
    padding: 1rem;
    margin: .7rem 0;
    font-size: 1.7rem;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    text-transform: none;
    color: #333;
}
.contact form .inputBox input:focus,
.contact form .box:focus,
.contact form textarea:focus{
    border-color:pink;
}
.contact form .inputBox input{
    width: 49%;
}
.contact form textarea{
    height: 20rem;
    resize: none;
}
.contact form .inputBox input{
    width: 100%;
}
section{
    padding: 2rem 7%;

}
.footer .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer .box-container .box{
    flex: 1 1 20rem;


}
.footer .box-container .box h3{
    font-size: 2.5rem;
    color: var(--green);
    padding: .7rem 0;
} 
.footer .box-container .box p{
    font-size: 1.5rem;
    color: white;
    padding: .7rem 0;
}
.footer .box-container .box a{
    display: block;
    font-size: 1.5rem;
    color: white;
    padding: .7rem 0;
}
.footer .box-container .box a:hover{
    color: pink;
}
.footer .box-container .box p i{
    padding-right: .5rem;
    color: pink;
}
.footer .credit{
    font-size: 2rem;
    margin-top: 1rem;
    padding: 1rem;
    padding-top: 2rem;
    text-align: center;
    border-top: .1rem solid rgba(0,0,0,.1);
    color: white;

}
.footer .credit span{
    color: var(--green);
}














@media (max-width:400px){
    html{
        font-size: 55%;
    }
    .home .row .content h3{
        font-size: 8rem;
    }
}

@media (max-width:768px){
    #menu-btn{
        display:inline-block;
    
    }

    #menu-btn.fa-times{
        transform: rotate(180deg);
    }
    .header .flex .navbar{
        position: absolute;
        top: 99%; left: 0; right: 0;
        border-top: .1rem solid var(--light-white);
        border-bottom: .1rem solid var(--light-white);
        background-color: var(--light-bg);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);


    }
    .header .flex .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .header .flex .navbar a{
        display: block;
        margin: 2rem;

    }
    .home .row .content h3{
        font-size: 6rem;
    }

}

@media (max-width:450px){
    html{
        font-size: 50%;
    }
    .home .row .content h3{
        font-size: 5rem;

    }
}

