/* Corpo pagina e font */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: Helvetica, Arial, sans-serif;
  background-color: white;
  box-sizing: border-box;
}

/* Header */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
}

.titolo-container {
  width: 80%;
  padding: 10px;
  box-sizing: border-box;
}

.titolo-container h1 {
  margin: 0;
  font-weight: bold;
  font-size: 20px;
  text-align: justify;
}

.titolo-container h1::after {
  content: "";
  display: inline-block;
  width: 100%;
}

/* Freccia cliccabile */
.freccia-link {
  margin: 10px 10px 0 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  height: 1em;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.freccia-img {
  height: 100%;
  width: auto;
  display: block;
}

/* Contenuto con due colonne */
.contenuto {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: calc(100% - 60px); /* altezza totale meno header */
  padding: 0 10px 10px 10px; /* margini da bordo */
  gap: 10px;
  box-sizing: border-box;
}

.colonna {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  overflow: hidden;
}

/* Link e immagini SVG */
.colonna a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-decoration: none;
}

.macchina-img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
