body {
    background: #ddd;
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.heart {
    position: relative;
    width: 120px;
    height: 120px;
    background: red;
    transform: rotate(-45deg);
    animation: beat 1s infinite;
}

.heart::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: red;
    border-radius: 50%;
    top: -60px;
    left: 0;
}

.heart::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: red;
    border-radius: 50%;
    left: 60px;
    top: 0;
}

.btn {
    display: block;
    position: relative;
    padding: 10px 20px;
    font-size: clamp(18px, 5vw, 28px);
    border: none;
    border-radius: 8px;
    background: #ff4d6d;
    color: white;
    cursor: pointer;
    z-index: 2;

}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.letter {

    width: 90%;
    max-width: 600px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 3;

    opacity: 0;
    transform: translateY(-50%);
    transition: 0.5s;
    pointer-events: none;
}

.show {
    opacity: 1;
    transform: translateY(10%);
}

@media (max-width:600px) {
    .show {
        transform: translateY(50%);
    }
}

.letter p,
.letter h3 {
    font-size: clamp(16px, 20vw, 40px);
}

@keyframes beat {

    0% {
        transform: rotate(-45deg) scale(1);
    }

    50% {
        transform: rotate(-45deg) scale(1.2);
    }

    100% {
        transform: rotate(-45deg) scale(1);
    }

}


h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 40px;
    font-family: sans-serif;
}