css
/* Reset di base per coerenza tra i browser */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "italic";
  line-height: 1.6;
  color: #222;
  background-color: #233a2f;
  /* Padding superiore aumentato (85px) per non far coprire il contenuto dall'header fisso */
  padding: 85px 1rem 1rem 1rem;
}

/* --- NUOVO HEADER FISSO --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between; /* Spinge logo a sinistra e menu a destra */
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  z-index: 1000; /* Mantiene l'header sempre sopra agli altri elementi */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Contenitore Logo + Nome a sinistra */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  }

.brand img {
  height: 36px;
  width: auto;
  display: block;
}

/* Menù di navigazione a destra */
header nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
   margin: 0; /* Sovrascrive eventuali margini precedenti */
  margin-right: 2cm; /* Sposta il menù 2 cm prima del bordo destro */
}

header nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

header nav a:hover {
  color: #fff;  font-weight: 500;
  font-size: 0.2rem;
}

/* Stile adattato per il tasto Indietro (se usato dentro l'header) */
.btn-back {
  display: inline-block;
  text-decoration: none;
  color: #233a2f;
  background: #fff;
  border: 1px solid #444;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
 font-weight: bold;
  transition: background 0.2s;
}

.btn-back:hover {
  background: #333;
}

/* Contenitore principale responsive (centrato su PC, pieno su mobile) */
main {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Tipografia fluida (si adatta da sola a mobile, tablet e PC) */
h1 {
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #111;
}

h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #333;
}

p {
  font-size: clamp(0,9rem, 1.8vw, 1rem);
  margin-bottom: 1.2rem;
  color: #444;
}

/* Galleria a scorrimento orizzontale */
.gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery img {
  flex: 0 0 80%;
  max-width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: start;
}

/* Barra di scorrimento discreta per PC */
.gallery::-webkit-scrollbar {
  height: 8px;
}

.gallery::-webkit-scrollbar-thumb {
  background: #233a2f;
  border-radius: 4px;
}
.box {
  border: 5px solid #000000;      /* Bordo continuo nero di 5px */
  background-color: #f0f0f0;    /* Sfondo grigio chiaro */
  color: #233a2f;               /* Testo nero */
  padding: 20px;                /* Spazio interno tra il testo e il bordo */
  font-family: sans-serif;      /* Font pulito e leggibile */
  font-weight: bold
}

/* Forza il colore nero su tutti i link interni al box in ogni stato */
.box a,
.box a:link,
.box a:visited,
.box a:hover,
.box a:active,
.box a:focus {
  color: #233a2f;
}