section {
  position: relative;
  height: 90vh;
  width: 100%;
  overflow: hidden;
  z-index: -1000;
  display: grid;
  place-items: center;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#slideshow h1 {
  position: absolute;
  z-index: 999;
  padding-top: 4%;
  padding-left: 11%;
  padding-right: 11%;
  text-transform: uppercase;
  font-size: 4rem;
  color: var(--branco);
  text-align: center;
  justify-content: center;
  align-content: center;
  pointer-events: none;
  margin: auto;
  filter: drop-shadow(0 0 0.95rem var(--cinzaEscuro));
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
}

main svg {
  margin-top: -320px;
}

.textHome {
  background-color: var(--verdeAzul);
  margin-top: -130px;
  padding-bottom: 40px;
}

.textHome h1 {
  color: var(--branco);
  text-align: center;
  font-size: 32px;
}

.textHome p {
  color: var(--branco);
  text-align: center;
  margin: 30px 11% 0 11%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 23px;
  font-weight: 300;
}

.containerBlocos {
  width: 78%;
  margin: 80px 11% 80px 11%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}



.box1 h2, .box2 h2, .box3 h2 {
  position: relative;
  z-index: 1;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  color: var(--branco);
  width: 50%;
  margin: 0 25%;
  padding: 3% 0;
  border-radius: 8px;
}

.box1:hover::before, .box2:hover::before, .box3:hover::before {
  filter: grayscale(1) blur(2px);
}

.box1:hover h2, .box2:hover h2, .box3:hover h2 {
  transition: 0.4s;
  background-color: var(--verdeClaro);
}

.containerGastronomia {
  background-color: var(--verdeAzul);
  display: flex;
  flex-direction: column;
  padding-bottom: 60px;
}

.containerGastronomia h1 {
  padding-top: 40px;
  text-align: center;
  color: var(--branco);
  font-size: 32px;
}

.sobreGastronomia {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 40px;
  margin-left: 11%;
  margin-right: 11%;
  justify-content: space-between;
  box-sizing: border-box;
}

.sobreGastronomia p {
  width: 40%;
  margin-right: 1%;
  font-size: 23px;
  font-weight: 300;
  color: var(--branco);
  text-align: justify;
}

.carrossel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: 45%;
  height: 300px;
}

.carrossel img {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  display: none;
  transition: opacity 0.5s ease;
  object-fit: cover;
}

.carrossel img.active {
  display: block;
  opacity: 1;
}

.navsButton {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.carrossel .prev,
.carrossel .next {
  background-color: transparent;
  border: none;
  border-radius: 50%;
  padding: 20px;
  cursor: pointer;
  user-select: none;
}


.carrossel button i {
  color: var(--branco);
  font-size: 25px;
}


.containerLoc {
  width: auto;
  display: flex;
  flex-direction: column;
}

.localizacao iframe {
  background-color: var(--branco);
  border-radius: 12px;
  padding: 5px;
}

.loc {
  background-color: var(--verdeAzul);
  margin: 40px 11% 40px 11%;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-bottom: 40px;
}

.loc h1 {
  padding-top: 2%;
  padding-bottom: 2%;
  color: var(--branco);
  text-align: center;
  font-size: 32px;
}

.localizacao {
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
}

.textLoc p {
  margin-left: 5%;
  font-size: 20px;
  color: var(--branco);
}

.textLoc a {
  margin-left: 5%;
  font-size: 20px;
  color: var(--branco);
  text-decoration: underline;
}

.buttonsLoc {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.buttonsLoc a {
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  width: 40%;
  margin-top: 4%;
  background-color: var(--branco);
  color: var(--verdeAzul);
  padding: 8px;
}

.buttonsLoc a:hover {
  background-color: var(--verdeClaro);
  color: var(--branco);
  transition: 0.4s;
}

#upButton {
  display: none;
}

#downButton {
  display: none;
}

#leftButton {
  display: flex;
}

#rightButton {
  display: flex;
}

@media screen and (max-width: 908px) {
  main svg {
    margin-top: -230px;
  }

  #upButton {
    display: flex;
  }

  #downButton {
    display: flex;
  }

  #leftButton {
    display: none;
  }

  #rightButton {
    display: none;
  }

  #slideshow h1 {
    display: none;
    position: absolute;
    z-index: 999;
    padding-top: 4%;
    padding-left: 2%;
    padding-right: 2%;
    text-transform: uppercase;
    font-size: 3rem;
    color: var(--branco);
    text-align: center;
    justify-content: center;
    align-content: center;
    pointer-events: none;
    margin: auto;
    margin-top: 220px;
    margin-left: 2%;
    margin-right: 2%;
    filter: drop-shadow(1px 1px 30px var(--cinzaEscuro));
  }

  .textHome {
    background-color: var(--verdeAzul);
    margin-top: -20px;
    padding-bottom: 40px;
  }

  .textHome h1 {
    color: var(--branco);
    text-align: center;
    margin: 0 8%;
    font-size: 32px;
  }

  .textHome p {
    color: var(--branco);
    text-align: center;
    margin: 20px 8% 0 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 20px;
  }

  

  .containerGastronomia {
    background-color: var(--verdeAzul);
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
  }

  .containerGastronomia h1 {
    margin-top: 40px;
    text-align: center;
    color: var(--branco);
    font-size: 32px;
    padding: 2%;
  }

  .sobreGastronomia {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 30px 10% 0 10%;
    justify-content: space-around;
  }

  .sobreGastronomia p {
    width: 100%;
    font-size: 20px;
    color: var(--branco);
    text-align: center;
  }

  .carrossel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin-top: 40px;
  }

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

  .loc {
    background-color: var(--verdeAzul);
    margin: 40px 8% 40px 8%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    padding-bottom: 40px;
  }

  .localizacao iframe {
    width: 300px;
  }

  .textLoc {
    padding-top: 20px;
  }

  .textLoc p {
    margin-left: 5%;
    font-size: 20px;
    color: var(--branco);
  }

  .textLoc a {
    margin-left: 5%;
    font-size: 17px;
    color: var(--branco);
    text-decoration: underline;
  }

  .buttonsLoc {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .buttonsLoc a {
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    width: 50%;
    margin-top: 4%;
    background-color: var(--branco);
    color: var(--verdeAzul);
    padding: 8px;
  }

  .buttonsLoc a:hover {
    background-color: var(--verdeClaro);
    color: var(--branco);
    transition: 0.4s;
  }

}
