body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
    height: 100%;
}



header {
    background-color: #080808;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    position: relative;
}

header::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20px;  /* This determines the height of the "blur". Adjust as needed. */
    background: linear-gradient(rgba(51, 51, 51, 0), #333);  /* Adjust this gradient colors to fit the colors of your header and main content. */
    pointer-events: none; /* Makes the pseudo-element non-interactive */
}

main {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    height: 700px;
    backdrop-filter: blur(10px);  /* Apply a blur effect */
    -webkit-backdrop-filter: blur(10px);  /* For Safari compatibility */
}

iframe {
    flex-grow: 1;
    height: 100%; /* You might adjust this depending on your exact layout */
}

aside {
    margin-left: 1em;
    overflow-y: auto;
    height: 100%;
    border: 1px solid #ccc;
    padding: 0.5em;
}

.video-section {
    width: 25%;
    margin-left: 1em;
    border: 1px solid #ccc;
    padding: 0.5em;
    display: flex;
    flex-direction: column; /* This will make its children (the list and the button) stack vertically */
}

.button-container {
    align-self: end;
    margin-top: 20px;  /* Add some spacing to the top */
    text-align: center;  /* Center the button */
}

#nightModeToggle {
    padding: 5px 10px;  /* Some padding to make it look nicer, adjust if necessary */
    cursor: pointer;  /* Changes the cursor to a hand when hovering over the button */
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 0.5em;
    cursor: pointer;
}

ul li.selected {
    background-color: #333333; /* Light gray background */
    font-weight: bold;         /* Bold text */
}

ul li:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    /* Styles for tablets and smaller screens */
    main {
        flex-direction: column;
        height: auto;
    }

    .video-section {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
        border-top: 1px solid #ccc;
        border-left: none;
        border-right: none;
    }

    iframe {
        width: 100%;
        height: 300px; /* Adjust based on preferred height for mobile */
    }

    aside {
        margin-left: 0;
        height: auto;
    }
}

@media (max-width: 480px) {
    /* Styles specific to mobile phones */
    header {
        padding: 0.5em 0;
    }
}

