@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;350;400;500;600;700;800;900&display=swap');


:root {
  --verde: #47CBAD;
  --azul: #6AB4D5;
  --roxo: #AF55CC;
}

* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  display: flex;
  justify-content: center;

  background-color: #ffffff; /* <-- ALTERAR (CASO NECESSÁRIO) */

}

div.titulo {

  height: 35px;
  background-color: #eaeaea; /* <-- ALTERAR (CASO NECESSÁRIO) */
  border-radius: 30px;
  padding: 3px 25px;
  margin-top: 5px;
  display: flex;
  justify-content: center;

}

div.titulo  h1 {
  margin-top: 7px;
  font-size: 1.05rem;
  text-align: center;
  color: #060606;
  text-transform: uppercase;
}


#map {
  position: absolute;
  top: 60px;
  bottom: 0;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  z-index: 1;
}


/* .container-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

   */
.btns {
  position: absolute;
  top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 10;
}

/* .btns::before {
    content: "Veja imagens do conflito";
    position: absolute;
    top: -25px;
    font-size: 19px;
    color: #6b6b6b;
    text-transform: uppercase;
  } */

.btn {
  padding: 10px 22px;
  margin: 0 5px;
  background-color: #ccc;
  color: #fff;
  cursor: pointer;
  border-radius: 25px;
  transition: background-color 0.3s;
  /* remover piscado azulado que aparece ao clicar no botão */
  -webkit-tap-highlight-color: transparent;
}

.btn:not(.active):hover {
  background-color: rgb(149, 149, 149);
}

.btn.cidade,
.btn.diversidade,
.btn.personalidade {
  background-color: #b3b3b3;
  text-transform: uppercase;
  font-size: 12px;
}

/* 
  .btn.diversidade {
    background-color: #5ADDC3;
  }

  .btn.personalidade {
    background-color: #C15ADD;
  } */


.btn.cidade.active {
  background-color: var(--azul);
  display: none;
  /* border: 2px solid #4899bc; */
  /* font-weight: 500; */
}

.btn.diversidade.active {
  background-color: var(--verde);
  /* border: 2px solid #46b8a1; */

}

.btn.personalidade.active {
  background-color: var(--roxo);
  /* border: 2px solid #923eaa; */
}

#popup {
  width: 505px;
  height: 400px;
  /* padding: 20px; */
  background-color: #0093D6;
  overflow-y: auto;
  /* border: 2px solid rgba(204, 204, 204, 0.765); */
  border-radius: 13px;
  position: fixed;
  top: 585px;
  left: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid white;
}


div#popup.nao-tem-foto {
  height: 83px;
  top: 486px;
  width: 300px;
  overflow: hidden;
}

div#popup.nao-tem-foto .infos-mural p {
  padding: 0px 10px;
  margin-top: -10px;
}

div#popup.nao-tem-foto .image {
  display: none;
}

/* div#popup.nao-tem-foto .image {
  display: none;
} */


#popup h3 {
  font-size: 24px;
  margin-bottom: 3px;
}

#popup p {
  margin-bottom: 8px;
  line-height: 1.4;
}

.image {
  position: relative;
  display: inline-block;
  max-width: 576px;
  width: 100%;
  height: 245px;
}

.image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgb(6 6 6 / 0%), rgb(0 0 0 / 48%));
  z-index: 1;
}


#popup .image img {
  max-width: 576px;
  width: 100%;
  height: 245px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}



#popup a.url-maps {
  color: #ffffffab;
  text-decoration: none;
  font-size: 12.5px;
  text-decoration: underline;
  margin-top: 6px;
  letter-spacing: 0.3px;
  position: fixed;
  bottom: 16px;
}

#popup a:hover {
  text-decoration: underline;
}


#popup .infos-mural {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 225px;
  z-index: 10;
  gap: 4px;
}

#popup .infos-mural .bloco-1,
#popup .infos-mural .bloco-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.infos-mural .bloco-2 .seta {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 11px solid #0093D6 !important;
  margin-bottom: 20px;
  display: none;
}


#popup .infos-mural h3 {
  padding: 0px;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: end;
  position: relative;
  bottom: 220px;
  right: -160px;
}


#popup .infos-mural p {
  padding: 0px 20px;

  font-weight: 400;
  text-align: center;
  /* width: 80%; */
  /* min-height: 34px; */
  /* text-transform: uppercase; */

    font-size: 20px;
    color: #ffffff;

}

#popup>div.infos-mural>div.bloco-2>p:nth-child(2) {
  margin-bottom: 5px;
  display: none;
}

#popup>div.infos-mural>div.bloco-2>a>img {
  width: 11.5px;
  height: 11.5px;
  opacity: 0.7;
}


.marker {
  width: 55px;
  height: 55px;
  /* border-radius: 50%; */
  /* background-image: url("./imagens/map-pin-svgrepo-com.png"); */
  background-size: cover;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
}
/* 
.marker.desactive {
  opacity: 0 !important;
} */

.marker.active {
  filter: drop-shadow(2px 1px 14px rgba(16, 131, 255, 0.3));
  animation: pulse-up 1s infinite;
  top: 0;
  position: relative;
}

@keyframes pulse-up {
  0% {
    top: 0;
  }

  50% {
    top: -5px;
  }

  100% {
    top: 0;
  }
}


.marker.cidade {
  background-image: url("./imagens/pin-cidade.svg");
  /* pointer-events: none; */
}

.marker.diversidade {
  background-image: url("./imagens/pin-map.svg");
}

.marker.personalidade {
  background-image: url("./imagens/pin-map.svg");
}

.btns-maps {
  display: flex;
}



.btns-maps>div {
  max-width: 45px;
  height: 45px;
  position: fixed;
  top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 10;
  border-radius: 99px;
  top: 260px;
  transition: background-color 0.3s;
  /* background-color: rgba(255, 255, 255, 0.55); */
  background-color: #005d92;
  cursor: pointer;

  /* remover piscado azulado que aparece ao clicar no botão */
  -webkit-tap-highlight-color: transparent;
}

.btns-maps>div:hover {
  background-color: #0b7db1;
}

.btns-maps>div img {
  width: 25px;
  height: 25px;
  /* filter: brightness(1%); */
}

.btns-maps>div.proximo {
  right: 45px;
}

.btns-maps>div.proximo.animation-pulse {
  animation: pulse 2s infinite;
}

.btns-maps>div.anterior {
  left: 45px;
}


/* criando animação de pulse */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 #f9f9f9ec;
  }
  
  70% {
    transform: scale(1.10);
    box-shadow: 0 0 0 10px rgba(229, 231, 231, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 246, 245, 0);
  }
}

.container-texto {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 120px;
  align-content: center;
  position: fixed;
  bottom: 80px;
  width: 100% !important;
}

#popup > div.infos-mural > div.bloco-2 > div.container-texto > p.texto-mural {
  background-color: #005d92;
  border-radius: 20px;
  padding: 5px 20px;
  text-transform: uppercase;
  font-size: 14.9px;
}

p.texto-descricao {
  font-size: 14.2px !important;
}

/* Ocultando primeiro e último pin do mapa */
/* 
#\31 -cidade {
  display: none !important;
}

#\38 -cidade {
  display: none !important;
} */


/* RESPONSIVO */


@media (max-width: 650px) {

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  div.titulo h1 {
    font-size: 1rem;
  }

  div#popup {
    max-width: 85vw !important;
    width: 85vw !important;
    height: 435px !important;
    top: 568px;
    overflow: hidden;
  }

  #popup .infos-mural h3 {
    bottom: 190px;
    right: -72px;
  }

  .container-texto {

    height: 140px;
    font-size: 19px;
    bottom: 127px;
  }

  div#popup.nao-tem-foto {
    height: 63px;
    top: 486px;
}

  div#map {
    max-width: 99vw;
  }

  .image {
    height: 185px;
  }

  #popup .image img {
    height: 185px;
  }

  #popup .infos-mural {
    top: 195px;
  }

  .btn {
    padding: 10px 14px;
    font-size: 11px !important;
  }

  .btns-maps>div.proximo {
    right: 30px;
  }

  .btns-maps>div.anterior {
    left: 30px;
  }

  #popup .infos-mural p {
    padding: 0px 12px;
    font-size: 13.2px !important;

  }



  div#popup.nao-tem-foto .infos-mural p {
    line-height: 18px;
  }

  p.texto-descricao {
    font-size: 13.5px !important;
  }


}




.mapboxgl-ctrl-attrib-inner {
  display: none !important;
}


.marker-label {
  display: none;
  font-size: 12px;
  text-transform: uppercase;
  color: white;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
  /* background-color: black; */
  padding: 5px 10px;
  position: relative;
  background-color: #000000a3;
  border-radius: 8px;
  top: -50px;
  /* text-shadow: rgb(14, 14, 14) 2px 0px 0px, rgb(14, 14, 14) 2.83487px 0.981584px 0px, rgb(14, 14, 14) 2.35766px 1.85511px 0px, rgb(14, 14, 14) 1.62091px 2.52441px 0px, rgb(14, 14, 14) 0.705713px 2.91581px 0px, rgb(14, 14, 14) -0.287171px 2.98622px 0px, rgb(14, 14, 14) -1.24844px 2.72789px 0px, rgb(14, 14, 14) -2.07227px 2.16926px 0px, rgb(14, 14, 14) -2.66798px 1.37182px 0px, rgb(14, 14, 14) -2.96998px 0.42336px 0px, rgb(14, 14, 14) -2.94502px -0.571704px 0px, rgb(14, 14, 14) -2.59586px -1.50383px 0px, rgb(14, 14, 14) -1.96093px -2.27041px 0px, rgb(14, 14, 14) -1.11013px -2.78704px 0px, rgb(14, 14, 14) -0.137119px -2.99686px 0px, rgb(14, 14, 14) 0.850987px -2.87677px 0px, rgb(14, 14, 14) 1.74541px -2.43999px 0px, rgb(14, 14, 14) 2.44769px -1.73459px 0px, rgb(14, 14, 14) 2.88051px -0.838247px 0px; */
}