
body {
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    background-color: black;
}

h1 {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    color: #FFFFFF;
}


.toolbar {
    width: 10%;
    background-color: #333;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: left;
}

.toolbar button {
    background: none;
    border: none;
    color: #fff;
    padding: 20px;
    margin: 10px 80px 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center; /* Align items vertically */
}

.toolbar button i {
    margin-right: 8px; /* Adjust the spacing between icon and text */
}

.sections {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-section {
    flex: 1;
    display: flex;
    border: 0px solid #ccc;
    height: 30%;
    justify-content: center;
    align-items: center;
    text-align: center; /* Optional, to center text horizontally */

}

.bottom-section {
    flex: 1;
    display: flex;
    border: 0px solid #ccc;
    height: 35%;
}

.icon-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.icon-buttons button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
}

.arrows {
    display: flex;
}

.description-section {
    width: 30%;
    padding: 10px;
    text-align: left;
}

.text-section {
    width: 50%;
    padding: 10px;
}

.video-section {
    width: 70%;
    border-left: 0px solid #ccc;
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    width: 640px; /* Set a maximum width if needed */
    height: 480px; /* Set a maximum width if needed */
    overflow: hidden; /* Hide content overflow */
}

.video-player {
    width: 100%;
    height: 0; /* Set the height to zero to maintain the aspect ratio */
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
    position: relative;
    background-color: #000;
    color: #fff;
}

.video-player video {
    width: 100%;
    height: 100%;
}

/* Add styling for left alignment */
.video-section .video-player {
    order: -1; /* Move the video player to the left */
    margin-right: 20px; /* Add some margin for spacing */
}

/* Add styling for the content on the right */
.video-section .content {
    flex-grow: 1; /* Allow content to grow and take remaining space */
}


.iconlist {
    display: flex;
    overflow: hidden;
    width: 100%; /* Ensure the container takes the full width of the text-section */
}
.iconlist2 {
    display: flex;
    overflow: hidden;
    width: 100%; /* Ensure the container takes the full width of the text-section */
}
.image-icon,
.image-icon2 {
    flex: 0 0 9.5%;
    height: 100%;
    margin-right: 1%;
    background-size: contain; /* Prevent stretching, maintain aspect ratio */
    background-repeat: no-repeat; /* Ensure the background image is not repeated */
    box-sizing: border-box;
}

.image-icon2 {
    opacity: 0.5;
}

.episode-grid {
    display: flex;
    align-items: center; /* Vertical centering */
    justify-content: center; /* Horizontal centering */
    
    flex: 0 0 5%;
    height: 25%;
    margin-right: 1%;
    
    text-align: center;
    padding: 10px;
}

.episode-grid2 {
    display: flex;
    align-items: center; /* Vertical centering */
    justify-content: center; /* Horizontal centering */
    
    flex: 0 0 5%;
    height: 25%;
    margin-right: 1%;
    
    text-align: center;
    padding: 10px;
    opacity: 0.5;
}
.running-text {
    width: 90%;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 32px;
    overflow: hidden;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px; /* Negative margin to offset padding of columns */
}

.col {
    box-sizing: border-box;
    padding: 10px;
    width: 10%; /* Set the width as per your requirement */
}

/* Adjust the width as needed based on your layout */
@media (max-width: 768px) {
    .col {
        width: 50%; /* 2 columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .col {
        width: 100%; /* 1 column on even smaller screens */
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #eeeeee;
    margin: auto;
    padding: 25px;
    border: 1px solid #888;
    width: 40%;
}
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}