
* {
  box-sizing: border-box;
}

html {
  height: 100%;
  height: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
  height: fill-available;
}

body {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Courier';
  color: #579865;
  font-size: 17px;
  line-height: 1.4;
  height: 100%;
  height: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
  height: fill-available;
  min-height: max(40em, 50vw);
}

@media only screen and (max-width: 480px) {
  body {
    font-size: 16px;
  }
}

body.en span[lang="it"] {
  display: none;
}

body.it span[lang="en"] {
  display: none;
}

body.slideshow section.slideshow {
  display: block;
}

body.slideshow .photo-waterfall {
  visibility: hidden;
  /* display: none; */
}

body.slideshow section.info {
  display: none;
}

a {
  color: inherit;
}

header {
  width: 100%;
  max-width: 34.5em;
  margin: 0 auto 0;
  padding: 3em 1em 0;
  flex: 0 0 6em;
}

h1 {
  margin: 0;
  display: block;
  font-size: inherit;
  padding-top: 5%;
  text-align: center;
}

h1 img {
  max-width: min(22em, 80vw);
  cursor: pointer;
}

button.toggle-language {
  position: absolute;
  top: 2em;
  right: 1.5em;
  display: block;
  width: 4em;
  height: 4em;
  border: none;
  background: none;
  cursor: pointer;
}

@media only screen and (max-width: 480px) {
  button.toggle-language {
    top: 3.4em;
    right: 0;
  }
}

main {
  position: relative;
  width: 100%;
  min-height: 24em;
  margin: 0 auto;
  flex: 1 1 100%;
}

address {
  display: block;
  margin: 0.5em auto 0;
  padding: 0 1em;
  max-width: 34.5em;
  font-style: normal;
  text-transform: uppercase;
  text-align: center;
}

main p {
  margin: 1.5em auto 0;
  padding: 0 1em;
  max-width: 34.5em;
}

main .privacy-policy {
  font-weight: inherit !important;
  font-family: inherit !important;
  width: auto !important;
  text-decoration: underline !important;
}


