:root {
    --Myfont: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

    /* colores */
    --DarkBackground1: #ffffff;
    --DarkBackground2: #f0f0f0;
    --DarkBackground3: #fafafa;

    --Grey1: #444444;
    --Grey2: #545454;
    --Grey3: #666666;
    --Grey4: rgb(170, 170, 170);

    --AzulPixelcom: #137cbd;
    --NaranjaPixelcom: #ff6000;
    --RojoLive: #e10600;

    /* geometría de la marca: el skew de -10deg del badge LIVE es el motivo de carreras */
    --skew: -10deg;
    --radius-s: 4px;
    --radius-m: 8px;
    --radius-l: 14px;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .06);
    --shadow-m: 0 4px 16px rgba(0, 0, 0, .07);
    --shadow-l: 0 10px 34px rgba(0, 0, 0, .10);
    --speed: .38s;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

div {
    color: black;
}

/* Textura sutil de asfalto: líneas diagonales del mismo ángulo que el skew */
body {
    font-family: var(--Myfont);
    -webkit-font-smoothing: antialiased;
    background-color: var(--DarkBackground3);
    background-image: repeating-linear-gradient(100deg,
            rgba(0, 0, 0, .014) 0 1px,
            transparent 1px 9px);
}

.raceEnd {
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px) saturate(.9);
    -webkit-backdrop-filter: blur(6px) saturate(.9);
    height: 100%;
    width: 100%;
    /* por encima de la cabecera sticky (z-index: 3) y de las filas en movimiento (z-index: 2) */
    z-index: 10;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    border-radius: var(--radius-l);
    -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: clamp(38px, 8vw, 92px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.02em;
    line-height: 1.05;
    padding: 18px 42px;
    transform: skewX(var(--skew));
    border-left: 6px solid var(--NaranjaPixelcom);
    background: rgba(0, 0, 0, .35);
    -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;
    }
}