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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(45deg, rgba(77, 124, 185, 0.728), rgba(237, 107, 103, 0.628));
}

#container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 500px;
    height: 600px;
    overflow: hidden;
    text-align: center;
}

h1 {
    font-size: 48px;
    margin-bottom: 40px;
    margin-left: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin-left: 10px;
}

button {
    border: none;
    width: 90px;
    border-radius: 10px;
    font-size: 25px;
    padding: 8px;
    margin-top: 20px;
    color: #fff;
    cursor: pointer;
    transition: top 0.5s, left 0.5s;
}

#yes {
    background-color: rgb(225, 0, 0);
    margin-right: 100px;
}

#target {
    position: absolute;
    background-color: rgba(0, 89, 225);
    left: 300px;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 1000;
}

.popup p {
    font-size: 20px;
    font-weight: bold;
    color: rgb(237, 107, 103);
    margin-bottom: 20px;
}

.hearts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.heart {
    width: 20px;
    height: 20px;
    background-color: rgb(237, 107, 103);
    position: relative;
    transform: rotate(-45deg);
    animation: float 2s infinite;
}

.heart::before,
.heart::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgb(237, 107, 103);
    border-radius: 50%;
}

.heart::before {
    top: -10px;
    left: 0;
}

.heart::after {
    left: 10px;
    top: 0;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(-45deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) rotate(-45deg);
        opacity: 0;
    }
}
