/* Stile generale della pagina */
body {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
  line-height: 1.5;
  padding-top: 80px;
  font-family:Verdana;
  text-align: center;
  color:#fff;
  margin-top: 100px;
  background-size: cover;
  background-image:url(https://bulad.neocities.org/nero.jpg) ;
  background-attachment: fixed;
}


    footer {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color:black;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid black;
      padding: 10px 30px;
      box-sizing: border-box;
      border-radius: 10px;
      border-color: black;

    }



    header {
      align-items: center;
      position: fixed;
      top: 0;
      width: 100%;
      height: 150px;
      background-color:rgb(0, 0, 0);
      display: flex;
      border-top: 1px solid black;
      padding: 10px 30px;
      box-sizing: border-box;
      border-radius: 10px;

    }


/* Titolo piÃ¹ leggibile, centrato, arancione tenue */
h1 {
  text-align: center;
  color: #e67e22;
  margin-bottom: 20px;
}

/* Riquadro degli eventi */
#events {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 15px;
  background-color: #fafafa;
}

/* Ogni riga di evento (checkbox + label) */
.event {
  margin: 4px 0;
}

/* Un minimo di spazio per checkbox e label */
.event input[type="checkbox"] {
  margin-right: 6px;
}

/* Riga di controlli (colore + bottone) */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 8px 10px;
  border-radius: 8px;
  background-color: gray;
}

/* Blocco selezione colore */
.color-picker label {
  margin-right: 5px;
}

.color-picker select {
  padding: 3px 6px;
}

/* Bottone "Mostra sulla mappa" */
#bottoneMostra {
  padding: 6px 15px;
  border: none;
  margin: 10px;

  border-radius: 6px;
  background-color: #3498db;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

#bottoneMostra:hover {
  background-color: #2980b9;
}

/* Mappa piÃ¹ piccola, centrata, con bordo */
#map {
  height: 300px;
  /* ridotta rispetto ai 500px */
  max-width: 700px;
  margin: 0 auto 20px auto;
  border: 2px solid #555;
  border-radius: 10px;
}