
/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* Global CSS */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-transform: capitalize;
}


html,body {
    background-color: #62bbff;
    display: grid;
    height: 100%;
    place-items: center;
}

/* Wrapper for the video gallery */
.wrapper {
    width: 80%;
    display: grid;
    height: 440px;
    grid-template-columns: 1.8fr 1fr;
    gap: 15px;
    background: #ecf0f1;
    box-shadow: 0 3px 5px rgba(0,0,0,0.25);
    overflow: hidden;
    border-radius: 15px;
}

/* Main video player */
.video_player {
    border-radius: 5px;
    padding: 10px;
}

.video_player video {
    width: 100%;
    border-radius: 5px;
}

.video_player .title {
    color: #323333;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 15px;
}

/* Video list */
.wrapper .video_list {
    background: #ededed;
    height: 100%;
    padding-top: 20px;
}

/* Individual video items */
.wrapper .video_list .vid{
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border-radius: 15px;
    margin: 10px;
    padding: 10px;
    border: 1px solid #dad9d9;
    cursor: pointer;
}

/* Video thumbnail */
.wrapper .video_list .vid video {
    width: 100px;
    border-radius: 5px;
}

/* Video title */
.wrapper .video_list .vid .title {
    color: #323333;
    font-weight: 300;
    letter-spacing: 0.5px;
    padding: 15px 0px;
    font-size: 14px;
}

/* Hover effect for video items */
.wrapper .video_list .vid:hover {
    background-color: #e0e0e0;
}

/* Active video item */
.wrapper .video_list .vid.active {
    background-color: #62bbff;
}

/* Active video title */
.wrapper .video_list .vid.active .title {
    color: #eee;
}

/* Media queries for responsiveness */
@media (max-width: 991px) {
    .wrapper {
        grid-template-columns: 1.5fr 1fr;
    }
}
@media (max-width: 768px) {
    .wrapper {
        grid-template-columns: 1fr;
        height: 80vh;
    }
    .wrapper .video_list {
        padding-top: 5px;
    }
    .wrapper.video_list .title {
        padding: 0px 15px;
    }
}
