:root {
    --bs-primary: #303188;
    --bs-blue: #0056D2;
    --bs-yellow: #FFCE20;
    --bs-orange: #EE5D50;
    --bs-success: #28A745;
    --bs-dark: #0E0F29;
    --bs-black: #0D160B;
    --bs-white: #FFFFFF;
    --bs-light: #F2F2F2;
    --bs-darklight: #EEEEEE;
} 
#details{
    width: 100%;
    background-color: var(--bs-dark);
    height: 100%;
}
#details .course-dark-wrapper{
    width: 100%;
    color: #ffffff;
    padding: 40px 0;
}
#details .course-dark-wrapper .course_name h1{
    font-size: 27px;
    font-weight: 400;
}

#details .course-dark-wrapper .tags{
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    gap: 20px;
}
#details .course-dark-wrapper .tags .tag{
    border-radius: 3px;
    color: white;
    font-size: 14px;
    text-transform: capitalize;
    padding: 2px 10px;
}
#details .course-dark-wrapper .tags .bestseller{
    background-color: orange;
}
#details .course-dark-wrapper .tags .features{
    background-color: var(--bs-success);
}
#details .course-dark-wrapper .tags .languege{
    background-color: var(--bs-blue);
}
.coursecontent{
    width: 100%;
    display: grid;
    grid-template-columns: 68% 30%;
    min-height: 100vh;
    gap: 20px;
}
.coursecontent .pricing{
    width: 100%;
    position: relative;
}
.coursecontent .pricing .enroldiv{
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    position: absolute;
    z-index: 100;
    top: -100px;
}
.coursecontent .pricing .enroldiv .image{
    width: 100%;
}
.coursecontent .pricing .enroldiv .image img{
    width: 100%;
    height: 210px;
    object-fit: cover;

}
.coursecontent .pricing .enroldiv .enroll-content{
    width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.coursecontent .pricing .enroldiv .enroll-content .price{
    font-size: 25px;
    font-weight: 600;
}
.coursecontent .pricing .enroldiv .enroll-content .price .oldprice{
    font-size: 14px;
    font-weight: 400;
    text-decoration: line-through;
}
.coursecontent .pricing .enroldiv .enroll-content .enrollnow{
    width: 100%;
}
.coursecontent .pricing .enroldiv .enroll-content .enrollnow a{
    width: 100%;
    display: inline-block;
    background-color: var(--bs-primary);
    color: white;
    padding: 10px;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
}
.coursecontent .contents {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 30px;
}
.coursecontent .contents .topbar{
    width: 100%;
    padding: 8px 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    overflow-x: auto;
    white-space: nowrap;
}
.coursecontent .contents .topbar .topbar-item{
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--bs-dark);
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    border: 1px solid #d8d8d8;
}
.coursecontent .contents .topbar .topbar-item.active, .coursecontent .contents .topbar .topbar-item:hover{
    background-color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    color: white;
}
.coursecontent .contents .syllabus{
    width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.coursecontent .contents .syllabus .syllabus-item{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.coursecontent .contents .syllabus .syllabus-item .header h3{
    width: 100%;
    font-size: 23px;
    font-weight: 500;
}
.coursecontent .contents .syllabus .syllabus-item .chapters{
    width: 100%;
    border-left: 5px solid var(--bs-primary);
    padding-left: 15px;
}
.coursecontent .contents .syllabus .syllabus-item .chapters .chapter-header{
    width: 100%;
    background-color: #f9f9f9;
    padding: 5px 3px;
}
.coursecontent .contents .syllabus .syllabus-item .units{
    width: 100%;
    padding-left: 30px;
}
.coursecontent .contents .syllabus .syllabus-item .topics{
    width: 100%;
    padding-left: 30px;
}

.coursecontent .contents .teachers{
    width: 100%;
    display: grid;
    gap: 10px;
    grid-template-columns: 24% 24% 24% 24%;
}
.coursecontent .contents .teachers .teacher{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}
.coursecontent .contents .teachers .teacher .image{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: auto;

}
.coursecontent .contents .teachers .teacher .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.coursecontent .contents .teachers .teacher .content{
    text-align: center;
}
.coursecontent .contents .teachers .teacher .content h3{
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}
.videocontent{
    width: 100%;
    display: grid;
    grid-template-columns: 32% 32% 32%;
    gap: 10px;
}
.videocontent .item{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f9f9f9;
}
.videocontent .item .description{
    padding: 10px;
}
.videocontent .item .description h3{
    font-size: 14px;
    font-weight: 500;
}

/* Styles for devices with a maximum width of 1200px */
@media (max-width: 1200px) {
    
}

/* Styles for devices with a maximum width of 992px (tablet) */
@media (max-width: 992px) {
    .coursecontent{
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }
    .videocontent{
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
    .coursecontent .contents .topbar {
        width: 100%;
        padding: 0;
    }
    .coursecontent .contents .topbar .topbar-item{
        margin: 0;
    }
    
}

/* Styles for devices with a maximum width of 768px (mobile) */
@media (max-width: 768px) {
    
}