body {
    font-family: sans-serif;
    background-color: #f8f9fa; /* Light gray background */
    color: #333; /* Dark gray text */
    padding-top: 20px;
}
.video-link {
    display: block;
    margin-bottom: 10px;
    color: #007bff; /* Bootstrap primary blue */
    text-decoration: none;
}
.video-link:hover {
    text-decoration: underline;
}

.video-detail .row {
    margin-bottom: 15px;
}
h1, h2, h3, h4, h5, h6 {
    color: #0056b3; /* Darker blue for headings */
}

/* Video.js player styling */
.video-js {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
}

.vjs-tech {
    object-fit: contain;
}

/* Ensure the video container maintains proper dimensions */
.video-container {
    width: 100%;
    margin-bottom: 15px;
}

/* Fix poster positioning and sizing */
.vjs-poster {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    max-height: 100% !important;
}

/* Ensure proper dimensions for video.js */
.video-js.vjs-16-9 {
    padding-top: 56.25%;
}

.vjs-poster {
    background-size: contain; /* Ensure the background image covers the poster area */
    background-position: center; /* Center the background image */
}

body {
    background-color: #ffffee; /* Light gray background */
    color: #333; /* Dark gray text */
    padding-top: 20px;
    font-size: 1em;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
a {
    color: #669966; /* Bootstrap primary blue */
    text-decoration: none;
}

h1 {color: #000066;}

.sidepanel {
    background-color: #ddffdd; /* Light gray background */
    padding: 1em;
    border-radius: 10px;
    font-size: 0.75em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jumbotron-header {
    background-image: url('header.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 20px; /* Adjust padding as needed */
    text-align: center;
    color: white;
    margin-bottom: 30px; /* Space below the jumbotron */
    position: relative; /* Needed for absolute positioning of text if required, though not strictly necessary for simple overlay */
}

.jumbotron-header h1 {
    color: white; /* Ensure heading is white */
    font-family: 'Georgia', serif; /* Example interesting font, can be changed */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for readability */
    margin: 0; /* Remove default margin */
}

.sidepanel2 {
    background-color: #ddffdd; /* Light gray background */
    padding: 1em;
    border-radius: 10px;
    font-size: 0.75em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.aspect-ratio-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, stretching and clipping */
}

/* Speed control buttons styling */
.speed-controls {
    margin: 10px 0;
    clear: both;
}

.speed-btn {
    font-size: 0.85rem;
    padding: 3px 8px;
    margin-right: 3px;
    margin-bottom: 5px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
}

.speed-btn.active {
    font-weight: bold;
    background-color: #669966;
    color: white;
}

/* Pitch control buttons styling */
.pitch-controls {
    margin: 10px 0;
    clear: both;
}

.pitch-btn {
    font-size: 0.85rem;
    padding: 3px 8px;
    margin-right: 3px;
    margin-bottom: 5px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
}

.pitch-btn.active {
    font-weight: bold;
    background-color: #669966;
    color: white;
}

.pitch-mode {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Responsive table for smaller screens */
@media (max-width: 767.98px) { /* Bootstrap's default breakpoint for small devices */
    .table-responsive-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
    }

    .table-responsive-scroll table {
        width: 100%;
        max-width: 100%;
        display: block;
    }
}
