@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    height: 100vh;
    overflow:hidden;
}

ul {
    list-style: none;
}

.main {
    max-width: 100%;
    height: 100vh;
    margin: 0 auto;
    text-align: center;
    position: relative;
    background-image: url("../img/bg.png");
    background-position: center;
    background-size: cover;
    padding: 20px 0 0 0;
    position: relative;
    overflow:hidden;    
}

.main h1 {
    color: #fff;
    font-weight: 900;
    margin: 0 0 35px 0;
}

.main-box {
    max-width: 460px;
    height: 428px;
    margin: 20px auto 0;
    position: relative;
}

.item-1 {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

.img-1 {
    position: relative;
    width: 100%;
}

.item-2 {
    position: absolute;
    top: 0px;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

.img-2 {
    position: relative;
    width: 100%;
    /* height: 95%; */
}

.item-3 {
    position: absolute;
    top: -150px;
    left: 0px;
    /* bottom: 0; */
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.img-3 {
    position: relative;
    width: 160%;
    /* height: 54%; */
}

.item-4 {
    position: absolute;
    top: -6%;
    /* left: 245px; */
    /* bottom: 0; */
    right: -266px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    max-width: 400px;
    /* width: 100%; */
}


.item img {
    -webkit-animation: e 3s ease-in-out infinite alternate;
    animation: e 3s ease-in-out infinite alternate;
   }

.item-gift {
    -webkit-transform: translate(10%, 5%);
    -ms-transform: translate(10%, 5%);
    transform: translate(10%, 5%);
}


@-webkit-keyframes e {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    to {
        -webkit-transform: translateY(15px);
        transform: translateY(15px)
    }
}
.img-4 {
    position: relative;
    width: 100%;
}
.item-7 {
    position: absolute;
    top: 8%;
    /* left: 245px; */
    /* bottom: 0; */
    left: -266px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    max-width: 260px;
    /* width: 100%; */
}


.item img {
    -webkit-animation: e 3s ease-in-out infinite alternate;
    animation: e 3s ease-in-out infinite alternate;
   }

.item-gift {
    -webkit-transform: translate(10%, 5%);
    -ms-transform: translate(10%, 5%);
    transform: translate(10%, 5%);
}


@-webkit-keyframes e {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    to {
        -webkit-transform: translateY(15px);
        transform: translateY(15px)
    }
}
.img-7 {
    position: relative;
    width: 100%;
}

.item-5 {
    position: absolute;
    top: -22px;
    left: 6px;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100px;
    margin: 0 auto;
    z-index: 9;
}

.img-5 {
    position: relative;
    width: 100%;
    /* height: 54%; */
}
button.spin_button {
    position: absolute;
    background: transparent;
    border: none;
    font-size: 29px;
    margin-top: 20px;
    font-weight: 700;
}
button.spin_button a {
    text-decoration: none;
    color: #fff;
    padding: 8px;
    border-radius: 50%;
}
.item-6 {
    position: absolute;
    top: 0px;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.img-6 {
    position: relative;
    width: 100%;
    /* height: 14%; */
    border-radius: 7px;
    transform: rotate(1deg);
}

.modal-header,
.modal-body,
.modal-footer {
    border: none;
}

.reword-pop {
    border-radius: 5%;
    background-color: #000;
    text-align: center;
    border: 8px solid #ffffff;
    overflow: hidden;
    padding: 25px 0 10px 0;
    background: linear-gradient(to bottom, #8b65c5 7%, #59349d 100%, #3e0a65 100%);
}

.reword-pop .modal-header {
    width: 220px;
    /* height: 215px; */
    margin: -29px auto;
}

.reword-pop .modal-header img {
    width: 100%;
    height: 100%;
}

.reword-pop .modal-body {
    margin: 0 auto;
}

.reword-pop .modal-body h4 {
    font-size: 50px;
    font-weight: 900;
    margin: 20px 0 10px 0;
    color: rgb(255 255 255);
}

.reword-pop .modal-body h2 {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
}

.reword-pop .modal-body h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;

}

.reword-pop .modal-body h4 strong {
    color: #efae31;
}

.reword-pop .modal-footer {
    margin: 0 auto;
}

.reword-pop .modal-footer button {
    margin: 0;
    background: linear-gradient(to right, #a57ac5 7%, #8b65c5 100%, #f5f5f5 6%);
    color: #ffffff;
    font-weight: 900;
    border: 1px solid #ffffff;
    padding: 10px 116px;
}



@-webkit-keyframes animateOpacity {
    from {
        opacity: 0;
    }

    5% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    95% {
        opacity: 0.6;
    }

    to {
        opacity: 0;
    }
}
body.modal-open {
    overflow: hidden;
    height: 100% !important;
    padding-right: 0px !important;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    outline: 0;
}
@media screen and (max-width:995px) {
img.img-0 {
    max-width: 500px;
}

@media screen and (max-width:700px) {
    .img-4 {
        display: none;
    }
    .img-7 {
        display: none;
    }
}

@media screen and (max-width:600px) {
img.img-0 {
    max-width: 430px;
}

.reword-pop {
    border: 4px solid #fff;
}
    .reword-pop .modal-header {
        /* height: 175px; */
        margin: -27px auto;
        width: 186px;
    }

    .reword-pop .modal-body h4 {
        font-size: 30px;
    }

    .reword-pop .modal-footer button {
        padding: 7px 16px;
    }

}

@media screen and (max-width:450px) {
    img.img-0 {
    max-width: 300px;
}
    .main-box {
        max-width: 310px;
    }

    .item-3 {
        position: absolute;
        /* top: 123px; */
        left: 6px;
        bottom: -110px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }



    


    .reword-pop .modal-body h2 {
        color: #fff;
        font-size: 33px;
        font-weight: 600;
    }
  
}



