/* Default styles for larger screens */
#home {
    text-align: center;
    color: blueviolet;
    width: 80%;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}

#Card1 {
    background-color: floralwhite;
    border: 1px dotted green;
    border-radius: 15px;
    margin: 0px;
}

#CardInfo {
    width: 90%;
    margin: auto;
}

/* Style for course cards */
.course-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card-info {
    width: 75%;
    padding: 15px;
}

/* Styles for elements with inline styles */
#Card1 .poster {
    width: 100%;
}

#Card1 #courseTitle {
    min-height: 60px;
}

#Card1 #courseTitle h4 {
    color: brown;
}

#Card1 #courseBriefInfo {
    text-align: justify;
    overflow: auto;
    min-height: 80px;
    max-height: 80px;
    font-size: 13.5px;
}

#Card1 #courseDetails {
    text-align: justify;
    color: black;
    margin-top: 3px;
}


@media (max-width: 768px) {
    /* Responsive styles for smaller screens */
    #home {
        width: 100%;
    }

    .course-card {
        margin-bottom: 5px;
    }

    .course-img {
        width: 100%;
    }

    .course-card-info {
        width: 100%;
    }
}
