.gift {
    position: relative;
    width: 150px;
    height: 150px;
    background: #d2232a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.gift:before {
    width: 20px;
    height: 150px;
    left: 65px;
    top: 0;
}

.gift:before,
.gift:after {
    content: '';
    position: absolute;
    background: #fff;
}


.ribbon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    top: -25px;
    left: 45px;
    z-index: 10;
}





.ribbon:before {
    transform: rotate(-25deg);
    left: -45px;
    top: -10px;
    box-shadow: inset -8px 8px 0 rgba(0, 0, 0, 0.1);
}

.ribbon:before,
.ribbon:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 40px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    transform-origin: bottom;
    z-index: -1;
}





.tail.left {
    transform: rotate(-30deg);
    left: 20px;
    box-shadow: inset -5px 5px 0 rgba(0, 0, 0, 0.1);
}

.tail {
    position: absolute;
    width: 20px;
    height: 40px;
    background: #fff;
    top: 70px;
    z-index: -1;
}




.tail.right {
    transform: rotate(30deg);
    right: 20px;
    box-shadow: inset 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.tail {
    position: absolute;
    width: 20px;
    height: 40px;
    background: #fff;
    top: 70px;
    z-index: -1;
}

.ribbon:after {
    transform: rotate(25deg);
    right: -45px;
    top: -10px;
    box-shadow: inset 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.ribbon:before,
.ribbon:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 40px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    transform-origin: bottom;
    z-index: -1;
}

.gift:after {
    width: 150px;
    height: 20px;
    left: 0;
    top: 65px;
}

.gift:before,
.gift:after {
    content: '';
    position: absolute;
    background: #fff;
}


.__box_surprise_overlay_user {
    position: absolute;
    width: 400px;
    height: 350px;
    left: 50%;
    top: 50%;
    display: none;
    z-index: 20;
    transform: translate(-50%, -50%);
}



.__description_gift {

    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.__description_gift p {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: black;
    width: 75%;
    text-align: justify;
    line-height: 33px;
}

.__head_icon_gift_girl {
    width: 200px;
    height: 200px;
    background-image: url('/assets/imgs/gift_icon_style.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}




.__surprise_content_head {

    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 10px;
    animation: animation_head_content 1s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;

}

@keyframes animation_head_content {
    0% {
        transform: scale(0.6);
        opacity: 0.8;

    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }


    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.__close_x {
    color: red;
    right: 10px;
    top: 10px;
    position: absolute;
    width: 30px;
    height: 30px;
}


.__aligment_container {
    position: absolute;
    right: 10px;
    top: 10px;
}

.close-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all .25s ease;
    background-color: red;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn span {
    position: absolute;
    width: 10px;
    height: 2.5px;
    background: #fff;
    border-radius: 999px;
    transition: all .25s ease;
}

.close-btn span:first-child {
    transform: rotate(45deg);
}

.close-btn span:last-child {
    transform: rotate(-45deg);
}



.close-btn:active {
    transform: scale(0.95);
}

.close-btn:hover span {
    width: 20px;
}