body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow: auto; /* Assurez-vous que le body peut défiler verticalement */
}

#top {
    width: 100%;
    display: flex;
    justify-content: center;
   
}

#top img {
    max-width: 450px;
    height: auto;
}

.container {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1080px;
    width: 100%;
 /*   margin: 20px;*/
}

.form-section {
/*    padding: 20px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    min-height: 200px; /* Ajoutez une hauteur minimale pour le conteneur du formulaire */
}

.form-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-section label {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.form-section select {
    padding: 10px;
    font-size: 1em;
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
}

.form-section button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
}

.form-section button:hover {
    background-color: #004d40;
}

#texte {
    max-width: 800px;
    width: 100%;
    margin: 20px;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: left;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 100%;
    }

    .form-section {
        padding: 20px 10px;
        width: 100%;
    }

    .form-section form {
        width: 100%;
    }

    .form-section select,
    .form-section button {
        width: 100%;
    }

    #texte {
        padding: 0 10px;
        margin: 10px;
    }
}
