@charset "utf-8";
/* Aggiungi di seguito il tuo stile personalizzato */
#social ul {
    width: 100%;
}

#popupLink .row{
    justify-content: center;
} 
/* Overlay scuro dietro */
    .overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 1000;
    }

    /* Popup centrato con margini */
    .popup {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      bottom: 10%;
      transform: translate(-50%, -50%);
      background: #f2f2f2;
      z-index: 1001;
      padding: 20px 20px 10px 20px;
      width: calc(100% - 100px); /* margine 50px per lato */
      height: calc(100% - 100px); /* margine 50px sopra e sotto */
      border-radius: 16px;
      overflow-y: auto;
      box-sizing: border-box;
      text-align: center; /* testo centrato */
    }

    /* Pulsante chiudi (X) */
    .close-btn {
      position: absolute;
      top: 15px;
      right: 25px;
      font-size: 28px;
      font-weight: bold; /* corretto: non esiste "semibold" */
      color: #000;
      cursor: pointer;
      z-index: 1002;
    }
    .close-btn:hover {
      color: #d00;
    }

    /* Link interni */
    .popup a {
      display: block;
      padding: 12px;
      color: #000;
      text-decoration: none;
      border-bottom: 1px solid #ddd;
      font-size: 16px;
      text-align: center; /* link centrato */
    }
    .popup a:last-child {
      border-bottom: none;
    }
    .popup a:hover {
      background-color: #f0f0f0;
    }

    /* Titolo e bottoni categoria */
    .title-container {
      text-align: center;
      margin: 20px 0;
    }
    .category-group {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 15px;
    }
    .category-label {
      padding: 8px 16px;
      border: 1px solid #333;
      border-radius: 16px;
      background-color: #f9f9f9;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .category-label:hover {
      background-color: #e0e0e0;
    }

footer .list-group {
flex-direction: row;
column-gap: 2rem;
}
