@import '../../../assets/Styles/app.scss';

* {
    margin: 0;
    padding: 0;
}

main {
    height: 100dvh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: "Poppins", sans-serif;

    .block {
        position: relative;
        overflow: hidden;
        height: 50%;
        width: 100%;
        max-width: 700px;
        display: flex;
        position: relative; /* Adicionamos posição relativa para que os elementos absolutamente posicionados sejam relativos a este bloco */
    }

    .like {
        align-self: center;
        margin: 0 auto;
        aspect-ratio: 1/1;
        width: 200px;
        animation: move 2s ease-out infinite;
        z-index: 99999999;
    }

    p {
        text-align: center;
        font-weight: 400;
        font-size: $font_medium;
        color: $font_color_secondary;

        strong {
            font-size: $font_large;
            color: var(--oceanBlue);
        }
    }
}


.fireworks {
    position: absolute;
    aspect-ratio: 1/1;
    width: 0;
    animation: boom 0.8s ease-out infinite;
    opacity: 0;
}

@keyframes move {
    0% {
        transform: skew(0) scale(0.9);
    }
    50% {
        transform: skew(-0.08turn, 25deg);
    }
    100% {
        transform: skew(0) scale(0.9);
    }
}

@keyframes boom {
    70% {
        opacity: 1;
    }
    100% {
        width: 60px;
        opacity: 0;
    }
}
