/* Adjusting Video Size */
.video-container {
    position: relative;
    width: 100%; /* Use the maximum width */
    overflow: hidden;
}

.video-container::before {
    display: block;
    content: "";
    padding-top: 56.25%; /* Aspect ratio of 16:9 */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-slider-section {
    margin-top: 2rem; /* Adds some space between the abstract and the video slider */
}

.video-slider-title {
    margin-bottom: 1rem; /* Adds some space between the title and the video slider */
}



/* Adjusting Button Size and Removing Text */
#prevVideo, #nextVideo {
    background-color: #d3d3d3; /* Grey background */
    color: #fff; /* White text */
    border: none;
    padding: 5px; /* Reduced padding */
    font-size: 16px; /* Adjust if needed */
    border-radius: 50%; /* Circular buttons */
    width: 30px; /* Smaller width */
    height: 30px; /* Smaller height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

#prevVideo:hover, #nextVideo:hover {
    background-color: #a9a9a9; /* Darker grey on hover */
}

.video-slider {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjust space between elements */
    max-width: 80%; /* Adjust video and button container width */
    margin: auto; /* Center the slider */
}
