* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom right, #e0eafc, #cfdef3);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 600px;
}

h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #0073e6;
}

h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #0073e6;
}

textarea {
    resize: none;
}

.required {
    color: red;
    font-weight: bold;
}

.submit-btn {
    background-color: #0073e6;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #005bb5;
}

.submit-btn:active {
    background-color: #004494;
}

.error-message, .success-message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 16px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Ajout de l'espacement sous le captcha */
.g-recaptcha {
    margin-bottom: 20px; /* Espace entre le captcha et le bouton */
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }
}
