html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content {
}

.Alinear_Flex {
    display: flex;
    justify-content: center;
}

.Alinear_Flex img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* GIF de la cárcel - PC */
.sec-1 {
    position: fixed;
    bottom: 235px;
    left: 410px;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* GIF del payaso - PC */
.sec-2 {
    position: fixed;
    bottom: 50px;
    left: 540px;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ventana del video */
.ventana-video {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.contenido-video {
    position: relative;
    width: 80%;
    max-width: 800px;
}

.contenido-video video {
    width: 100%;
    border-radius: 12px;
}

.cerrar-video {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

/* CONTENEDOR DE LA INVITACIÓN */
.invitacion-contenedor {
    position: relative;
    width: 470px;
    max-width: 100%;
    margin: 0 auto;
}

.invitacion-contenedor .Alinear_Flex img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ================================= */
/* AJUSTES EXCLUSIVOS PARA CELULARES */
/* ================================= */

@media screen and (max-width: 768px) {

    html, body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .invitacion-contenedor {
        position: relative;
        width: 94vw;
        max-width: 470px;
        margin: 0 auto;
    }

    .Alinear_Flex {
        width: 100%;
        justify-content: center;
    }

    .Alinear_Flex img {
        width: 100%;
        height: auto;
        max-height: none;
        display: block;
    }

    /* GIF DE LA CÁRCEL */
    .sec-1 {
        position: absolute;

        left: 50%;
        top: 34%;

        bottom: auto;
        width: 150px;
        height: 55px;

        transform: translate(-50%, -50%);

        display: flex;
        justify-content: center;
        align-items: center;

        z-index: 5;
    }

    .sec-1 img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* GIF DEL PAYASO */
    .sec-2 {
        position: absolute;

        left: 15%;
        top: 82%;

        bottom: auto;
        width: 145px;
        height: 145px;

        transform: none;

        display: flex;
        justify-content: center;
        align-items: center;

        z-index: 5;
    }

    .sec-2 img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        cursor: pointer;
    }

    /* VENTANA DEL VIDEO */
    .contenido-video {
        width: 94%;
    }
}

/* ================================= */
/* CELULARES PEQUEÑOS */
/* ================================= */

@media screen and (max-width: 380px) {

    .sec-1 {
        width: 125px;
        height: 50px;
    }

    .sec-2 {
        width: 125px;
        height: 125px;
        left: 13%;
    }

}