﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    /*font-family: 'Poppins', sans-serif;*/
}

.Viedobody {
    background-color: rgb(230, 230, 230);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    font-weight: 500!important;
}

h1, h2, h3{
    font-weight: 500;
}

h1 {
    font-size: 40px;
    margin: 10px;
}
h2 {
    font-size: 24px !important;
}
h3 {
    font-size: 14px!important;
}

h5 {
    font-size: 14px;
}
.main1 {
    background-color: #282f49cf;
    display: flex;
    width: 1000px;
    height: 540px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.video-container1 {
    background-color: #282f49;
    direction: rtl;
    width: 650px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgba(55, 55, 55, 0.2) 0px 7px 29px 0px;
}

.video-playlist1 {
    padding: 10px;
}

.video-playlist1 h2 {
    margin-left: 10px;
}

.video-container1 iframe {
    width: 630px;
    height: 360px;
    border-radius: 10px;
}

.playlist-selector1 {
    background-color: #282f49;
    width: 301px;
    padding: 10px;
    overflow-y: scroll;
    border-radius: 10px;
    box-shadow: rgba(55, 55, 55, 0.2) 0px 7px 29px 0px;
}

.playlist-selector1 button {
    display: flex;
    align-items: center;
    width: 250px;
    height: 100px;
    border-radius: 5px;
    border: none;
    margin: 3px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    cursor: pointer;
}

.playlist-selector1 button:hover {
    background-color: rgb(200, 200, 200);
}

.active1 {
    background-color: rgb(200, 200, 200);
}

h4 {
    font-size:18px;
    margin: 5px;
}

.playlist-selector1 button img {
    width: 130px;
    height: 100px;
    border-radius: 5px 0px 0px 5px;
    margin-right: 10px;
}

/* ریسپانسیو برای عرض کمتر از 1200px */
@media (max-width: 1020px) {
    .main1mobile {
        flex-direction: column-reverse;
        width: 95%;
        height: auto;
        align-items: center;
    }

    .video-container1mobile {
        width: 100%;
    }

        .video-container1mobile iframe {
            width: 100%;
            height: auto;
        }

    .playlist-selector1mobile {
        width: 100%;
        max-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .playlist-selector1mobile button {
            width: 90%;
        }
}

/* بهینه‌سازی برای موبایل */
@media (max-width: 600px) {
    .Viedobodymobile {
        margin-top: 50px;
        padding: 10px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 18px !important;
    }

    .playlist-selector1mobile button img {
        width: 100px;
        height: 70px;
    }
}

