.main-wrapper {
    display: block;
}

/* Ocultar el menú original cuando esté el visor inyectado */
.body_index #menu {
    display: none !important;
}

.centrar_index{
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
        url('/imagenes/tile_background.png');
    background-size: 100%, 90%;
    background-repeat: no-repeat, repeat;
    margin-left: 650px;
    width: calc(100% - 650px);
}

.portada p.portada-subtitulo{
    font-size:24px;
}
.portada-card{
    width: 50%;
    height: 550px;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(to bottom, rgba(238, 52, 36, 0.05), rgba(238, 52, 36, 0.05)),
        rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.portada-card p{
    max-width: 600px;
}
.logo_index{
    max-width:600px;
    width:100%;
    margin-top: 100px;
}
.home-section{
    display:flex;
    justify-content:center; 

    padding-left: 40px; 
    gap:100px; 
    margin-top: 60px;
    margin-bottom: 50px;
}
.home-section__card{
    min-width: 40%;
    max-width:40%;
    background-color: white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    border: 1px solid rgb(228, 228, 228);
    border-radius: .5em;
    padding: 30px;
box-shadow: 3px 4px 5px 0px rgba(0,0,0,0.34);
-webkit-box-shadow: 3px 4px 5px 0px rgba(0,0,0,0.34);
-moz-box-shadow: 3px 4px 5px 0px rgba(0,0,0,0.34);
    transition: background-color 0.7s ease;
}

.home-section__card:hover{
    background: linear-gradient(rgba(238, 52, 36, 0.1), rgba(238, 52, 36, 0.1)), white !important;
}


.home-section__card__content{
    display:flex;
    flex-direction: column;
    justify-content: center;
}

.home-section__card__content > h2{
    margin-bottom: 20px;
    font-size: 32px !important;
}

/* Sección Videos Cortos */
.seccion-videos-cortos {
    text-align: center;
    padding: 60px 20px;
    margin: 40px auto;
}

.videos-cortos-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(238, 52, 36, 0.1), rgba(238, 52, 36, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(238, 52, 36, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.videos-cortos-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(238, 52, 36, 0.2);
}

.videos-cortos-card h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.videos-cortos-card p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-videos-cortos {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #ee3424, #ff6b5a);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(238, 52, 36, 0.3);
}

.btn-videos-cortos:hover {
    background: linear-gradient(135deg, #ff6b5a, #ee3424);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(238, 52, 36, 0.5);
}

.btn-videos-cortos i {
    font-size: 24px;
}

.footer{
    max-width: calc(100% - 650px);
    margin-left: 650px;
}
.footer-bottom{
    max-width: calc(100% - 650px);
    margin-left: 650px;
}

@media(max-width: 1700px){
    .portada{
        height: 790px;

    }
    .capa{
        height: 790px;
                padding: 200px 20px 0 20px;
    }
    .portada-card{
        height: 400px;
        width: 410px;
    }
    .portada-card h1{
        font-size: 32px;
        margin-bottom: 10px;
    }
        .portada-card p.portada-subtitulo{
        font-size: 16px;
        margin-bottom: 0px;
    }

          .seccion_gridvideos >  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
        max-width: 700px;
    }

}



@media(max-width: 1400px){
    .logo_index{
        width: 70%;
        margin-bottom: 40px;
    }
    .home-section{
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 40px;
        margin-top: 0px;
    }

    .home-section__card{
        min-width: 70%;
        max-width:70%;
    }
    .game-section .item{
        width: 250px;
        height: 250px;
    }
    .game-section .item.active{
        width: 250px;
        height: 250px;
    }
    .seccion{
        max-width: 550px !important;
    }
    .seccion_gridvideos .container{
        place-items: center;
        margin: 0 auto;
        padding-left: 0;
    }
    .seccion_gridvideos .video-card{

        width: 80%;
    }
    .seccion_gridvideos .video-card:hover{
        width: 84%;
    }

    .grid-container{
        width: 50%;
        grid-template-columns:repeat(auto-fill, minmax(150px, 1fr))
    }


}

@media (max-width: 1200px){
    .seccion_gridvideos .container{
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    }
    .seccion_gridvideos .video-card{

        width: 50%;
    }
    .seccion_gridvideos .video-card:hover{
        width: 54%;
    }
}
/* @media (min-width: 3300px) {
    .capa{
        height: 1500px;
        padding-top: 400px;
    }
    .portada{
        height: 1500px;
    }
    .portada-card{

        height: 750px;
    }
    .home-section__card{
        max-width: 1300px;
        min-width: 1300px;
    }

}

@media(min-width: 4000px) {
    .capa{
        height: 1800px;
    }
    .portada{
        height: 1800px;
    }
}


@media(min-width: 4800px)
{ 
    .capa{
        
        height: 2200px;
    }
    .portada{
        height: 2200px;
    }
}

@media(max-width:1600px){
    .capa{
        height: 900px;
        padding-top:200px;
    }
    .portada{
        height: 900px;
    }
}

@media(max-width: 1330px){
    .portada-card h1{
        font-size:48px;
    }


    .game-section .item {
        width: 150px;
        height: 300px;
    }
    .game-section .item.active {
        width: 250px;
    }
}

@media(max-width: 918px){
    .portada-card{
        height: 400px;
        width: 436px;
    }
    .portada-card h1{
        font-size: 32px;
        margin-bottom: 30px;
    }
    .portada-card p{
        font-size: 16px !important;
    }

    .portada .cta-buttons button {
        font-size: 14px;
    }

    .home-section__card >h2{
        font-size: 24px !important;


    }
    .busqueda{
        width:300px;
    }

    .videos-cortos-card h2 {
        font-size: 32px;
    }
    .videos-cortos-card p {
        font-size: 16px;
    }
    .btn-videos-cortos {
        padding: 12px 30px;
        font-size: 16px;
    }
}



 */

