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

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

body {
    background-color: #000000;
}

ul {
    list-style: none;
}

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

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

.main-box {
    max-width: 600px;
    height: 635px;
    margin: 0px auto 0;
    position: relative;
    /* overflow: hidden; */
}

.he-img {
    margin: 0 auto;
    width: 400px;
}

.item-1 {
    position: absolute;
    top: 16px;
    left: 10px;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    max-width: 550px;
    height: 554px;
}

.img-1 {
    position: relative;
    width: 81%;
    height: 80%;
}

.item-2 {
    position: absolute;
    top: 18px;
    left: 9px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    max-width: 550px;
    height: 550px;
    animation: spin-in-out 5s infinite ease-in-out;
}

.img-2 {
    position: relative;
    width: 75%;
}

.item-3 {
    position: absolute;
    top: -10px;
    left: 214px;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    max-width: 150px;
    height: 174px;
}

@keyframes anime11 {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.img-3 {
    position: relative;
    width: 42%;
    height: 43%;
}


@keyframes anime1 {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}



@-webkit-keyframes spin-in-out {
    0% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg)
    }

    50% {
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg)
    }

    100% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg)
    }
}

.item-5 {
    position: absolute;
    top: 220px;
    left: 206px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    max-width: 150px;
    height: 150px;
}

.spin img {
    width: 85px;
}

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

.reword-pop {
    border-radius: 5%;
    background-color: transparent;
    padding: 10px;
    text-align: center;
    border: 1px solid #ffffff;
    overflow: hidden;
    background-image: url(../img/bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 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: #ffffff;
    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 bottom, #ffffff 7%, #ffffff 100%, #694303 6%);
    color: #000000;
    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;
    }
}



@media screen and (max-width:600px) {
    .main-box {
        max-width: 450px;
        height: 450px;
        margin: 0px auto 0;
    }

    .img-1 {
        position: relative;
        width: 81%;
        height: 64%;
    }

    .item-1 {
        position: absolute;
        top: 16px;
        left: 10px;
        bottom: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        max-width: 550px;
        height: 554px;
    }

    .item-3 {
        position: absolute;
        top: 32px;
        left: 154px;
        bottom: -20px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        max-width: 150px;
        height: 174px;
    }

    .img-3 {
        position: relative;
        width: 33%;
        height: 33%;
    }

    .spin img {
        width: 67px;
    }

    .item-5 {
        position: absolute;
        top: 218px;
        left: 155px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
        max-width: 150px;
        height: 150px;
    }

    .item-5 {
        position: absolute;
        top: 216px;
        left: 153px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
        max-width: 150px;
        height: 150px;
    }

}

@media screen and (max-width:450px) {
    .main-box {
        max-width: 320px;
        height: 320px;
        margin: 0px auto 0;
    }

    .item-1 {
        position: absolute;
        top: 16px;
        left: 10px;
        bottom: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        max-width: 550px;
        height: 552px;
    }
    .img-1 {
        position: relative;
        width: 81%;
        height: 45%;
    }
    .spin img {
        width: 48px;
    }
    .item-5 {
        position: absolute;
        top: 216px;
        left: 90px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
        max-width: 150px;
        height: 150px;
    }
    .item-3 {
        position: absolute;
        top: 78px;
        left: 93px;
        bottom: -20px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        max-width: 150px;
        height: 174px;
    }
    .reword-pop .modal-footer button {
        margin: 0;
        background: linear-gradient(to bottom, #ffffff 7%, #ffffff 100%, #694303 6%);
               font-weight: 900;
        border: 1px solid #ffffff;
        padding: 9px 65px;
    }

    .reword-pop .modal-body h2 {
               font-size: 32px;
        font-weight: 600;
    }



}



.rotate {
    animation: rotation 25s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}











.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)
    }
}