:root {
    --Myfont: Roboto;

    /* colores */
    --DarkBackground1: #ffffff;
    --DarkBackground2: #f0f0f0;
    --DarkBackground3: #fafafa;

    --Grey1: #444444;
    --Grey2: #545454;
    --Grey3: #666666;
    --Grey4: rgb(170, 170, 170);

    --AzulPixelcom: #137cbd;
}

div {
    color: black;
}

.raceEnd {
    background: #00000073;
    height: 100%;
    width: 100%;
    z-index: 1;
    position: absolute;
    display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-animation: scale-up-ver-center 4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: scale-up-ver-center 4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    visibility: hidden;
}

.txtEnd {
    text-align: center;
    font-size: 100px;
    font-weight: 400;
    font-style: italic;
    -webkit-animation: tracking-in-expand 3s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 3s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    visibility: hidden;
    color: rgb(255, 255, 255);
}

@keyframes my-fancy-animation {
    50% {
        transform: rotateY(180deg)
    }

    100% {
        transform: rotateY(80deg)
    }
}



/* rectangle */
@keyframes scale-up-ver-center {
    0% {

        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
    }

    30% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    95% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
        opacity: 0;
    }

}

/* text */
@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.3em;
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    25% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }


}


@media screen and (max-width: 556px) {
    .txtEnd {
        font-size: 50px;
    }
}