@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital@1&display=swap');

body {
    background-color: #1a1a1a; /* Dark background */
    font-family: 'EB Garamond', serif; /* A more melancholic serif font */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    color: #cccccc; /* Light text color for contrast */
}

.letter-container {
    background-color: #2b2b2b; /* Darker letter background */
    padding: 50px;
    max-width: 700px;
    width: 80%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* Deeper shadow */
    border-left: 3px solid #00aaff; /* A vibrant, lonely blue */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInContainer 2s ease 1s forwards, pulseBorder 4s infinite ease-in-out; /* Slower fade-in and new pulse animation */
}

/* The text styles are removed, as there is no text */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Slower fade-in animation */
@keyframes fadeInContainer {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulsating border animation for the 'vibrant/resilient' feel */
@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(0, 170, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(0,0,0,0.6), 0 0 15px 10px rgba(0, 170, 255, 0);
    }
    100% {
        box-shadow: 0 0 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(0, 170, 255, 0);
    }
}