/* Reset de margens e preenchimentos */
body, h1, h2, p {
  margin: 0;
  padding: 0;
}
#container-principal {
  width: 80%;
  margin: 0 auto;
  margin-top: 10%;
}
.cabecalho {
  text-align: start;
  margin-left: 2%;
}
.image-container {
  margin-left: 3%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 10px;
  margin: 20px;
}
.main-image {
  grid-row: span 2;
  height: 315px;
  background-image: url('sua-imagem.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.image {
  height: 150px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  cursor: pointer;
}

.container-informacoes {
  margin: 0 auto;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  width: 95%;
  margin-top: 5%;
}
.container-map{
  margin-top: 3%;
}
#map {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  height: 500px;
  border-radius: 10px;
}
.imagem-grid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.2s;
  cursor: pointer;
}

.conteudo-informacoes {
  display: flex;
  justify-content: space-evenly;
  gap: 10px;
  align-items: center;
}
.infos-local {
  margin-top: 3%;
  text-align: start;
  width: 50%;
  font-size: 1.1rem;
  line-height: 2rem;
}
.infos-descricao {
  text-align: start;
  font-size: 1.1rem;
}
.user-coments {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  height: 300px;
  overflow: auto;
  margin-top: 5%;
  margin-bottom: 5%;
}
.user-coments::-webkit-scrollbar {
  width: 8px;              
}
.user-coments::-webkit-scrollbar-track {
  background: white;        /* color of the tracking area */
}
.user-coments::-webkit-scrollbar-thumb {
  background-color: gainsboro;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: 3px solid gainsboro;  /* creates padding around scroll thumb */
}

/*LIGHTBOX GALLERY*/
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
  text-align: center;
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  position: relative;   /* Permite posicionar setas sobre a imagem */
  margin-top: 5%;
  border-radius: 20px;
  border: 3px solid white;
}
.close-button {
  position: absolute;
  top: 55px;
  right: 100px;
  font-size: 40px;
  cursor: pointer;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  z-index: 1000;
}
.close-button:hover {
  position: absolute;
  top: 55px;
  right: 100px;
  font-size: 40px;
  cursor: pointer;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  z-index: 1000;
  transition: 0s;
  color: red;
}
.lightbox-prev-button,
.lightbox-next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  cursor: pointer;
  color: white;
}
.lightbox-prev-button:hover,
.lightbox-next-button:hover {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  cursor: pointer;
  transition: 0s;
  color: black;
}

.lightbox-prev-button {
  left: 3em;
  z-index: 100;
}

.lightbox-next-button {
  right: 3em;
  z-index: 100;
}

/* FIM LIGHTBOX GALLERY*/


