/* Section du formulaire */
#contact-container {
    text-align: center;
    margin-top: 50px;
    color: white;
    animation: fadeIn 2s ease-in-out;
}

#contact-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

#contact-container p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Style du formulaire */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

/* Champs du formulaire */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}

/* Bouton d’envoi */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ff9800;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #e68900;
}

/* Message de confirmation */
.hidden {
    display: none;
}

#success-message {
    color: #4CAF50;
    font-size: 1.2rem;
    margin-top: 20px;
}


/* Style de la popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.popup.show {
    visibility: visible;
    opacity: 1;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.popup-content h3 {
    margin-bottom: 10px;
    color: #4CAF50;
}

.popup-content p {
    color: black;
}

/* Bouton pour fermer */
.close-popup {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 25px;
    font-weight: bold;
    color: black;
    cursor: pointer;
}

.close-popup:hover {
    color: red;
}
