*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
    color: #5a5a5a;
}

img{
    cursor: pointer;
}

.flex-div{
    display: flex;
    align-items: center;
}

nav{
    padding: 15px 2%;
    justify-content: space-between;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}


.nav-left .menu-icon{
    width: 22px;
    margin-right: 25px;

}

.nav-left .logo{
    width: 200px;
}

.nav-middle .search-box{
    border: 1px solid #ccc;
    margin-right: 15px;
    padding: 8px 12px;
    border-radius: 25px;
    display: flex;

}

.nav-middle .search-box input{
    width: 400px;
    border: 0;
    outline: 0;
    background: transparent;

}

.nav-middle .search-box i{
    width: 15px;
    color: #ccc;
    cursor: pointer;
}

/* sidebar */

.sidebar{
    background: #fff;
    width: 20%;
    height: 100vh;
    position: fixed;
    top: 0;
    padding-left: 2%;
    padding-top: 100px;
    
}

.shortcut-links a i{
    width: 20px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    /* border: 2px solid red;
     */
}

.shortcut-links a{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: fit-content;
    flex-wrap: wrap;
    font-weight: 200;
    justify-content: center;
    
    
}

.shortcut-links a {
    color: #5a5a5a; /* Color normal */
    transition: color 0.3s ease-in-out;
}

.shortcut-links a:hover {

    color: #0A91F2; /* Color cuando está activo */;
   
}



.small-sidebar{
    width: 5%;      
}
.small-sidebar i{
    font-size: 18px;    
}

.small-sidebar a p{
    display: none;
    margin-bottom: 20px;
}

/* contenido */

.container{
    padding: 20px 2% 20px 22%;
}

.large-container{
    padding: 20px 2% 20px 7%;
}

.banner{
    width: 100%;
}

.banner img {
    width: 100%;
    border-radius: 8px;
}

.list-container{
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-column-gap: 16px;
    grid-row-gap: 30px;
    margin-top: 15px; */
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;

}




.section{
    margin-top: 50px;
}

.section h2{
    color: #5a5a5a;
    margin-bottom: 20px;
}
.section hr{
    border: 0;
    height: 1px;
    background: #ccc;

}

.vid-list {
    max-width: 250px;
    aspect-ratio: 16/9;
    transition: opacity 0.3s ease-in-out;
    

}

.vid-list[style="display: none;"] {
    opacity: 0;
}



.vid-list .miniatura{
    width: 100%;
    border-radius: 15px;
}

.etiqueta {
    display: flex;
    align-items: center;
}

.etiqueta i{
    margin-right: 5px;
    align-items: center;

}


.vid-list .flex-div{
    align-items: flex-start;
    margin-top: 7px;
}

.vid-info{
    color: #5a5a5a;
    font-size: 13px;
}

.vid-info a{
    color: #000;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

/* Responsive */

@media (max-width: 900px){

    nav{
        flex-direction: column;
    }
    .menu-icon{
        display: none;
    }
    .sidebar{
        display: none;
    }
    .container, .large-container{
        padding-left: 5%;
        padding-right: 5% ;
    }

    .nav-left{
        margin-bottom: 20px;
    }

    .search-box{
        width: 100%;
    }

    .nav-middle {
        width: 100%;
    }


 

  
    .nav-left .logo{
        width: 200px;
    }
    .vid-list {
        max-width: 100%;
    }
}

/* Reproductor */
.play-container{
    padding-left: 2%;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.play-video{
    flex-basis: 69%;
}

.right-sidebar{
    flex-basis: 30%;
    background: #fafafa;
    padding: 20px;
    border-radius: 20px;
    height: 90vh; 
    overflow-y: auto;
}

/* Personaliza la barra de scroll (opcional) */
.right-sidebar::-webkit-scrollbar {
    width: 6px; /* Ancho de la barra de scroll */
}

.right-sidebar::-webkit-scrollbar-thumb {
    background-color: #0A91F2; /* Color del "thumb" (la barra que se mueve) */
    border-radius: 4px; /* Bordes redondeados */
}

.right-sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Cambia el color al pasar el mouse */
}

.scroll-button {
    position: fixed;
    right: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.scroll-button:hover {
    background-color: #0056b3;
}



.play-video iframe{
    width: 100%;
    border-radius: 25px;
}

.side-video-list{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.side-video-list img{
    width: 100%;
    border-radius: 5%;
}

.side-video-list .small-miniatura{
    flex-basis: 36%;
}

.side-video-list .vid-info{
    flex-basis: 61%;

}
.vid-info-play{
    margin-top: 20px;
}

.vid-info-play h3{
    font-weight: 600;
    font-size: 22px;
    color: #5a5a5a;
}

.vid-info-play .etiqueta i {
    font-size: 14px;
    color: #5a5a5a;
}

.vid-info-play .etiqueta p {
    font-size: 14px;
    color: #5a5a5a;
}

.play-video hr{
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 10px 10px;
}

/* Responsive Reproductor */

@media (max-width: 900px){
    .play-video{
        flex-basis: 100%;
        border-radius: 10px;
    }

    .banner{
    content: url(./images/banner_mobile.jpg);
    }

    .right-sidebar{
        flex-basis: 100%;
    }

    .play-container{
        padding-left: 5%;
    }
    .play-video iframe{
        width: 100%;
        height: 260px;
    }
}
