/* styles for items on the homepage */

.items {
  padding: 2rem;
  max-width: 100%; /* couleur de fond pour la section des items */
}
.items-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
  gap: 1.5rem; /* espace entre les colonnes */
  max-width: 100%;
  margin: 0 auto; /* centrer la grille */
  padding: 1rem;
  background-color: #fafafa; /* couleur de fond pour la grille */
}

.items h1 {
  max-width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #142c70;
}

.item-column {
  display: flex;
  justify-content: center; /* centre l’item dans la colonne */
}

/* Responsive : 2 colonnes en tablette */
@media (max-width: 992px) {
  .items-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive : 1 colonne en mobile */
@media (max-width: 600px) {
  .items-container {
    grid-template-columns: 1fr;
  }
}


.item {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  padding: 1rem;
  background-color: #fafafa;
}


.item-icon {
  font-size: 3rem;             /* Taille de l'icône à l'intérieur du cercle */
  color: #ffffff;              /* Couleur de l'icône */
  margin-bottom: 0.5rem;
  
  width: 80px;                 /* Largeur du cercle */
  height: 80px;                /* Hauteur du cercle */
  background-color: #158b9a;   /* Couleur de fond du cercle */
  border-radius: 50%;          /* Cercle parfait */
  
  display: flex;               /* Pour centrer l'icône */
  align-items: center;
  justify-content: center;
}

.item-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #142c70;
}

.item-content {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}
