ul, li, p {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
/* Header Styles */
.header {
    background-color: #007bff;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.header-title {
    font-size: 36px;
    margin: 0;
}
#heading {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 40px;
    text-align: center;
    background-color: #000000;
    margin-top: 20px;
    color: #fff;
}
/* Main Content Styles */
.main {
    padding: 50px;
}

/* Style for each lecture item */
.lecture-item {
    border: 10px solid #d3d3d3;
    padding: 50px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    overflow: hidden;

}

.lecture-item:hover {
    transform: scale(1.02);
}

/* Style for lecture titles */
.lecture-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #000000;
}

/* Style for lecture descriptions */
.lecture-description {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
}

/* Your existing CSS */

/* Style for the video player on smaller screens */
.lecture-video {
    width: auto; /* Allow the video to adjust its width */
    max-width: 100%; /* Set a maximum width to fit the container */
    height: auto; /* Allow the video to adjust its height */
    max-height: 360px; /* Set a maximum height for smaller screens */
}


/* Style for a button to view more lectures */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0056b3;
}
/* Style for the video player */
.lecture-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Ensure the entire video is visible while preserving aspect ratio */
    max-height: 100%; /* Set a maximum height of 100% to fit within the container */
}

/* Your existing CSS */

/* Additional styles for smaller screens (e.g., mobile devices) */
@media (max-width: 786px) {
    .main {
        padding: 20px;
    }

    .lecture-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .lecture-item {
        width: 100%;
        padding: 20px;
    }

    .lecture-video {
        width: 100%; /* Set video width to 100% for smaller screens */
        max-width: 100%; /* Ensure video fits within container */
        height: auto;
    }
}

/* Additional styles for larger screens (adjust as needed) */
@media (min-width: 787px) {
    .video-container {
        max-width: 60%; /* Adjust the maximum width for larger screens */
    }

    .lecture-video {
        width: 100%; /* Set video width to 100% for larger screens */
        max-height: 60vh; /* Adjust the maximum height for larger screens */
    }
}
