/* information_aux_communes */
    .bouton_contact{
        text-decoration: none;
        color: black;
        text-align: center;
    }
/**/
form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
    
form div {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

form p {
    padding-top: 25px;
    font-size: 35px;
}

label {
    flex: 1;
    text-align: center;
}

select {
    flex: 1;
    width: 100px;
    height: 70px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

table {
    margin: 40px auto;
    border-collapse: collapse;
    width: 80%;
    max-width: 500px;
}

th, td {
    padding: 14px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 36px;
}

th {
    background-color: #5AE4A8;
    color: black;
}

.cost, .cost-annual {
    text-align: center;
    margin: 20px 0;
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
    font-size: 46px;
}

.feature {
    font-size: 25px;
}

.feature img {
    max-width: 200px;
}

.input-container2 {
    position: relative; /* Assure que les suggestions sont positionnées par rapport à cet élément */
    width: 100%; /* S'assure que l'input prend toute la largeur disponible */
}

.suggestions {
    position: absolute;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
    display: none; /* Masqué par défaut, sera affiché lorsque les suggestions sont disponibles */
    width: 100%; /* Adapte la largeur à l'input parent */
    font-size: 40px;
    top: 100%; /* Positionnement juste en dessous de l'input */
    left: 0; /* Aligne à gauche par rapport au parent */
    z-index: 1000; /* Assure que le menu de suggestions est au-dessus des autres éléments */
}

/* Style des éléments de suggestion */
.suggestions div {
    padding: 10px;
    cursor: pointer;
}

.suggestions div:hover {
    background-color: #f0f0f0; /* Change la couleur d'arrière-plan au survol */
}
.taille_input{
    width: 100%;
    font-size: 40px;
}

.large-text {
    font-size: 40px;
}

select {
    margin-left: 68px;
}

/* Styles pour les écrans de plus de 1024px de large */
@media screen and (min-width: 1024px) {
    :root {
        --main-font: Arial, sans-serif;
        --main-color: #5AE4A8;
        --secondary-color: #333;
        --tertiary-color: #666;
        --background-color: #f0f0f0;
        --white-color: #fff;
        --border-color: #ccc;
        --form-width: 80%;
        --max-form-width: 500px;
        --input-height: 40px;
        --input-margin: 10px 0;
    }

    form {
        align-items: center;
        max-width: var(--max-form-width);
        margin: 0 auto; /* Centrer le formulaire */
    }

    form div {
        width: var(--form-width);
        max-width: var(--max-form-width);
        margin-bottom: var(--input-margin);
    }

    form p {
        padding-top: 25px;
        font-size: 20px;
    }

    label {
        font-size: 19.2px;
    }

    select {
        flex: 2;
        height: var(--input-height);
    }

    table {
        width: var(--form-width);
        max-width: var(--max-form-width);
    }

    th, td {
        font-size: 16px;
    }

    th {
        background-color: var(--main-color);
    }

    .cost, .cost-annual {
        width: var(--form-width);
        max-width: var(--max-form-width);
        font-size: 20px;
    }

    p {
        text-align: center;
        font-size: 16px; /* 1em */
        margin: 10px 0;
        width: var(--form-width);
        max-width: var(--max-form-width);
        margin: 0 auto;
    }

    .button {
        display: inline-block;
        background-color: #4CAF50;
        color: white;
        padding: 10px 20px;
        margin: 10px 0;
        border-radius: 25px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .features {
        margin-left: 25px;
    }

    .feature img {
        max-width: 100px;
    }

    /* Ajustements spécifiques pour les grands écrans */
    .large-text {
        font-size: 16px; 
    }
    
    .suggestions {
        margin-left: 25%;
        margin-right: auto;
        width: 50%;
        font-size: 20px;
    }
    
    .taille_input{
        margin-left: 25%;
        margin-right: auto;
        width: 50%;
        font-size: 20px;
    }

}
