
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..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;
  font-style: normal;
  display: flex;
  justify-content: center;

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

}

div.titulo {

  height: 35px;
  /* background-color: #ffffff; <-- ALTERAR (CASO NECESSÁRIO) */
  border-radius: 30px;
  padding: 25px 25px;
  margin-top: 1%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  /* border: 1px solid #A59881; */

}

div.titulo  h1 {
  margin-top: 50px;
  font-size: 1.5rem;
  text-align: center;
  color: rgb(16, 42, 205);
  font-weight: bold;
  /* text-transform: uppercase; */
  /* background-color: var(--azul); */
  background-color: rgb(229, 233, 252);
  padding: 10px 20px;
  border-radius: 40px;
}

h3 {
  font-size: 20px;
  color: #A7A7A7;
  font-weight: 400;
  margin-bottom: 60px;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
}

/* h3 strong {
  font-size: 12px;
  color: #A7A7A7;
  font-weight: 700;
} */


#map {
  position: absolute;
  top: 80px;
  bottom: 0;
  width: 100%;
  height: 660px;
  border-radius: 8px;
  z-index: 1;
  margin-top: 20px;
}


.geocoder {
  position: absolute;
  z-index: 1;
  width: 50%;
  left: auto;
  margin-left: auto;
  top: 90px;
  width: 200px;
  height: 50px;
  display: none;
  justify-content: center;
  align-items: center;
}

.mapboxgl-ctrl-geocoder {
  min-width: 100%;
  left: auto !important;
}

.mapboxgl-ctrl-geocoder {
  min-width: 250px !important;
  left: 50px;
  top: 47px;
  border-radius: 50px !important;
}


.mapboxgl-ctrl-geocoder--icon {
  top: 11px !important;
}

.mapboxgl-ctrl-geocoder--input {
  padding: 21px 35px !important;
}

.mapboxgl-ctrl-geocoder--input:focus {
  color: #B0A590;
  outline: 0;
  box-shadow: none;
  outline: thin dotted;
}

.mapboxgl-ctrl-geocoder--input:focus {
  border-radius: 50px;
  color: #a5a5a5 !important;
  outline: thin solid !important;
}


.btns {
  position: absolute;
  top: 32px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 8;
  margin: 10px 0px;
}

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

.btn {
  padding: 13px 22px;
  margin: 0 5px;
  font-size: 10.5px;
  background-color: #ccc;
  color: #fff;
  cursor: pointer;
  border-radius: 25px;
  transition: background-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}



.btn#sede {
  background-color: #000000;
}

.btn#fundadores {
  background-color: #102ACD;
}

.btn#lugares {
  background-color: #E9B600;
}

.btn#simbolos {
  background-color: #909090;
}


.btn#sede.active {
  background-color: #000000;
  font-weight: 600;
}

.btn#fundadores.active  {
  background-color: #102ACD;
  font-weight: 600;
}

.btn#lugares.active  {
  background-color: #E9B600;
  font-weight: 600;
}

.btn#simbolos.active  {
  background-color: #909090;
  font-weight: 600;
}


/* 
.btn#sede:hover {
  background-color: #909090;
}

.btn#fundadores:hover {
  background-color: #52958c;
}

.btn#lugares:hover {
  background-color: #b58f45;
}

.btn#simbolos:hover {
  background-color: #cb5a43;
} */




.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;
  } */


.container-popup {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.405);
  position: fixed;
  z-index: 10;
  display: none;
  justify-content: center;
    align-items: center;
  /* top: 200px; */
}

.container-popup #popup {
  margin-top: 30px;
  width: 620px;
  height: 645px;
  border-radius: 20px;
  background-color: #64B1A7;
  color: #FFFFFF;

  display: flex;
  flex-direction: column;
    align-items: center;
}

.container-popup #popup .imagem {
  width: 100%;
  height: 300px;
  margin-top: -55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.container-popup #popup .imagem p.credito {
  display: none;
  width: 66%;
  margin-left: 13px;
  font-size: 10px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.665);
  text-transform: uppercase;
}

.container-popup #popup .imagem p.credito.active {
  display: flex;
}

.container-popup #popup .imagem img {
  width: 100%; /* Ajusta a largura ao contêiner */
  height: 100%; /* Ajusta a altura ao contêiner */
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.container-popup #popup div.btn-close {
  width: 55px;
  height: 55px;
  background-color: #64B1A7;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-weight: 100;
  cursor: pointer;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  position: relative;
  left: 252px;
  top: 26px;
  /* filter: saturate(0.5); */
}

.container-popup #popup div.btn-close:hover {
  filter: saturate(0.65);
} 


.container-popup #popup .infos {
  margin-left: 15px;
  width: 65%;
  margin-top: 30px;
  max-height: 272px;
  overflow-y: auto;
  padding-right: 10px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 3px;
}



.container-popup #popup .infos {
  --sb-track-color: rgba(255, 255, 255, 0.231);
  --sb-thumb-color: #ffffff;
  --sb-size: 11px;
}

.container-popup #popup .infos::-webkit-scrollbar {
  width: var(--sb-size)
}

.container-popup #popup .infos::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 9px;
}

.container-popup #popup .infos::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 9px;
  
}

@supports not selector(::-webkit-scrollbar) {
  .container-popup #popup .infos {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

.container-popup #popup .infos p.categoria {
  font-size: 12.5px;
}

.container-popup #popup .infos p.personalidade {
  font-size: 30px;
  font-weight: bold;
  line-height: 37px;
}

.container-popup #popup .infos p.titulo {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 16.5px;
  font-style: italic;
  line-height: 17px;
  color: rgba(255, 255, 255, 0.655);
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
  border-top-color: rgb(229, 233, 252) !important;
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
  border-top-color: rgb(229, 233, 252) !important;
  border-bottom-color: rgb(229, 233, 252) !important;
}

.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
  border-left-color: rgb(229, 233, 252) !important;
}

.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
  border-right-color: rgb(229, 233, 252) !important;
  
}

.container-popup #popup .infos p.texto {
  font-size: 14.2px;
  margin-top: 11px;
  margin-bottom: 20px;
}

.container-popup #popup .infos p.texto a {
  color: #ffffff;
}

.mapboxgl-popup-content {
  background: rgb(229, 233, 252) !important;
  border-radius: 15px !important;
  padding: 0px !important;
  display: flex;
  flex-direction: column;
    align-items: center;
    padding-bottom: 10px !important;
} 

.mapboxgl-popup-content > div.tooltip {
  padding: 8px 15px;
  line-height: 17px;
  text-align: center;
  font-weight: 400;
  font-size: 14.5px;
  padding: 10px 20px;
  
}

div.mapboxgl-popup-content .imagem-tooltip {
    width: 220px;
    height: 120px;
    
}

div.mapboxgl-popup-content .imagem-tooltip img{
  width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    /* margin-bottom: ; */
}



.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; */
}



.marker {
  opacity: 0.8 !important;
  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: none;
}



.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;
}

ul.suggestions {
  z-index: 15 !important;
}


.btn-sem-filtro {
  display: none;
  height: 15px;
  position: fixed;
  top: 200px;
  z-index: 10;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 13px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 25px;
  transition: background-color 0.3s;
  cursor: pointer;
  box-shadow: 1px 0px 16px 0px rgba(0,0,0,0.24);
  -webkit-box-shadow: 1px 0px 16px 0px rgba(0,0,0,0.24);
  -moz-box-shadow: 1px 0px 16px 0px rgba(0,0,0,0.24);
}

.btn-sem-filtro:hover {
  background-color: #ebebeb;
}


.mapboxgl-ctrl-top-right {
  right: 50px !important;
  top: 30px !important;
}

/* 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;
}



.container-popup #popup div.imagem.galeria {
  width: 100%;
    height: 300px;
    margin-top: -37px;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background-color: #ffffff45; */
}


div.imagem.galeria img {
  display: none;
  flex: 0 0 100%; /* Largura fixa de 90% para a coluna central */
}

div.imagem.galeria img.slide.active {
  display: flex;
}

div.imagem.galeria .btns-slide {
  position: relative;
  transform: translateY(-350%);
  width: 100%;
  display: flex;
  justify-content: space-between;
}


div.imagem.galeria .nav-button {
  width: 50px;
  height: 50px;
  font-family: inherit;
  line-height: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 40px;
  font-size: 30px;
}

div.imagem.galeria .nav-button:hover{
  background-color: rgba(0, 0, 0, 0.70);
}

div.imagem.galeria .nav-button.prev {
  left: 10px;
  bottom: 150px;
  margin-left: 30px;
}

div.imagem.galeria .nav-button.next {
  right: 10px;
  bottom: 150px;
  margin-right: 30px;
}



@media (max-width: 650px) {

  div.titulo {
    margin-top: 30px;
  }

  body div.titulo h1 {
    margin-top: 30px !important;
    margin-top: 0.5rem !important;
  }

  div.titulo h3 {
    /* margin-top: 16px; */
    text-align: center;
  }

  div.titulo h3 {
    /* margin-top: 16px; */
    text-align: center;
  }

  .mapboxgl-ctrl-top-right {
    right: 0px !important;
    top: 20px !important;
  }

  .container-popup #popup div.imagem.galeria {
    height: 180px;
    margin-left: 0px;
  }

  div.imagem.galeria .btns-slide {
    transform: translateY(-240%);
  }

  div.imagem.galeria .nav-button {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  div.imagem.galeria .nav-button.prev {
    margin-left: 15px;
  }
  div.imagem.galeria .nav-button.next {
    margin-right: 15px;
  }

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



  .container-popup #popup {
    margin-top: 10px;
    width: 90vw;
    height: 550px;
    border-radius: 20px;
    background-color: #64B1A7;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}

  .container-popup #popup .imagem {
    width: 100%;
    height: 180px;
  }

  .container-popup #popup .infos {
    width: 80%;
    max-height: 300px;
}

.container-popup #popup .infos p.personalidade {
  font-size: 25px;
  font-weight: bold;
  line-height: 31px;
}

.container-popup #popup .infos p.titulo {
  margin-top: 7px;
  line-height: 17px;

}

.container-popup #popup div.btn-close {
  width: 50px;
  height: 50px;
  font-size: 23px;
  left: 120px;
  top: 14px;
  /* filter: saturate(0.5); */
}



.container-popup #popup .imagem p.credito {
  width: 82%;
}

  #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;
    position: absolute;
    top: 130px;
    bottom: 0;
    width: 100%;
    height: 580px;
    border-radius: 20px;
    z-index: 1;
  }

  .geocoder {
    top: 162px;
    left: 43px;
  }

  .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;
  }

  .btns {
    flex-wrap: wrap;
    gap: 8px;
  }

  .btns .btn {
    margin: 0px 0px ;
    /* color: #005d92 !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; */
}