#contact-form-section {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 80px rgba(88, 166, 255, 0.1);
    border: 1px solid var(--border-color);
    text-align: center;
    margin-top: 2rem; /* Add some space between the lotto generator and the form */
    max-width: 500px;
    width: 100%;
}

#contact-form-section h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

#contact-form-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

#contact-form-section label {
    font-weight: bold;
    margin-bottom: 0.2rem;
}

#contact-form-section input[type="text"],
#contact-form-section input[type="email"],
#contact-form-section textarea {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

#contact-form-section input[type="text"]:focus,
#contact-form-section input[type="email"]:focus,
#contact-form-section textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.5);
}

#contact-form-section button[type="submit"] {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.5);
    align-self: center; /* Center the button in the flex container */
    margin-top: 1rem;
}

#contact-form-section button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(88, 166, 255, 0.8);
}