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

body {
    background-color: #ffffff;
}

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: 0px 0 0 0;
    position: relative;
    overflow: hidden;
}

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

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

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

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

@-webkit-keyframes spin-arrow {
    50% {
        -webkit-transform: rotate(100deg);
        transform: rotate(100deg)
    }
}

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

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

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

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

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

.item-4 {
    position: absolute;
    top: -51px;
    left: -1px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    max-width: 500px;
    height: 500px;
}

@-webkit-keyframes spin-arrow11 {
    50% {
        -webkit-transform: rotate(50deg);
        transform: rotate(50deg)
    }
}


.img-4 {
    position: relative;
    width: 100%;
}
.spin {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #034270;
    text-decoration: none;
    font-size: 33px;
    font-weight: 900;
    -webkit-text-stroke: #fff 1px;
}

.spin:hover {
    color: #045814;
}



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

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

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

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

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

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



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

.item-6 {
    position: absolute;
    top: -35px;
    left: 6px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    max-width: 600px;
    height: 600px;
}

img.img-6 {
    width: 600px;
    height: 600px;
}


.item-7 {
    position: absolute;
    top: -35px;
    left: 6px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

img.img-7 {
    width: 100px;
}

.spin img {
    position: relative;
    width: 515px;
}

.img-5:hover {
    transform: scale(0.95);
}


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

.reword-pop {
    border-radius: 5%;
    background-image: url('../img/bg.png');
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    padding: 10px;
    text-align: center;
    border: 1px solid #7f7f29;
    overflow: hidden;
    /* background: linear-gradient(to bottom, #2c537a 7%, #7c0101 100%, #694303 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: #ffaf00;
}

.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: #034270;
    color: #ffffff;
    font-weight: 900;
    border: 1px solid #ffffff;
    padding: 10px 116px;
}

.reword-pop .modal-footer button:hover {
    background-color: #045814;
}

@-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;
    }

    .item-1 {
        top: -51px;
        left: 4px;
        bottom: 0;
        right: 0;
        max-width: 440px;
        height: 440px;
    }

    .item-2 {
        top: -81px;
        left: -6px;
        right: 0;
    }

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

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

    .item-3 {
        top: -81px;
        left: -6px;
        right: 0;
    }

    .item-4 {
        top: -81px;
        left: -6px;
        right: 0;
    }

    .img-4 {
        position: relative;
        width: 97%;
    }

    .item-5 {
        top: -128px;
        left: -1px;
    }


    .spin {
        font-size: 28px;
    }


    .spin img {
        position: relative;
        width: 452px;
    }
}

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

    .item-1 {
        top: 10px;
        left: 10px;
        bottom: 0;
        right: 0;
        max-width: 300px;
        height: 300px;
    }

    .item-2 {
        top: -89px;
        left: -25px;
        right: -22px;
    }

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

    .item-3 {
        top: -89px;
        left: -25px;
        right: -22px;
    }

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

    .item-4 {
        top: -89px;
        left: -25px;
        right: -22px;
    }

    .img-4 {
        position: relative;
        width: 85%;
    }

    .spin {
        font-size: 27px;
    }

    .item-5 {
        top: -139px;
    }

    .spin {
        width: 100px;
        height: 100px;
    }

    .spin img {
        position: relative;
        width: 322px;
    }

    .reword-pop .modal-footer button {
        margin: 0;
        background: linear-gradient(to bottom, #ffffff 7%, #ffffff 100%, #694303 6%);
        color: #1a8900;
        font-weight: 900;
        border: 1px solid #ffffff;
        padding: 9px 65px;
    }

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



}



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

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

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


.rotate1 {
    animation: rotation1 10s infinite linear;
}

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

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










.item img {
    -webkit-animation: e 2s ease-in-out infinite alternate;
    animation: e 2s 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)
    }
}