body {
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
color: #333;
margin: 0;
padding: 0;
}

h1, h2, h3, h4, h5, h6 {
color: #45a049; /* Vert */
margin-top: 0;
margin-bottom: 1rem;
}

p {
margin-bottom: 1rem;
}

description {
background-color: #f9f9f9;
padding: 2rem;
border-radius: 5px;
margin-bottom: 2rem;
}

description h1 {
color: #4CAF50;
margin-bottom: 1rem;
}

description p {
margin-bottom: 1rem;
}

.container {
width: 80%;
margin: auto;
overflow: hidden;
}

.row {
    display: flex; /* Utiliser Flexbox pour la mise en page */
    flex-wrap: wrap; /* Permettre aux colonnes de passer à la ligne sur les petits écrans */
}

.col {
    flex: 1; /* Chaque colonne prend une largeur égale */
    min-width: 300px; /* Largeur minimale pour les colonnes */
    padding: 10px; /* Espacement interne pour les colonnes */
}

.bloc {
background: #fff;
padding: 20px;
margin: 20px 0;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
display: flex;
flex-wrap: wrap;
gap: 20px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
font-family: Arial, sans-serif;
font-size: 12px;
line-height: 1.5;
color: #333;
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 10px;
}

#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.model-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.model-item {
    width: wrap;
    margin-bottom: 10px;
    margin-right: 10px;
}

.model-item:nth-child(3n+4) {
    margin-right: 0;
}

.model-info {
    margin-top: 10px;
    margin-left: 10px; /* Espacement à gauche des informations */
}

.model-checkbox {
    margin-right: 20px;
}

.model-label {
    font-family: Arial, sans-serif !important;
    font-size: 8px !important;
    font-weight: bold !important;
    margin-left: 20px !important;
}

.model-radio {
    margin-right: 10px;
}

.model-frame {
width: 100px;
height: 100px;
border: 1px solid #ccc;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
overflow: hidden;
}

.model-name {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.6);
color: #fff;
padding: 5px 10px;
font-size: 12px;
text-align: center;
}

.model-grid img {
width: 100%;
height: auto;
}

.button-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 10px;
}

.model-button {
flex-basis: calc(25% - 10px);
padding: 10px;
background-color: #f2f2f2;
border: none;
border-radius: 5px;
cursor: pointer;
}

.model-button:hover {
background-color: #ddd;
}

button {
background-color: #4CAF50; /* Vert */
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
}

button:hover {
background-color: #45a049; /* Vert plus foncé */
}

.map {
margin-top: 20px;
flex-basis: calc(100% - 20px);
}


.modal {
    display: none; /* Masquer la modale par défaut */
    position: fixed; /* Position fixe pour occuper tout l'écran */
    z-index: 1000; /* Assurez-vous qu'elle est au-dessus des autres éléments */
    left: 0;
    top: 0;
    width: 100%; /* Largeur à 100% */
    height: 100%; /* Hauteur à 100% */
    overflow: auto; /* Permet le défilement si nécessaire */
    background-color: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
}

.modal-content {
    position: absolute; /* Position absolue pour centrer le contenu */
    top: 50%; /* Centrer verticalement */
    left: 50%; /* Centrer horizontalement */
    transform: translate(-50%, -50%); /* Ajuster pour centrer */
    padding: 20px;
    width: 90%; /* Largeur de la modale */
    height: 90%; /* Hauteur de la modale */
    background-color: white;
    border-radius: 5px; /* Coins arrondis */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Ombre pour le contenu */
}

hr {
    border: 1px solid #ddd; /* Couleur de la bordure */
    margin: 20px 0; /* Marge au-dessus et en dessous de la barre */
}

/* Styles pour les titres de groupe */
.model-grid h3 {
    font-family: Arial, sans-serif; /* Police de caractères */
    font-size: 18px; /* Taille de la police */
    font-weight: bold; /* Gras */
    color: #45a049; /* Couleur verte pour correspondre à votre thème */
    margin-top: 20px; /* Marge au-dessus du titre */
    margin-bottom: 10px; /* Marge en dessous du titre */
    border-bottom: 2px solid #ccc; /* Ligne en dessous du titre */
    padding-bottom: 5px; /* Espacement en bas du titre */
}

/* Styles pour le conteneur des groupes de modèles */
.model-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1rem 0;
    width: 100%;
}

.group-separator:before {
    content: "";
    display: block;
    height: 20px;
}

.group-separator {
    margin: 20px;
}

