* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

.header {
    background-color: #6E260E;
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header h1 {
    margin: 0;
}

.header nav {
    margin-top: 0.5rem;
}

.header nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px;
}

.header nav a:hover {
    text-decoration: underline;
    font-weight: bold;
}

.container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.left-container {
    flex: 3;
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.video-sidebar {
    width: 200px;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.video-sidebar h3 {
    color: #6E260E;
    margin-bottom: 15px;
    text-align: center;
}

.video-list {
    list-style: none;
}

.video-item {
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.video-item:hover {
    background-color: #e0e0e0;
}

.video-item.active {
    background-color: #6E260E;
    color: white;
}

.video-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.right-section {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.right-container {
    flex: 1;
    padding: 20px;
    border-left: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.right-container h2 {
    margin-bottom: 5px;
}

.right-container p {
    margin-bottom: 10px;
}

.right-container-1 {
    /* background-color: #e8f4f8; */
    background-color: #f5f5f5;
}

.right-container-2 {
    /* --background-color: #e8f8e8; */
    background-color: #f5f5f5;
}

h2 {
    margin-bottom: 15px;
}

p {
    margin-bottom: 10px;
}

.content {
    margin: 10px;
    padding: 10px;
}

.content-image {
    width: 90%;
    max-height: 75%;
    object-fit: contain;
}

.content-video {
    width: 90%;
    max-height: 75vh;
    margin: 15px auto;
    border-radius: 25px;
    border: 2px solid #6E260E;
    background-color: #000;
    aspect-ratio: 16/9;
    object-fit: contain;
}

/* Hide fullscreen button */
.content-video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}


.chart-container {
    flex: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.bounding-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none !important;
    z-index: 10;
}

.bounding-box-overlay * {
    pointer-events: none !important;
}

.bounding-box-label {
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
}