@import url("https://fonts.googleapis.com/css?family=Ubuntu:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* General Styles */
body {
    background-color: #1d2538;
}

/* Top Container */
.container-top-left {
    margin-top: 23px;
    margin-left: 23px;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

/* Back Button */
.menu-container-back-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    background-color: #d4f2f4;
    padding: 0px;
    border: 1px solid #189ab4;
    border-radius: 14.3734px;
    width: 46.99px;
    max-height: 64px;
    cursor: pointer;
    font-family: "Ubuntu";
    color: #189ab4;
    font-weight: 600;
}

.menu-container-back-button:hover {
    box-shadow: 0px 4px 4px #00000040;
}

/* Page Name */
.page-name-container {
    padding: 18px 50px;
    background: #74e7d4;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    height: fit-content;
}

@media (max-width: 1000px) {
    .page-name-container {
        display: none;
    }
}

.page-name-text {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    color: #04445f;
}

/* Video Player Overlay */
.video-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.video-player-overlay.hidden {
    display: none;
}

.video-player-container {
    background-color: #474e52;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
    width: 100%;
}

/* Main Video Section */
.main-video {
    text-align: center;
    /* width: 70%; */
    /* height: auto; */
    width: 70%; /* Set to 100% to ensure it fills the container */
    height: auto; /* Set to 100% to ensure it fills the container */
    overflow: hidden;
    display: flex;
    flex-direction: column; /* vertical */
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#main-video {
    width: 100%;
    height: 100%;
    /* height: auto; */
    object-fit: contain; /* Ensures video fits within container */
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

#main-video-title{
    margin-top: 5px;
    margin-bottom: 5px;
    font-family: "Ubuntu", sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
}

/* Plyr video player */
.plyr__video-wrapper {
    height: 690px !important;
    max-height: 690px;
    overflow: hidden;
}

video::-webkit-media-controls-fullscreen-button {
	display: none;
}

/* Video Playlist Section */
.video-playlist {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    margin-left: 20px;
    overflow-y: auto;
    max-height: 720px;
    width: 30%;
}

.video-playlist h3 {
    margin-top: 5px;
    margin-bottom: 5px;
    position: sticky; /* Keeps the element fixed during scrolling */
    top: 0; /* Position at the top of the parent container */
    color: #ffffff;
    /* background-color: #3c3a3a; */
    background-color: #474e52;
    font-family: "Ubuntu", sans-serif;
    font-size: 20px;
    font-weight: 700;
    z-index: 10; /* Keeps it above scrolling content */
    padding: 5px; /* Match your margin/padding needs */
    box-shadow: 0 1px 8px rgb(0, 0, 0);
}

/* Playlist Item Styling */
.video-item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 15px; 
    cursor: pointer;
}

.video-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.video-item img:hover {
    transform: scale(1.05);
}

.video-item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Playlist Scrollbar Styling */
.video-playlist::-webkit-scrollbar {
    width: 8px;
}

.video-playlist::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.video-playlist::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Playlist Cards */
.playlist-content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    padding-bottom: 13px;
}

.playlist-card {
    width: 300px;
    background-color: #3a434b;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.playlist-card:hover {
    transform: scale(1.05);
}

.card-content {
    text-align: center;
    padding: 20px;
}

.card-content img {
    width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

.playlist-title {
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 10px;
}
