#animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sphere {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(255, 87, 87, 1), rgba(0, 0, 0, 0.5));
    transition: transform 0.2s ease-in-out;
    /* Smooth transform */
}

.sphere.fast-rotating {
    animation: rotate-fast 2s linear infinite;
}

.child-sphere {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #57ff57;
    opacity: 0;
}

@keyframes rotate-fast {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes emit {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(var(--end-x), var(--end-y)) scale(1);
        opacity: 0;
    }
}

.form-overlay,
.button,
.thank-you-style {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 20px;
}

.form-overlay {
    position: absolute;
    padding: 15px;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    z-index: 10;
    width: 340px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    max-height: 95vh;
    overflow-y: auto;
}

.form-container {
    text-align: center;
}

.form-description,
.form-group input,
.form-group textarea,
.form-group label {
    font-size: 16px;
    margin-bottom: 15px;
}

.form-description {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.05em;
}

.form-description h2 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #3b7c3b;
    text-align: center;
}

.form-description p {
    font-size: 1em;
    margin-bottom: 15px;
    line-height: 1.4;
}

.form-description h3 {
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #3b7c3b;
    text-align: center;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: #555;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b7c3b;
    box-shadow: 0 0 5px rgba(59, 124, 59, 0.5);
}


textarea.resizable {
    resize: vertical;
    min-height: 60px;
    max-height: 300px;
}

.button {
    border: none;
    background-color: #3b7c3b;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #2e5f2e;
}

.thank-you-style {
    display: inline-block;
    color: #fff;
    text-align: center;
    background-color: #14abdd;
    cursor: default;
}

.click-suggestion {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    z-index: 5;
}