/* Normalize styles */
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');

html,
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    background-image: url('https://img.freepik.com/vector-gratis/estilo-polka-patron-corazon-amor-lindo-impresion-tela-textil_1017-52352.jpg?t=st=1749406529~exp=1749410129~hmac=6969a8056360ae859911363c1e0d8e9831e0b717083e1cbd27fe199b1fb6f5b8&w=1380');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    font-family: 'Arial', sans-serif;
    text-align: center;
    overflow: hidden;

    .message {
        background-color: rgba(255, 255, 255, 0.6);
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        font-size: 1.2em;
        color: #d63384;
        font-weight: bold;
        animation: bounce 1s infinite;
        z-index: 100;
        margin: 10px;
    }

    .text-bubble {
        background: rgba(255, 255, 255);
        color: #d63384;
        border-radius: 5px;
        padding: 5px 10px;
        font-size: 0.6em;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        max-width: 200px;
        word-wrap: break-word;
        line-height: 1.2;
        position: absolute;
        z-index: 1;

        opacity: 0;
        transform: scale(0.8);
        transition: opacity 0.4s ease, transform 0.4s ease;

        &.show {
            opacity: 1;
            transform: scale(1);
        }

        &.hide {
            opacity: 0;
            transform: scale(0.8);
        }

    }

    footer {
        position: absolute;
        bottom: 3px;
        left: 50%;
        transform: translateX(-50%);
        color: #d63384;
        font-size: 0.5em;
        text-align: center;
        z-index: 100;
    }

}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}