/* styleoption.css */

/* Style pour les équipements */
.articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.articles div {
    width: 300px;
    padding: 15px;
    margin: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
}

h2{
    text-align: center;
}

.articles h3 {
    margin-bottom: 5px;
}

.articles img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* Style pour le formulaire et les filtres */
nav {
    margin: 20px;
    padding: 20px;
}

nav ul {
    list-style: none;
    margin: 20px;
    padding: 20px;
    position: relative;
}

nav ul h3 {
    margin-bottom: 5px;
}

nav select,
nav input[type="text"],
nav button {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
}

nav button {
    padding: 8px 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

nav button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}


a.cta-button1{
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10;
    margin-right: 20px;
    background-color: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

a.cta-button1:hover{
    background-color: red;
    color: white;
}

#test{
    display: block;
}

#formulaire{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    top: 120px;
    left: 500px;
}

#Filtres{
    display: inline-flex;
}

#sectionfiltres{
    display: block;
    padding: 20px;
}

#btfiltres{
    transform: translate(-200px, 100px);
    padding: 10px 50px;
    margin-right: 80px;
    margin-top: 15px;
    text-decoration: none;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#btfiltres:hover{
    background-color: #555;
}

 /* Styles de base pour le formulaire */
 body {
    font-family: Arial, sans-serif;
    padding: 20px;
}

/* Style pour la popover personnalisée */
.custom-popover {
    position: absolute;
    background: #000;
    color: #fff;
    border-radius: 3px;
    padding: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: none; /* caché par défaut */
    z-index: 10;
    width: 250px; /* Largeur du popover */
    font-size: 0.9em;
}

/* Flèche au-dessus du popover */
.custom-popover:before {
    content: "";
    position: absolute;
    top: -20px; /* Ajustez si nécessaire */
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #000 transparent;
}

/* Style pour l'icône d'information */
.infoIcon {
    cursor: pointer;
    font-size: 1.2em;
    color: #c00;
    margin-left: 5px;
}
