/* Variables */
:root {
    --color-principal: #fff;
    --color-text-agend: #096bb2;
    --color-secondary: #00d9ff;
    --color-bg-navbar: #333946;
    --color-negro: #000;
    --color-hover-transparente: rgba(0, 0, 0, 0.05);

    --color-description: #99A1AA;
    --color-borders: #e3e6e9;
    --color-menu-hover: #5efaf7;
    --color-otro-text: #6890ff;
    --color-agend-uno: #01e8b9;
    --color-secondaryw: #008cd5;
    --color-linea-decora: #1ef1ff;
    --color-rojo: #fa2a12;
    --color-facebook: #4c66a4;
    --color-instagram: #EA4C89;
    --color-youtube: #CC181E;
    --color-linkedin: #F4A62A;
}


.navbar__mobile-btn {
    display: none;
}

.navbar__mobile-list {
    display: none;
}

@media (max-width: 1024px) {

    /* Layout */
    .layout {
        width: 70%;
        min-width: 74rem;
        margin: 0 auto;
        grid-template-areas:
            "header header"
            "nav nav"
            "marquee marquee"
            "slider slider"
            "high high"
            "videos videos"
            "carousel carousel"
            "main main"
            "aside aside"
        ;
    }

    .layout__main{
        margin-right: 0rem;
    }

    /* ________________ */
    /* logotipo lo pone en el centro */
    .layout__header{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .navbar__list {
        display: none;
    }

    /* menu mobil */
    .navbar__mobile-btn {
        display: flex;
    }

    .navbar__mobile-list {
        display: none;

        position: absolute;
        padding: 1.5rem;
        top: 98%;
        width: 100%;
        background-color: var(--color-negro);
        z-index: 99;
    }

    .mobile-list__item {
        width: 100%;
        padding: 0.5rem 2rem;
        border-bottom: 1px solid var(--color-agend-uno);
    }

    .mobile-list__container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-list__link {
        display: block;
        width: 85%;
        font-weight: 400;
        line-height: 3rem;
        font-size: 1.3rem;
        color: var(--color-secondary);
    }

    .mobile-list__icon {
        cursor: pointer;
    }

    .mobile-list__icon .fa-solid {
        color: var(--color-secondary);
        font-size: 1.6rem;
        font-weight: bold;
    }

    /* submenu */
    .mobile-list__msubmenu {
        display: none;
    }

    .msubmenu__item {
        padding-left: 4rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .msubmenu__link {
        color: var(--color-agend-uno);
        font-weight: 400;
        font-size: 1.5rem;
        line-height: 3rem;
    }

    /* ___________________________________ -*/
    /* SLIDER */
    .layout__slider{
    grid-template-areas:    "slider1 slider3 slider3 slider3"
                            "slider2 slider3 slider3 slider3"
                            "slider4 slider4 slider5 slider5";
    }

    .slider__container--slider3{
        width: 100%;
        height: 33.8rem;
    }
    .slider__container--slider2{
        width: 100%;
        height: 16.8rem;
    }
    .slider__container--slider5{
        width: 100%;
        height: 23.6rem;
    }

    /* ___________________________________ */
    /* mejores momentos imagenes con texto */
    .highlights__posts{
        flex-wrap: wrap;
    }
    

    .highlights__post{
        width: calc(50% - 1rem);
    }
    
    /* video */
    .videos__container{
        flex-direction: column;
        gap: 0;
    }

    /* debajo del video */
    .videos__list{
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .videos__video{
        width: calc(50% - 1rem);
    }


    /* corusel de 4 imagenes */
    .carousel-games__item{
        width: 100%;
    }
    .carousel-games__item--hiden{
        display: none;
    }

    /* barra lateral */
    .layout__aside{
        margin-bottom: 3rem;
    }

    /* pie de pagina footer */
    .footer__container{
        width: 70%;
        min-width: 70rem;
        flex-direction: column;
    }

    .footer__left-container,
    .footer__center-container,
    .footer__right-container{
        width: 100%;
    }


    /* imagen de footer */
    .footer__fslider{
        width: auto;
        height: auto;
    }

    /* titulo de la imagen frente */
    .footer__text{
        text-align: center;
        margin: 0 auto;
    }

/* ____________ Medida ____________ */
@media (max-width: 775px) {


    /* Layout */
    .layout {
        width: 57%;
        min-width: 57rem;
        margin: 0 auto;
    }

     /* SLIDER */
    
    
    .slider__container--slider2{
        width: 100%;
        height: 11.8rem;
    }

    .slider__container--slider3{
        width: 100%;
        height: 24.8rem;
    }

    .slider__container--slider5{
        width: 100%;
        height: 19.25rem;
    }
    

    /* pie de pagina footer */
    .footer__container{
        width: 52%;
        min-width: 52rem;
        flex-direction: column;
    }
    /* titulo de la imagen frente */
    .footer__text{
        text-align: center;
        margin: 0;
    }


    /* ____________ Medida ____________ */
@media (max-width: 592px) {

    /* Layout */
    .layout {
        width: 35%;
        min-width: 35rem;
        margin: 0 auto;
    }

    /* SLIDER */
    .layout__slider{
    grid-template-areas:    "slider1 slider1 slider1 slider1"
                            "slider2 slider2 slider2 slider2"
                            "slider3 slider3 slider3 slider3"
                            "slider4 slider4 slider4 slider4";

        column-gap: 0;
        grid-template-columns: 100%;
    }

    .slider__container--slider3{
        width: 100%;
        height: auto;
    }
    .slider__container--slider2{
        width: 100%;
        height: auto;
    }
    .slider__container--slider5{
        width: 100%;
        height: auto;
    }


    /* mejores momentos imagenes con texto */
    .highlights__posts{
        flex-direction: row;
    }

    .highlights__post{
        width: 100%;
    }

    /* video */
    .main-video__yt-video{
        height: 20rem;
    }
    /* debajo del video */
    .videos__list{
        flex-direction: column;
        
    }
    .videos__video{
        width: 100%;
    }

    /* Carrusel con una imagen */
    .carousel-games__item--hiden-small{
        display: none;
    }

    /* laimagen con texto abajo */
    .news__main-post{
        flex-direction: column;
    }

    /* iconos de imagenes con texto al lado */ 
    .news__list{
        flex-direction: column;
    }


    /* juegos imagenes con enlace */
    .games__container{
        flex-direction: column;
    }
    .games__game{
        width: 100%;
    }


    /* __________________________ */
    /* juegos imagenes con enlace */
    /* post */
    .posts__container{
        flex-direction: column;
    }
    .posts__post{
        flex-basis: 100%;
    }
    .post__img{
        width: 100%;
    }


    /* footer */
    .footer__container{
        width: 30%;
        min-width: 30rem;
        flex-direction: column;
    }

    .footer__text{
        width: 100%;
    }
}

    /* ____________ Medida ____________ */
@media (max-width: 350px){

    /* Layout */
    .layout {
        width: 100%;
        min-width: auto;
        margin: 0;
    }

    /* footer */
    .footer__container{
        width: 100%;
        min-width: auto;
        margin: 0;
    }

}






}
















}