main{
    padding: 50px 0;
    background-color: #1c20f8d0;
}

.main-course-header{
    text-align: center;
}

.main-course-header h2{
    font-size: 30px;
}

.main-course-img{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.main-course-img img{
    width: 500px;
    border-radius: 10px;
}

.short-intro-sec-of-course{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    flex-direction: column;
}

.short-intro-of-course-box{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    color: white;
    flex-direction: column;
    margin-top: 10px;
}

.short-intro-of-course-box i{
    font-size: 25px;
}

.about-this-course-sec{
    text-align: center;
    margin-top: 30px;
}

.about-this-course-sec p{
   width: 800px;
   margin-right: auto;
   margin-left: auto;
}

.instructor-header{
    margin-top: 30px;
}

.instructor-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.instructor{
    width: 250px;
    border-radius: 10px;
    margin-top: 20px;
}

.instructor img{
    width: 80%;
    border-radius: 50%;
}

.instructor p{
    text-align: center;
    width: 100%;
    font-weight: 599;
}

.instructor p:last-child{
    font-weight: 400;
    font-size: 12px;
}

.enroll-and-syllabus-sec{
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.enroll-and-syllabus-sec a{
    text-decoration: none;
    color: white;
    border: 2px solid white;
    border-radius: 20px;
    padding: 6px 0;
    text-align: center;
    width: 250px;
    margin: 10px;
    transition: all 0.2s linear;
}

.enroll-and-syllabus-sec a:hover{
    color: black;
    background-color: white;
    transform: translateY(-8px);
}

@media only screen and (max-width:815px){
    .about-this-course-sec p{
        width: 100%;
    }
}

@media only screen and (max-width:580px){
    .main-course-img img{
        width: 90%;
    }

    .main-course-header h2{
        font-size: 25px;
    }
}

@media only screen and (max-width:415px){
    .main-course-header h2{
        font-size: 20px;
    }
}