/* Caberera */

.cabecera__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;  
}

.cabecera__buscar__item{
    display: none;
}
/* Modifica la posición del menú lateral */

.menu__container{
    position: fixed;
    bottom: 0%;
    height: 75px;
    width: 100%;
}

 /* Separa los items del menu */

.menu__lista{
    display: flex;
    justify-content: space-around;
    height: 100%;
}

.menu__lista li {
    align-self: center;
}

.menu__itens{
    display: flex;
    flex-direction: column;
    gap: 5px;

}

.menu__lista:nth-child(2),
.menu__lista:nth-child(3),
.menu__lista:nth-child(4){
    display: none;
}

/* Sección Superior */

.superior__seccion__container{
    display: flex;
    align-items: center;
    white-space: nowrap;
    /*Para Crear Barra de deslizamiento */
    overflow: scroll;
    /* Para dar espacio entre los items */
    gap: 15px;

}

/* Sección de videos */

.videos__item{
    height: 303px;
    width: 280px;
    flex-grow: 1;
}

/* ORDENAR LOS VIDEOS EN EL CONTENEDOR */ 

.videos__container{
    display: flex;
    flex-wrap: wrap;
    gap: 10PX;
}

/* DESAFIO DESCRIPCIÓN DE LOS VIDEOS */ 

.descripcion-video {
    margin-top: 1rem;
    display: flex;
    align-items: start; 
    
}

.descripcion-video img {
    margin-right: 1rem; 
    flex-shrink: 0;  /*  Evita que la imagen se reduzca */
    
}

.detalles__video {
    flex-direction: column;
    text-align:left;

}

.detalles__video h3{
    margin-bottom: 10px;
}

/* Rodapie */

.rodapie__container{
    display: flex;
    /*flex-direction: column;
    flex-wrap: wrap;
    podemos reemplazarlo por el siguiente */
    flex-flow: column wrap;
    
}



@media(min-width:834px) {
   
    /* Caberera */

    .cabecera__buscar__item{
        display: block;
    }

    /* Desafío Menú Lateral */
    .menu__container {
        left: 0;
         height: auto;
        width: 74px;
        top: 80px;
    }
        
    .menu__lista {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 15px;
        gap: 33px;
    }
    

    /* Rodapie */

    .rodapie__container{
        justify-content: space-between; 
    }
}

/* MENU LATERAL PARA PANTALLAS DE TABLETS */

@media (min-width: 834px) {

    .menu__container {
        left: 0;
        height: auto;
        width: 74px;
        top: 80px;
    }
    
    .menu__lista {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 15px;
        gap: 33px;
    }
    
    }
    
    /* MENU LATERAL PARA PANTALLAS DE ESCRITORIO */

    @media (min-width: 1440px){
        .menu__container{
            width: 239px;
            overflow: scroll;
        }

        .menu__lista:nth-child(2),
        .menu__lista:nth-child(3),
        .menu__lista:nth-child(4){
        display: flex;
        }

        .menu__lista{
            height: auto;
            padding: 20px 17px 20px 15px;
            /* Reducir espacio entre elementos */
            gap: 15px;
        }

        /* Para invertir el orden de la lista en el menú 3 */

        .menu__lista:nth-child(3){
            flex-direction: column-reverse;
        }

        .menu__itens{
            /* Alinear itens */
            flex-direction: row;
            /* Espacio entre items y texto */
            gap: 15px;
            /* Alinear items y texto */
            align-items: center;
        }

        /* Para darle el orden necesario a los elementos, cuando ya tenemos un archivo y vienen en otro orden */
        
        .videojuegos{
            order: 3;
        }

        .peliculas{
            order: 2;
        }

        .premium{
            order: 1;
        }
    }