@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;600&display=swap");

* {
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Barlow", sans-serif;
}

header {
  position: fixed;
  height: 80px;
  width: 100%;
  background-color: white;
  z-index: 1;
}

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
}

li {
  text-align: center;
}

ul li a {
  color: black;
  transform-origin: center;
  transition: all 0.5s;
}

.land ul,
.land ul li {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.land ul li {
  margin: 35px 20px;
}

.land ul li a:hover {
  transform: scale(1.1);
  font-weight: bolder;
  color: #ff0000;
}

.land ul li:nth-child(3) {
  margin: 10px 20px;
}

.land ul li a img {
  height: 90px;
  width: 90px;
  transition: all 0.5s;
}

#toggle {
  display: none;
}

label {
  display: none;
  position: absolute;
  top: 50px;
  right: 50px;
  transform: translate(0, -50%);
  z-index: 6;
}

.port {
  top: -100%;
  /* pointer-events: none; */
  position: fixed;
  height: 100%;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: white;
  transition: all 0.8s;
}

.port ul li {
  margin: 20px;
}

.port ul li a {
  font-size: 6vw;
}

#logo {
  display: none;
  position: absolute;
  left: 50%;
  top: 55px;
  transform: translate(-50%, -50%);
  height: 90px;
  width: 90px;
  transition: all 0.5s;
  z-index: 7;
}

#menu {
  display: none;
  padding-bottom: 15px;
  font-size: large;
  font-weight: bolder;
  color: #ff0000;
}

@media (orientation: portrait) {
  .port {
    display: flex;
  }
  .land {
    display: none;
  }

  label {
    display: block;
  }

  #logo {
    display: block;
  }

  #menu {
    display: block;
  }

  #menu::after {
    content: "MENU";
    margin-left: 10%;
  }

  #toggle:checked ~ label #menu::after {
    content: "CHIUDI";
  }

  #toggle:checked ~ .port {
    top: 0;
    /* pointer-events: none; */
  }
}

#home {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding-top: 75px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  overflow: hidden;
}

#home h1 {
  font-size: 8vw;
  font-weight: bolder;
  text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  text-align: center;
}

#home h2 {
  width: 100%;
  text-align: center;
  text-shadow: 7px 7px 7px rgba(0, 0, 0, 0.5);
}

#home img {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(80%);
  object-fit: contain;
  position: absolute;
  max-width: 100%;
  z-index: -1;
}

#home::before {
  content: url(/images/home-camp-zw.webp);
  position: absolute;
  max-height: 100%;
  z-index: -2;
  filter: blur(30px) brightness(50%);
  background-color: black;
}

.buttons {
  margin: 50px;
}

.buttons a {
  margin: 10px;
  padding: 20px 30px;
  color: white;
  border: solid 1px white;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.5s;
}

.buttons a:hover {
  font-weight: bolder;
  color: #ff0000;
  border: solid 1px white;
  background-color: rgba(255, 255, 255, 1);
}

.help .buttons a {
  background-color: #ff0000;
}

footer {
  bottom: 0;
  height: 50px;
  width: 100%;
  background-color: white;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer a {
  margin: 10px;
}

@media (orientation: portrait) {
  #home h1 {
    position: absolute;
    top: 20vh;
    left: 50%;
    transform: translate(-50%, 0);
  }

  #home h2 {
    position: absolute;
    top: 27vh;
    left: 50%;
    transform: translate(-50%, 0);
  }

  #home .buttons {
    margin-top: 60vh;
  }
}



.descr {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 120px 0 30px 0 ;
  padding: 0 20vw;
  text-align: center;
}

.descr h1 {
  font-size: 40px;
  margin: 30px 0 10px 0;
}

.descr h3 {
  text-align: left;
  font-size: 22px;
  margin: 8px;
}

.descr p {
  font-size: 20px;
  margin-bottom: 20px;
}

.descr .buttons {
  width: 300px;
}

.descr .buttons a {
  width: 50vw;
  font-size: 20px;
  font-weight: bolder;
  border: solid 1px #ff0000;
  background-color: white;
  color: #ff0000;
}

.descr .buttons a:hover {
  background-color: #ff0000;
  color: white;
}


@media (orientation: portrait) {
  .descr h1 {
    font-size: 30px;
  }
}



#mete {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  padding: 3vh 10vw;
}

#mete a  {
  margin-top: 100px;
  margin-bottom: 50px;
  height: 40vh;
  width: 25vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#mete h2 {
  color: black;
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;
  transition: all .5s;
}

#mete h2:hover {
  color: #ff0000;
}

#mete a img {
  height: 90%;
  width: 90%;
  object-fit: cover;
  transition: all .5s;
}

#mete a img:hover {
  filter: brightness(80%);
  transform: scale(1.05);
}

@media (orientation: portrait) {
  #mete {
    flex-direction: column;
  }

  #mete a  {
    margin-top: 70px;
    margin-bottom: 30px;
    height: 85vw;
    width: 85vw;
  }

  #mete div {
    margin-top: 50px;
    height: 60vh;
    width: 90vw;
  }
}

/* locations */

.default section {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.default section:nth-child(2),
.default section:nth-child(4) {
  flex-direction: row-reverse;
}

.default article,
.default figure {
  position: relative;
  width: 40vw;
  display: flex;
  flex-direction: column;
  margin: 0 5vw;
  height: 70%;
}



@media (orientation: portrait) {
  .default {
    margin: 100px 0 100px 0;
  }

  .default section {
    flex-direction: column;
    height: 100%;
  }

  .default section:nth-child(2),
  .default section:nth-child(4) {
    flex-direction: column;
  }

  .default article,
  .default figure {
    width: 90vw;
    height: 100%;
  }

  .default figure {
    height: 50vh;
    padding: 0 5vw;
  }

  .chi-siamo {
    margin-top: 150px;
  }

  .location {
    margin-top: 140px;
  }
}

.default article {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 50px;
}

.social {
  width: 100%;
}

.default .social a {
  padding: 0;
  padding-right: 20px;
  border: 0px transparent;
}

.default .social a:hover {
  background-color: transparent;
}

.social img {
  height: 50px;
  transition: all .5s;
}

.social img:hover  {
  transform: scale(1.1);
}


.default h3 {
  font-size: 50px;
}

.default h4 {
  margin: 10px 0;
  font-size: 36px;
}

.default h5 {
  margin: 5px 0;
  font-size: 24px;
}

.default p {
  margin: 20px 0;
}

strong {
  color: #ff0000;
}

.default a {
  font-weight: bolder;
  font-size: large;
  margin: 20px 0;
  padding: 20px 30px;
  color: #ff0000;
  border: solid 1px #ff0000;
  transition: all 0.5s;
}

.default a:hover {
  color: white;
  background-color: #ff0000;
}

.default figure {
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.default figure::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 95%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
}

.default figure a {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: opacity 0.5s;
  color: white;
  padding: 10px 35px;
  border: solid 1px white;
  font-weight: bolder;
  font-size: 18px;
}

.default figure:hover::after {
  opacity: 1;
  transition: all 0.5s;
}

.chi-siamo section figure:hover::after {
  opacity: 0;
}

.default figure:hover > a {
  opacity: 1;
}

.default img {
  min-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* CONTATTI */

.contatti aside {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (orientation: portrait) {
  .contatti figure {
    margin-top: 30px;
  }

  .contatti aside {
    margin-top: 50px;
  }
}

#book-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: row;
}

#book-wrapper h1 {
  margin-bottom: 30px;
}

#book-wrapper .help {
  margin-top: 0px;
}

#homepage .help {
  padding-top: 50px;
  padding-bottom: 50px;
  min-height: 100%;
}

.help,
#new {
  position: relative;
  min-height: 100vh;
  width: 50vw;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 20vh;
  margin: auto;
}

.help {
  position: sticky;
  padding-bottom: 25vh;
}

.help h1 {
  padding-bottom: 20px;
}

#new {
  margin-bottom: 80px;
}

#new h2 {
  font-weight: bold;
  margin-top: 20px;
}

.help p {
  text-align: center;
  margin: 10px 0;
  padding: 10px 20px;
  border: solid 1px #ff0000;
  color: #ff0000;
  width: 30vw;
  transition: all 0.5s;
}

.help p:hover {
  background-color: #ff0000;
  color: white;
  font-weight: bolder;
}

.help p a {
  color: #ff0000;
  transition: all .5s;
}

.help p:hover > a {
  color: white;
  font-weight: bolder;
}

.help strong {
  margin-top: 30px;
  font-size: larger;
  text-align: center;
  width: 60%;
}

#new #euro {
  font-weight: bolder;
  width: 60%;
  text-align: center;
}

#new input {
  height: 5vh;
  width: 30vw;
  margin: 20px;
  text-align: center;
  border: none;
  box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.2);
}

@media (orientation: portrait) {
  #new input {
    border: 1px solid #ff0000;
  }
}

#new input[type="submit"] {
  font-size: 16px;
  margin: 50px 0 20px 0;
  transition: all 0.5s;
  border: none;
}

#new input[type="submit"]:hover {
  background-color: #ff0000;
  color: white;
  font-weight: bolder;
  font-size: 18px;
}

form select {
  background-color: transparent;
  width: 30vw;
  text-align: center;
  margin: 20px;
  color: white;
  background-color: #ff0000;
  font-weight: bolder;
  font-size: 18px;
  padding: 10px;
  border: transparent;
  border-radius: 5px;
}

form .terms {
  width: 50%;
  text-align: center;
  font-size: 12px;
}

@media (orientation: portrait) {
  #book-wrapper {
    top: 90px;
    flex-direction: column;
    align-items: center;
  }

  .help,
  #new {
    min-height: 100%;
    height: 100%;
    width: 90vw;
  }

  #new {
    padding-top: 0;
  }

  .help {
    padding-top: 10vh;
    position: relative;
    padding-bottom: 10vh;
  }

  .help p {
    width: 80vw;
  }

  #new input {
    width: 60vw;
  }
}


/* successo e fail */

.pay, .error {
  text-align: center;
  margin-top: 200px;
  padding: 10vh 30vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.pay h1 {
  font-size: 40px;
  color: green;
}

.error h1 {
  font-size: 40px;
  color: #ff0000;
}

.pay p, .error p {
  font-size: 20px;
}

.error aside {
  margin: auto;
  display: flex;
  flex-direction: column;
  width: 20vw;
}

@media (orientation: portrait) {
  .pay, .error {
    padding: 10vh 5vw;
  }
}




/* giornata-tipo */

.giornata {
  padding-top: 70px;
}

.giornata ul li {
  text-align: left;
  margin: 7px 0;
}

.giornata h5 {
  margin-top: 20px;
}

.giornata section figure:hover::after {
  opacity: 0;
}

@media (orientation: portrait) {
  .giornata strong {
    font-size: 20px;
  }
}