/*Scratch cards*/
.scratch-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 0 20px;
}

.scratch-description {
    margin: 0 auto;
    text-align: center;
    font-size: 6.3em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 38px;
    padding: 0 45px;
}

.scratch-cards__explication {
    flex: 1;
    max-width: 600px;
    height: 33.33em;
    position: relative;
}

.scratch-cards__explication.is--animate::before {
    content: "";
    position: absolute;
    z-index: 2;
    width: 15em;
    height: 21em;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/bonus/hand.webp);
    animation: scratch 4s ease-in-out infinite;
}

@-webkit-keyframes scratch {
    0% {
        top: 5%;
        left: 5%;
    }
    25% {
        top: 20%;
        left: 85%;
    }
    50% {
        top: 40%;
        left: 5%;
    }
    75% {
        top: 60%;
        left: 85%;
    }
    100% {
        top: 80%;
        left: 5%;
    }
}

.scratch-cards__item {
    flex: 1;
    max-width: 600px;
    height: 33.33em;
    border: 5px solid #fff;
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(177, 251, 145, 0.75) 0%,
        rgba(228, 35, 140, 0.75) 100%
    );
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 5.77px 0 rgba(0, 0, 0, 0.3);
}
.scratch-cards__item:nth-child(1) .bonus-item {
    font-size: 9.7em;
}
.scratch-cards__item:nth-child(2) .bonus-item {
    font-size: 9.7em;
}
.scratch-cards__item:nth-child(3) .bonus-item {
    font-size: 9.7em;
}
.scratch-cards__item .sc__inner {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.scratch-cards__item canvas {
    position: relative;
}

.scratch-cards__item img {
    position: absolute;
    width: 100%;
    height: 100%;
}

.scratch-cards__item .inner-html {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.scratch-cards__item .bonus-item {
    position: relative;
    text-transform: uppercase;
    color: #b832fd;
    padding: 2px;
}

@media (max-width: 767px) {
    .scratch-cards {
        flex-direction: column;
        gap: 10px;
    }

    .scratch-cards__item {
        flex: unset;
        width: 300px;
        height: 200px;
        border: 2px solid #fff;
    }


    .scratch-description {
        font-size: 25px;
        margin: 15px 0;
    }
}

.scratch-container {
    position: relative;
    z-index: 10;
    margin-top: 3em;
    background-size: cover;
}
@media (max-width: 768px) {
    .scratch-container {
        z-index: 1;
        margin-top: 0;
    }
}

.scratch-container .scratch-cards__explication,
.scratch-container .scratch-cards__item {
    border-color: #fff;
    height: 45em;
}
@media (max-width: 1024px) {
    .scratch-container .scratch-cards__explication,
    .scratch-container .scratch-cards__item {
        height: 42em;
    }
}
@media (max-width: 768px) {
    .scratch-container .scratch-cards__explication,
    .scratch-container .scratch-cards__item {
        height: 200px;
    }
}
.scratch-container .scratch-cards__item {
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 204, 1, 0.75) 0, rgba(255, 65, 1, 0.75) 100%);
    /* background-image: url("../images/CR2.png"); */
}
.scratch-container .bonus-item {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 90px !important;
    display: flex;
    align-items: center;
    justify-content: center;

    /* color: #ff7801 !important; */
    /* background: 0 0; */
    background-image: url(../img/bonus/bonus.png);
    background-size: cover;
    text-shadow: 0 -3px 1px #fff, -2px -2px 1px #fff, -1px -2px 1px #fff, 0 -2px 1px #fff, 1px -2px 1px #fff,
    2px -2px 1px #fff, -2px -1px 1px #fff, -1px -1px 1px #fff, 0 -1px 1px #fff, 1px -1px 1px #fff,
    2px -1px 1px #fff, -3px 0 1px #fff, -2px 0 1px #fff, -1px 0 1px #fff, 0 0 1px #fff, 1px 0 1px #fff,
    2px 0 1px #fff, 3px 0 1px #fff, -2px 1px 1px #fff, -1px 1px 1px #fff, 0 1px 1px #fff, 1px 1px 1px #fff,
    2px 1px 1px #fff, -2px 2px 1px #fff, -1px 2px 1px #fff, 0 2px 1px #fff, 1px 2px 1px #fff, 2px 2px 1px #fff,
    0 3px 1px #fff;
    -webkit-font-smoothing: antialiased;
}
@media (max-width: 1024px) {
    .scratch-container .bonus-item {
        text-shadow: 0 -2px 1px #fff, -1px -1px 1px #fff, 0 -1px 1px #fff, 1px -1px 1px #fff, -2px 0 1px #fff,
        -1px 0 1px #fff, 0 0 1px #fff, 1px 0 1px #fff, 2px 0 1px #fff, -1px 1px 1px #fff, 0 1px 1px #fff,
        1px 1px 1px #fff, 0 2px 1px #fff;
        -webkit-font-smoothing: antialiased;
    }
}

.inner-html.card-money img {
    display: none;
}

.sc__canvas {
    width: 100%;
    min-height: 100%;
}

@media (max-width: 768px) {


    .scratch-cards__item {
        width: 100%;
        height: 50vw !important;

    }
    .scratch-cards__explication.is--animate, .scratch-cards__explication {
        width: 100%;
    }
    .scratch-container {
        margin: auto;
        width: 100%;
    }
}

