@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: 1468px;
    height: 253px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -3;
    overflow: hidden;
}

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

.yelow-rose {
    position: absolute;
    top: -112px;
    left: 1154px;
    z-index: 3;
}

.confetti {
    position: absolute;
    width: 1314px;
    height: 339px;
    top: -41px;
    left: 117px;
    animation: kenburns-top2 30s both;
}

.logo {
    position: absolute;
    top: 43px;
    left: 27px;
    z-index: 4;
}

.text {
    font-family: 'opun_mairegular';
    position: absolute;
    top: 99px;
    left: 472px;
    font-size: 86px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    color: white;
    letter-spacing: 4px;
    animation: zoom-in-zoom-out 1.5s ease;
}


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

@keyframes kenburns-top2 {
    0% {

        transform: scale(0.9) translateY(-20px);
    }


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

/*.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%;
    }
}

/* text----------------------------------------------*/
@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(0.9, 0.9);
        opacity: 0%;
    }

    90% {
        transform: scale(1.1, 1.1);
        opacity: 100%;
    }

    100% {
        transform: scale(1, 1);
        opacity: 100%;
    }

}