body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    position: relative;
    overflow: hidden;
    justify-content: center; /* Center content vertically */
}

.video-list {
    width: 100%;
    border-right: 1px solid #ccc;
    padding: 20px;
    overflow-y: auto;
    display: none; /* Initially hidden */
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateX(-100%); /* Start hidden */
}

.video-list h2 {
    margin-top: 40px; /* Add margin to avoid overlap with the button */
    font-size: 1.5em;
}

.video-list ul {
    list-style-type: none;
    padding: 0;
}

.video-list li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    font-size: 0.9em; /* Reduce font size */
}

.video-list li:hover {
    background-color: #f0f0f0;
}

.video-player {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px; /* Add margin to avoid overlap with the button */
    margin-right: 10px; /* Add margin to the right */
}

video {
    width: 100%;
    height: auto;
}

.menu-toggle {
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
    font-size: 1.5em; /* Adjust font size for better visibility */
}

.menu-toggle:hover {
    background-color: #555;
}

/* Responsivo */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
        justify-content: flex-start; /* Align items to the start for larger screens */
    }

    .video-list {
        display: block;
        position: relative;
        width: 30%;
        height: auto;
        background-color: #fff;
        transform: none;
    }

    .video-player {
        width: calc(70% - 20px); /* Adjust width to add margin to the right */
        margin-top: 0; /* Remove margin for larger screens */
    }

    .menu-toggle {
        display: none;
    }
}
