@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins',sans-serif;
}

/*Global Tags */

h1{
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(35, 35, 85);
}

span{
    font-size: .9rem;
    color: #757373;
}

h6 {
    font-size: 1.1rem;
    color: rgb(24, 24, 49);
}

/*Navigation*/

nav {
    position: fixed;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1vw 8vw;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 99;
}

nav img {
    width: 150px;
    cursor: pointer;
}

nav h2{
    color: rgb(163, 127, 7);
}

nav .navigation ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav .navigation ul li{
    list-style: none;
    margin-left: 30px;
}

nav .navigation ul li a{
    text-decoration: none;
    color: rgb(21, 21, 100);
    font-size: 16px;
    font-weight: 500;
    transition: .3s ease;
}

nav .navigation ul li a:hover{
    color: rgb(163, 127, 7);
}

.news-container{
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.4);
}

.news-container .title{
   position: absolute;
   background-color: #df0202;
   height: 6.5%;
   display: flex;
   align-items: center;
   padding: 0 24px;
   color: white;
   font-weight: bold;
   z-index: 1;
}

.news-container ul{
    display: flex;
    list-style: none;
    margin: 0;
    animation: scroll 25s infinite linear;
 }

 .news-container ul li{
    white-space: nowrap;
    padding: 10px 24px;
    position: relative;
 }

 @keyframes scroll {
    from{
        transform: translateX(100%);
    }

    to{
        transform: translateX(-1990px);
    }
 }

/*Home*/

#home {
    background-image: linear-gradient(rgba(9, 5, 54, .03), rgba(5,4,46,0.7)), 
    url(images/Home.png);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 10px;
}

#home h2{
    margin-top: 150px;
    color: white;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

#home p{
    margin-top: 50px;
    width: 50%;
    color: white;
    font-size: 1rem;
    line-height: 25px;
}


/* course*/

#course {
    padding: 4vw 4vw 4vw 4vw;
    text-align: center;
}

#course .course-box{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 1rem;
    margin-top: 50px;
}

#course .courses{
    text-align: start;
    background: #F9F9FF;
    height: 100%;
    position: relative;
}

#course .courses img {
    width: 100%;
    height: 60%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

#course .courses .details {
   padding: 15px 15px 0 15px;
}

#course .courses .details i{
    color: #FDC93B;
    font-size: .9rem;
 }

 #course .courses .cost {
    background-color: rgb(74, 74, 136);
    color: #fff;
    line-height: 70px;
    width: 100px;
    height: 70px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    bottom: 100px;
 }

/*Course Inner*/
#course-inner{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8vw;
}

#course-inner h3{
    padding: 35px 0 25px 0;
    color: #29303B;
}

#course-inner hr {
    height: 1px;
    background-color: rgba(236, 226, 229, 0.5);
    margin-top: 40px;
}

#course-inner .overview{
    width: 70%;
}

#course-inner .overview .course-img{
    width: 80%;
    height: 60vh;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 80px;
    margin-bottom: 20px;
}

#course-inner .overview .course-head{
    display: flex;
    align-content: flex-start;
    justify-content: space-between;
}   

#course-inner .overview .course-head .course-name{
    width: 70%;
}   

#course-inner .overview .course-head .course-name h2{
    color: #29303B;
} 
   
#course-inner .overview .course-head .course-name .star{
    margin: 6px;

}        

#course-inner .overview .course-head .course-name .star i{
    color: #cc9808;
    font-size: 0.9rem;
} 

#course-inner .overview .course-head .course-name p{
   font-size: 15px;
}    

#course-inner .overview .course-head span{
   padding: 16px 22px;
   border-radius: 5px;
   color: #5838fc;
   font-size: 24px;
   font-weight: 700;
   background-color: rgba(88, 56, 252, 0.1); 
 } 

#course-inner .learn p{
    font-size: 15px;
    padding-bottom: 15px;
}

#course-inner .learn p i{
    color: #654ce4;
    font-weight: 700;
    margin-right: 20px;
}

#course-inner .tutor{
    display: flex; 
}

#course-inner .tutor img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
}

#course-inner .tutor h5{
    font-size: 15px;
}

#course-inner .enroll{
    margin-top: 60px;
    width: 300px;
    padding: 0 30px 30px 30px;
    border-radius: 11px;
    box-shadow: 0px 20px 40px 0 rgb(11 2 55 / 8%);
}

#course-inner .enroll h3{
    padding-bottom: 10px;
}

#course-inner .enroll p{
    font-size: 15px;
    color: #64626e;
    margin: 15px 0;
}

#course-inner .enroll i{
    color: #654ce4;
    font-weight: 500;
    margin-right: 18px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
}

#course-inner .enroll .enroll-btn{
    padding: 25px 0 20px 0;
    margin: auto;
    text-align: center;
}

#course-inner .enroll .enroll-btn a {
    text-decoration: none;
    font-size: .8rem;
    padding: 13px 45px;
    border-radius: 5px;
    font-weight: 600;
    color: #fff;
    background: rgb(50, 50, 136);
}

/*footer*/

footer{
    padding: 2vw;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

footer .footer-col{
    padding-bottom: 10px;
}

footer h3{
    color: white;
    font-weight: 600;
    padding-bottom: 20px;
}

footer li{
    list-style: none;
    color: lightgray;
    padding: 10px 0;
    font-size: 15px;
    cursor: pointer;
    transition: 3s ease;
}

footer li:hover{
    color: white;
}  

footer p {
    color: whitesmoke;
}

footer .subscribe {
    margin-top: 20px;
}

footer input {
    width: 220px;
    padding: 12px 15px;
    background: whitesmoke;
    border: none;
    outline: none;
    color: white;
}

footer .subscribe a {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 12px 15px;
    background-color: white;
    font-weight: 600;
}

footer .subscribe a.blue{
    color: white;
    background-color: darkblue;
    transition: .3s ease;
}

footer a.blue:hover{
    background-color: white;
    color: darkblue;
}

footer .copyright {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    flex-wrap: wrap;
}

footer .copyright p {

    font-size: 10px;
}

footer .copyright .pro-links {
    margin-top: 0px;
}

footer .copyright .pro-links i{
   background-color: #5f7185;
   color: #fff;
}

footer .copyright .pro-links i:hover{
   background: blue;
    color: white;
}



@media (max-width: 769px) {
    nav {
    padding: 15px 20px;
    }
    nav img {
        width: 130px;
    }
    #menu-btn{
    display: initial;
    } 
    #menu-close{
        display: initial;
        font-size: 1.6rem;
        color: #fff;
        padding: 30px 0 20px 20px;
    }
    nav .navigation ul {
    position: absolute;
    top: 0;
    right: -220px; 
    width: 220px;
    background-color: rgba(17, 20, 104, 0.45);   
    backdrop-filter: blur(4.5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: 0.3s ease;
    }

    nav .navigation ul.active {
    right: 0;    
    }
    nav .navigation ul li{
        padding: 20px 0 20px 40px;
        margin-left: 0;
    } 
    
    nav .navigation ul li a{
        color: #fff;
    } 
    
    #home {
        padding-top: 0px;
    }
    #home p {
        width: 90%; 
    }
    #features {
        padding: 8vw 4vw 0 4vw;
    }
    #course {
        padding: 8vw 4vw 0 4vw;
    }
    #registration {
        margin-top: 8vw;
        padding: 6vw 4vw 6vw 4vw;   
    }
    #registration .reminder .time {
        display: flex;
        flex-wrap: wrap;
        margin-top: 40px;
    }
    #experts {
        padding: 8vw 8vw 4vw 8vw;
        text-align: center;
    }

    /*course inner*/
    #course-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 8vw 4vw;
    }

    #course-inner .overview {
        width: 100%;
    }

    #course-inner .overview .course-img {
        width: 100%;
        height: 100%;
    }

    #course-inner .enroll {
        margin-top: 25px;
    }

     /*contact*/
     #contact {
        padding: 8vw 4vw;
    }

    #contact .getin {
        width: 250px;
    }

}

@media (max-width: 360px) {
    #registration {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #registration .reminder .time {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #course-inner .overview .course-head .course-name {
        width: 50%;
    }

    #course-inner .overview .course-head .course-name h2 {
        font-size: 22px;
    }

    #course-inner .overview .course-head span {
       font-size: 22px;
    }

    #course-inner .enroll {
        width: 100%;
    }
    /*contact*/
    #contact {
        padding: 8vw 4vw;
        flex-direction: column;
        align-content: flex-start;
        justify-content: flex-start;
    }
}    