* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--tipo-carattere);
  background-color: var(--colore-sfondo-centro);
}

main {
  padding: 60px 20px;
}

h1 {
  text-align: center;
  color:  var(--colore-titolo-h1);
  font-size: var(--dimensione-titolo-h1);
}
h2 {
  text-align: center;
  color:  var(--colore-titolo-h2);
  font-size: var(--dimensione-titolo-h2);
}


section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

article {
  width: 23%;
  min-width: 250px;
  text-align: center;
}

article img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
}

article h3,
article h4 {
  margin-top: 15px;
  margin-bottom: 10px;
}

article h3 a,
article h4 {
  color: #C29C74;
  font-size: 40px;
  text-decoration: none;
}

article h4 {
  font-size: 24px;
  color: #C29C74;
}

article p {
  color: #C29C74;
  font-size: 18px;
}

article a {
  color: #C29C74;
  text-decoration: none;
}

article a:hover {
  text-decoration: underline;
}
a {
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
}

/* Colori diversi per i paragrafi */
article:nth-child(2) p { color: #C29C74; }
article:nth-child(3) p { color: #C29C74; }
article:nth-child(4) p { color: #C29C74; }