* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    background-color: #2c3e50; /* Cor de fundo */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
}

.container {
    text-align: center;
    color: #fff;
    position: relative;
    top: -50px; /* Eleva o conteúdo */
}

#titulo {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
}

#mensagem {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.heart {
    width: 150px;
    height: 150px;
    position: relative;
    background-color: #e74c3c;
    transform: rotate(-45deg);
    margin: 0 auto;
    animation: heartbeat 1.5s infinite; /* Animação de batimento cardíaco */
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2); /* Sombra suave */
}

.heart::before,
.heart::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background-color: #e74c3c;
}

.heart::before {
    width: 150px;
    height: 150px;
    top: -75px;
    left: 0;
}

.heart::after {
    width: 150px;
    height: 150px;
    top: 0;
    left: 75px;
}

.heart:hover {
    transform: scale(1.1) rotate(-45deg);
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.4); /* Realce ao passar o mouse */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#mensagem-especial {
    font-size: 1.5rem;
    color: #FFD700;
    margin-top: 20px;
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    animation: typing 4s steps(40, end) forwards, blink 0.75s step-end infinite;
    width: 0;
}

/* Animação de batimento cardíaco */
@keyframes heartbeat {
    0%, 100% {
        transform: rotate(-45deg) scale(1);
    }
    50% {
        transform: rotate(-45deg) scale(1.1);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from { border-color: transparent; }
    to { border-color: #FFD700; }
}
