* {
    box-sizing: border-box;
    margin: 0 auto;
}

/* simple responsive navigation */
header {
    position: relative;
    background-color: black;
    overflow: hidden;
    min-width: 21.875em;
}

#logomcg {
    padding-left: 20px;
    padding-top: 10px;
    width: 270px;
    height: auto;
    float: left;
}

html {
    scroll-behavior: smooth;
}

main {
    position: relative;
    background-color: black;
}

iframe {
    display: block;
    max-width: 700px;
}

#menu-toggle {
    font-family: modesto-condensed, serif;
    font-size: 1.5em;
    font-weight: 700;
    display: block;
    float: right;
    color: white;
    text-decoration: none;
    padding: .3em;
    border: 1px grey solid;
    margin: 1em 1em 0 0;
}

ul {
    clear: both;
    list-style-type: none;
    color: white;
    padding-left: 0;
    margin-bottom: 0;
}

#toggled {
    display: none;
}

li {
    padding: 1em 0 1em 1.4em;
    border-top: 1px grey solid;
}

    li a {
        display: block;
        color: white;
        text-align: center;
        text-decoration: none;
        font-family: modesto-condensed, serif;
        font-size: 2em;
        font-weight: 700;
    }


        li a:hover {
            text-decoration: underline;
        }

#fondoVideo {
    position: static;
    margin: 0 auto;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: auto !important;
}

.video {
    position: relative;
}



/* CORRECCIÓN: Aumentada la altura de 1400px a 1500px para acomodar el espacio extra. */
.separador {
    height: 1500px;
    background-image: url(imagenes/Background.jpg);
}

.centered {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 3;
}

#logo {
    width: 100%;
    max-width: 660px;
    height: auto;
    padding-top: 270px;
    padding-bottom: 10px;
}

#titulo {
    text-align: center;
    font-style: normal;
    color: white;
    max-width: 80%;
    font-family: modesto-condensed, serif;
    font-size: 1.5em;
    font-weight: 700;
    text-shadow: 3px 3px 5px #000000;
}

#coming {
    text-align: center;
    margin: auto;
    font-style: normal;
    color: #cccccc;
    /* CORRECCIÓN: Aumentado de 20px a 100px para bajarlo */
    margin-top: 100px;
    font-family: modesto-condensed, serif;
    font-size: 2.2em;
    text-shadow: 3px 3px 5px #000000;
}


.center {
    display: block;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
}



.logos {
    width: 320px;
    float: center;
    padding-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.logotipo {
    max-height: 50px;
    max-width: 180px;
    margin-top: 5px;
    margin-right: 15px;
    margin-left: 40px;
}

.titular {
    width: 70%;
    padding-bottom: 40px;
}


h2 {
    color: #5c0000;
    ;
    padding: 5px 32px;
    text-align: center;
    text-decoration: none;
    font-family: modesto-condensed, serif;
    font-size: 4em;
    font-weight: 700;
}

h3 {
    color: #5c0000;
    ;
    padding: 5px 32px;
    text-align: center;
    text-decoration: none;
    font-family: modesto-condensed, serif;
    font-size: 2em;
    font-weight: 700;
}

.contenido {
    text-align: justify;
    font-family: 'Libre Baskerville', serif;
    line-height: 2;
    font-size: 1.45 em;
    font-weight: 700;
    margin: auto;
    font-style: normal;
    color: whitesmoke;
    max-width: 90%;
    padding-bottom: 16px;
    text-shadow: 3px 3px 5px #414040;
}


.contenidof {
    text-align: left;
    font-family: 'Libre Baskerville', serif;
    line-height: 2;
    font-size: 1.3 em;
    font-weight: 700;
    margin: auto;
    font-style: normal;
    color: whitesmoke;
    max-width: 90%;
    padding-bottom: 16px;
    text-shadow: 3px 3px 5px #414040;
}

.ilustracion {
    border-style: double;
    border-color: #5c0000;
    border-width: 10px;
    max-width: 600px;
    height: auto;
    width: 95%;
}


.galeria {
    display: block;
    border-style: double;
    border-color: #5c0000;
    border-width: 10px;
    max-width: 600px;
    height: auto;
    width: 95%;
    margin-top: 10px;
}



footer h2 {
    clear: both;
}

.ilustracionS {
    max-width: 600px;
    height: auto;
    width: 95%;
}

.ilustracionCaja {
    max-width: 500px;
    width: 80%;
    height: auto;
}

.descripciond, .descripcioni {
    margin-bottom: 25px;
}

footer {
    background-color: black;
}

.logosFooter {
    width: 300px;
    height: auto;
    margin: 50px, auto;
}

#ornamentoComing {
    width: 100%;
}

/* --- ESTILOS PARA LA NUEVA SECCIÓN DE PRECUELA --- */

.prequel-cta-block {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    background: rgba(92, 0, 0, 0.4);
    padding: 20px 0;
    border-radius: 10px;
    border: 1px solid #5c0000;
}

.titular-prequel {
    width: 50%;
    padding-bottom: 15px;
    opacity: 0.8;
}

.prequel-title {
    color: #ff5a5a;
    font-family: modesto-condensed, serif;
    font-size: 2.8em;
    font-weight: 700;
    text-shadow: 3px 3px 5px #000000;
    margin-bottom: 10px;
    padding: 5px 10px;
}

.prequel-subtitle {
    font-family: 'Libre Baskerville', serif;
    color: whitesmoke;
    font-size: 1.2em;
    max-width: 80%;
    text-shadow: 2px 2px 4px #000000;
    margin-bottom: 20px;
}


/* media queries */

@media screen and (min-width: 41.25em) {
    #menu-toggle {
        display: none;
    }

    nav {
        float: right;
    }

    ul {
        display: block !important;
    }

    li {
        float: left;
        padding: 1em;
        border-top: none;
    }

    .contenido {
        max-width: 70%;
    }


    .contenidof {
        max-width: 45%;
    }

    .logotipo {
        max-height: 50px;
        max-width: 180px;
    }
}

@media screen and (min-width: 768px) {

    /* Prequel adjustments for tablets */
    .prequel-title {
        font-size: 3.5em;
    }

    .titular-prequel {
        width: 40%;
    }

    #logo {
        padding-top: 10px;
        padding-bottom: 100px;
    }

    /* CORRECCIÓN: Aumentado de 1100px a 1200px para tablets. */
    .separador {
        height: 1200px;
    }

    #Gallery {
        width: 600px;
        height: auto;
    }

    .logotipo {
        max-height: 50px;
        max-width: 180px;
    }

    .galeria {
        display: inline;
    }


    #ornamentoComing {
        width: 60%;
    }

    .overlay {
        height: 800px;
        width: 100%;
        background-image: url(/imagenes/dots.png);
        position: absolute;
        z-index: 2;
        opacity: .3;
        top: 0px;
        margin-top: 0px;
    }
}

@media screen and (min-width: 1366px) {
    /* Prequel adjustments for Desktop */
    .prequel-cta-block {
        margin-top: 160px;
    }
        .prequel-title {
        font-size: 3em;
    }

    #coming {
        font-size: 2.8em;
        /* CORRECCIÓN: Aumentado de 50px a 150px en Desktop */
        margin-top: 220px;
    }

    .ilustracionCaja {
        padding-top: 100px;
    }


    #logo {
        padding-bottom: 30px;
    }

    #titulo {
        font-size: 2.2em;
    }

    .logos {
        width: 1000px;
    }

    .overlay {
        height: 850px;
    }

    /* CORRECCIÓN: Aumentado de 500px a 700px para pantallas grandes */
    .separador {
        height: 700px;
    }


    #ornamentoComing {
        width: 50%;
    }

    .bloque {
        height: 700px;
        background-image: url(imagenes/Background.jpg);
        background-blend-mode: darken;
    }


    .imageni {
        width: 40%;
        float: left;
        margin-bottom: 50px;
        padding: 60px 0;
    }


    .descripciond {
        width: 60%;
        float: right;
        margin-bottom: 50px;
        padding: 100px 0;
    }

    .imagend {
        width: 40%;
        float: right;
        margin-bottom: 50px;
        padding: 60px 0;
    }

    .descripcioni {
        width: 60%;
        float: left;
        margin-bottom: 50px;
        padding: 100px 0;
    }

    #Gallery {
        width: 1215px;
        height: auto;
    }

    .galleriai {
        width: 50%;
        float: left;
    }

    .galeriad {
        width: 50%;
        float: right;
    }

    .contenidof {
        clear: both;
    }
}

@media screen and (min-width: 1920px) {

    .overlay {
        height: 1080px;
    }
}

@media screen and (min-width: 2500px) {



    #titulo {
        font-size: 2.5em;
    }

    #coming {
        padding-top: 300px;
    }

    .overlay {
        height: 1400px;
    }
}
