body {
    margin: 0;
    padding: 0;
    background: url('images/hearts-background.jpeg') repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    overflow: hidden;
}

.overlay {
    background: rgba(199, 21, 133, 0.7); /* Dark pink with transparency */
    padding: 20px;
    width: 80%;
    margin: 10px auto;
    max-width: 1200px;
    border-radius: 10px;
    font-size: 22px;
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bubble-container {
    max-height: 70vh; /* Take up remaining space but leave some room for margins */
    overflow-y: auto; /* Enable scrolling */
    padding: 20px 0; /* Space around the bubbles */
    box-sizing: border-box; /* Ensure padding doesn't affect layout calculations */
    flex-grow: 1; /* Allow this container to take up available space */
    width: 80%;
}

.bubble {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    background: inherit;
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    width: 70%;
}

.overlay img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    max-height: 70%;
}
