/* CSS for La Gelidense Connect */

:root {
    --bg-main: #a6aa98;
}

body {
    background-color: var(--bg-main);
    text-align: center;
}

header {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

header p {
    font-size: 1.25em;
}

h1 {
    font-size: 4em;
}

h2 {
    font-size: 2em;
}

a {
    color: black;
    text-decoration: none;
}

.bubble-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.bubble, .back-bubble {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.5rem;
    width: 250px;
    height: 250px;
    border-radius: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: transform 0.5s ease, opacity 0.5s ease;
    position: relative;
    cursor: pointer;
}

.bubble:hover, .back-bubble:hover {
    transform: scale(1.05);
}

@keyframes expandBubble {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.bubble, .back-bubble {
    animation: scale-up 0.5s forwards;
}

.back-bubble {
    background-color: #444; /* Dark background for the back button */
    cursor: pointer;
}

.back-bubble {
    background-color: #444; /* Dark background for the back button */
    color: #fff; /* White text color for visibility */
    cursor: pointer;
    transition: transform 0.5s ease; /* Smooth scaling transition */
}

.bubble h2 {
    margin: 0; /* Removes default margin for cleaner appearance */
    color: inherit; /* Ensures text color matches styling from parent */
}