@font-face {
    font-family: 'opun_mairegular';
    src: url('./fonts/opun_mai_regular-webfont.eot');
    src: url('./fonts/opun_mai_regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('./fonts/opun_mai_regular-webfont.woff2') format('woff2'),
        url('./fonts/opun_mai_regular-webfont.woff') format('woff'),
        url('./fonts/opun_mai_regular-webfont.ttf') format('truetype'),
        url('./fonts/opun_mai_regular-webfont.svg#opun_mairegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

* {
    margin: 0;
    padding: 0;
}

.main-content {
    background-color: #C31123;
    width: 1409px;
    height: 276px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -3;
    overflow: hidden;
}

.candle {
    position: absolute;
    top: 27px;
    left: 947px;
    z-index: 1;
    animation: scale-up-ver-bottom 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation-delay: 1.2s;
}

.fondo {
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 2;
    overflow: hidden;
}

.bottom-bar {
    position: absolute;
    top: 143px;
    left: -67px;
    z-index: 2;
}

.confetti {
    position: absolute;
    width: 1370px;
    height: 397px;
    top: -145px;
    left: -25px;
    animation: kenburns-top2 30s both;
}

.text {
    font-family: arial;
    font-size: 33px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    position: absolute;
    top: 226px;
    left: 227px;
    letter-spacing: -1px;
    z-index: 5;
    animation: tracking-in-expand-fwd 1.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}


/* confetti animation ----------------------------------------------*/

@keyframes kenburns-top2 {
    0% {

        transform: scale(0.8) translateY(-50px);
    }


    100% {
        transform: scale(1.1) translateY(50px);
    }
}

/*container-texto-----------------------*/

@keyframes tracking-in-expand-fwd {
    0% {
        letter-spacing: 1em;
        -webkit-transform: translateZ(1px);
        transform: translateZ(1px);
        opacity: 0;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}


/*.candle----------------------*/
@keyframes scale-up-ver-bottom {
    0% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
    }

    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
    }
}