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

* {
    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;
}

.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: 1;
}

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

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

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

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

.img-3 {
    position: relative;
    width: 13%;
    /* 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: 336px;
    /* width: 100%; */
}

.img-4 {
    position: relative;
    width: 100%;
    /* height: 14%; */
}

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

.img-5 {
    position: relative;
    width: 112%;
    /* height: 54%; */
}

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

.img-6 {
    position: relative;
    width: 106%;
    /* 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: 1px solid #ffffff;
    overflow: hidden;
    padding: 25px 0 10px 0;
    background: linear-gradient(to bottom, #000000 7%, #603d15 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: 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, #7a4a09 7%, #696969 100%, #694303 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;
    }
}

@media screen and (max-width:995px) {
    .img-4 {
        position: relative;
        width: 100%;
        /* height: 14%; */
    }

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

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

@media screen and (max-width:600px) {


    .reword-pop {
        border: 4px solid #b07b2e;
    }

    .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) {
    .main-box {
        max-width: 310px;
        /* height: 271px; */
        margin: 56px auto 0;
    }

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

    .item-5 {
        position: absolute;
        /* top: -18%; */
        left: 13px;
        bottom: 184px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

    .img-5 {
        position: relative;
        width: 59%;
        /* height: 14%; */
    }

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

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


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

    .item-4 {
        position: absolute;
        top: 35%;
        left: -28px;
        /* bottom: 0; */
        /* right: 0; */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
    }

    .img-4 {
        position: relative;
        width: 94%;
        /* height: 14%; */
    }

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

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

}



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

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

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






.wrapper.one {
    background-color: transparent;
    display: inline-block;
    padding: 18px 0px 0;
    border-radius: 10px;
    margin: -12px 0 7px 0;
}

.drop-main {
    display: flex;
    font-size: 39px;
    /* margin: 1.5rem; */
    justify-content: center;
    font-family: "Russo One", sans-serif;
}

.s {
    opacity: 0;
    animation: drop 2.1s linear forwards;
    color: #de4040;
}

.p {
    opacity: 0;
    animation: drop 2.2s linear forwards;
    color: #ffffff;
}

.i {
    opacity: 0;
    animation: drop 2.3s linear forwards;
    color: #ccffff;
}

.n {
    opacity: 0;
    animation: drop 2.4s linear forwards;
    color: #99ffff;
}

.and {
    opacity: 0;
    animation: drop 2.5s linear forwards;
    color: #00ffff;
}

.w {
    opacity: 0;
    animation: drop 2.6s linear forwards;
    color: #99ffd1;
}

.ii {
    opacity: 0;
    animation: drop 2.7s linear forwards;
    color: #ff99ca;
}

.nn {
    opacity: 0;
    animation: drop 2.8s linear forwards;
    color: #cf99ff;
}






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