body  {
    background-image: url(impronta\ stupenda.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    color: #2d1c0f; /* testo base marrone molto scuro */
}

h1, h2, h3 {
    color: #1a232e; /* titoli blu scurissimo */
    margin-top: 24px;
    margin-bottom: 12px;
}
h2 {
  color: #2c4a2c; /* titoli secondari verde scuro */
}
p, li {
    color: #222; /* testo principale molto scuro */
    line-height: 1.7;
    font-size: 1.08em;
    text-shadow: 0 1px 2px #fff8; /* leggero alone chiaro per contrasto */
}
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}
nav a {
  text-decoration: none;
  color: #f5e9c6; /* link beige molto chiaro */
  font-weight: bold;
  transition: color 0.2s;
  text-shadow: 0 1px 2px #2226;
}
nav a:hover {
  color: #d35400; /* arancione al passaggio */
}
img.ridotta {
  width: 500px; /* o il valore desiderato in pixel */
  height: auto; /* mantiene le proporzioni */
  border-radius: 12px;
  box-shadow: 0 2px 8px #8884;
  display: block;
  margin: 20px auto;
  transition: transform 0.3s ease;
}

img.ridotta:hover, img.ridotta:focus {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
article, section {
  margin-bottom: 32px;
  background: rgba(255,255,255,0.97); /* fondo quasi bianco, molto luminoso */
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 12px #2222;
}
footer {
  text-align: center;
  color: #333;
  margin-top: 40px;
  padding: 16px 0;
  background: rgba(255,255,255,0.92);
  border-top: 1px solid #eee;
}

article h1 {
  color: #b97a56; /* marrone sabbia, caldo e naturale */
}
article ul li {
  color: #d35400; /* arancione caldo, ottimo contrasto */
  text-shadow: 0 1px 2px #fff7;
}

/* Migliora la leggibilità di figure e figcaption */
figure {
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 8px #2222;
}
figcaption {
  color: #2d1c0f;
  font-size: 1em;
  text-align: center;
  margin-top: 8px;
  text-shadow: 0 1px 2px #fff8;
}

/* Evidenzia la sezione semantica */
section h1, section h2, section p {
  color: #3a2c1a; /* marrone medio, più chiaro e caldo */
  text-shadow: 0 1px 2px #fff9; /* alone chiaro per contrasto */
}
.scuro {
  background: rgba(34, 34, 34, 0.85); /* sfondo scuro semi-trasparente */
  color: #fff;
  padding: 2em;
  position: relative;
  border-radius: 14px;
  box-shadow: 0 2px 16px #2228;
  margin-bottom: 32px;
}
.scuro > div {
  background: rgba(0,0,0,0.5);
  padding: 1em;
  border-radius: 10px;
}
.scuro h1, .scuro h2 {
  color: #ffd59e; /* titoli chiari */
}
.scuro p {
  color: #fffbe8;
}
.img-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  margin-bottom: 32px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* aggiunto per evitare overflow */
}

.img-bg .scuro {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(34, 34, 34, 0.85); /* overlay scuro */
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 16px #2228;
}
.ugo-bg {
  position: relative;
  background-image: url('Ugo.jpeg'); /* usa l'immagine che preferisci */
  background-size: cover;
  background-position: center;
  padding: 40px 0;
  border-radius: 16px;
  margin-bottom: 32px;
  box-shadow: 0 2px 16px #2224;
}

.ugo-overlay {
  background: rgba(255,255,255,0.92); /* overlay chiaro */
  color: #2d1c0f; /* testo marrone scuro */
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 24px;
  border-radius: 14px;
  box-shadow: 0 4px 24px #2223;
  text-shadow: 0 1px 2px #fff8;
}

.ugo-overlay h1, .ugo-overlay h2 {
  color: #b97a56; /* titoli sabbia */
  text-shadow: 0 2px 8px #fff7;
}
.ugo-header {
  background: rgba(255,255,255,0.93); /* sfondo chiaro semi-trasparente */
  color: #2d1c0f; /* testo marrone scuro */
  text-align: center;
  padding: 32px 0 18px 0;
  border-radius: 16px;
  box-shadow: 0 4px 24px #2222;
  margin-bottom: 24px;
  text-shadow: 0 1px 2px #fff8;
}

.ugo-header h1 {
  color: #b97a56; /* sabbia caldo */
  font-size: 2.4em;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px #fff7;
}

.ugo-header p {
  color: #3a2c1a;
  font-size: 1.15em;
  margin-top: 0;
  text-shadow: 0 1px 2px #fff9;
}

