/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/


/*************** ADD CUSTOM CSS HERE.   ***************/

#header,
#footer {
    display: none;
}

body {
    margin: 0;
}

.main-lucky {
    position: relative;
    padding-top: 80px;
    padding-left: 96px;
    padding-right: 96px;
    text-align: center;
    overflow-x: hidden;
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 40 !important;
}

.bg-main {
    --tw-bg-opacity: 1;
    background-color: rgb(0 0 0 / var(--tw-bg-opacity));
    z-index: -1;
    inset: 0;
    position: fixed;
}

.bg-main img {
    position: absolute;
    height: 100%;
    width: 100%;
    inset: 0px;
    color: transparent;
    object-fit: cover;
    background-attachment: fixed;
}

.bg-main .bg-top {
    background: linear-gradient(rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
    height: 200px;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    position: absolute;
}

.main-lucky h1 {
    font-size: 60px;
    line-height: 1.5;
    font-weight: 700;
    margin: 0 !important;
    white-space: pre-line;
    color: transparent;
    background-clip: text;
    background-image: linear-gradient(to bottom, #ff8a00, #ffd600);
}

.number-lucky .row {
    max-width: 959px;
    padding: 12px;
    gap: 8px;
    margin-top: 0px;
    margin-bottom: 0px;
    align-items: center;
    justify-content: center;
}

.number-lucky .group {
    padding: 4px;
    position: relative;
    width: auto;
}

.number-lucky .will-change-transform {
    will-change: transform;
    z-index: 1;
    inset: 0;
    position: absolute;
    background-size: 400% 400%;
    background-image: linear-gradient(135deg, rgb(168, 237, 234) 0%, rgb(254, 214, 227) 25%, rgb(168, 237, 234) 50%, rgb(210, 153, 194) 75%, rgb(168, 237, 234) 100%);
    border-radius: 21px;
    background-position: 93.1856% 50%;
    background-size: 400% 400%;
}

.number-lucky .animated-container {
    border-radius: 21px;
    width: 100%;
    height: 100%;
    z-index: 10;
    position: relative;
}

.number-lucky .animated-inner {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 17px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 48px;
    color: #fff;
    font-weight: 700;
    background: var(--Gold, linear-gradient(180deg, #FF8A00 0%, #FFD600 100%));
    transition-timing-function: cubic-bezier(.17, .67, .32, 1.3);
}

.number-lucky .text-number {
    color: #fff;
    font-size: 60px;
    font-family: Anton, sans-serif;
    font-weight: 400;
    height: 90px;
    overflow: hidden;
    position: relative;
    width: 50px;
    display: flex;
    flex-direction: column;
}

.spin-transform {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 2.5s cubic-bezier(.15, .85, .25, 1);
    pointer-events: none;
}


/* .text-number span {
    position: absolute;
    left: 0;
    width: 100%;
} */

@keyframes dropOut {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(120%);
    }
}

@keyframes dropIn {
    0% {
        transform: translateY(-120%);
    }
    100% {
        transform: translateY(0);
    }
}

.button-quay {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#draw-button {
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .2s;
    animation-name: fadeInUp;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

.text-quay {
    position: absolute;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    margin: 0;
    -webkit-animation-name: pulse;
    animation-name: pulse;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@keyframes pulse {
    0% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }
    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05)
    }
    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }
}

#fireworks-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}