body, html {
    width: 100%;
    height: 100%;
}
body {
    position: relative;
    background-color: black;
    background-image: url('../images/fondo-01.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto 150%;
    overflow: hidden;
}
.gradient {
    position: absolute;
    width: 100vw;
    height: 50%;
    left: 0;
    bottom: 0;
    z-index: 1;
}
.cast {
    position: absolute;
    height: 55%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -10%);
    transform: translate(-50%, -10%);
    animation-name: castMobile;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation-name: castMobile;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    z-index: 2;
}
.rafa {
    position: absolute;
    height: 250px;
    top: 72%;
    left: 50%;
    /* -webkit-transform: translate(-50%, -10%);
    transform: translate(-50%, -10%); */
    animation-name: rafaAnim;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation-name: rafaAnim;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    z-index: 3;
}
.invito {
    width: 90%;
    position: absolute;
    left: 50%;
    bottom: 22%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    animation-name: teinvitoAnim;
    animation-duration: 4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation-name: teinvitoAnim;
    -webkit-animation-duration: 4s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    z-index: 4;
}
.datos {
    width: 90%;
    position: absolute;
    left: 50%;
    bottom: 11%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    animation-name: teinvitoAnim;
    animation-duration: 4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation-name: teinvitoAnim;
    -webkit-animation-duration: 4s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    z-index: 4;
}
.botones {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    left: 0;
    bottom: 10px;
    z-index: 100;
}
.botones .google {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}
.botones .waze {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #32c1f0;
}
.botones .google img {
    width: 40px;
}
.botones .waze img {
    width: 40px;
}
@media (min-width: 992px) {
    body {
        background-size: cover;
    }
    .cast {
        -webkit-animation-name: castDesktop;
        animation-name: castDesktop;
        height: 60%;
    }
    .rafa {
        height: 300px;
        top: 72%;
    }
    .invito {
        width: 500px;
    }
    .datos {
        bottom: 10%;
        width: 400px;
    }
    .botones .google {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }
    .botones .waze {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }
    .botones .google img {
        width: 30px;
    }
    .botones .waze img {
        width: 30px;
    }
}

@-webkit-keyframes castMobile {
    from {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%, -90%);
        transform: translate(-50%, -90%);
        opacity: 1;
    }
}
@keyframes castMobile {
    from {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%, -90%);
        transform: translate(-50%, -90%);
        opacity: 1;
    }
}
@-webkit-keyframes teinvitoAnim {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@keyframes teinvitoAnim {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@-webkit-keyframes rafaAnim {
    from {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%, -90%);
        transform: translate(-50%, -90%);
        opacity: 1;
    }
}
@keyframes rafaAnim {
    from {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%, -90%);
        transform: translate(-50%, -90%);
        opacity: 1;
    }
}
@-webkit-keyframes castDesktop {
    from {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%, -90%);
        transform: translate(-50%, -90%);
        opacity: 1;
    }
}
@keyframes castDesktop {
    from {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%, -90%);
        transform: translate(-50%, -90%);
        opacity: 1;
    }
}
