* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: black;
  color: white;
}
h1 {
  color: #ff5900;
  margin-top: 50px;
}
h2 {
  color: black;
  font-size: 16px;
}

h3 {
  display: inline;
}
p {
  margin-top: 20px;
}
.dark p {
  margin-top: 0;
}

button {
  width: 200px;
  height: 50px;
  font-weight: bold;
  background-color: "ff6900";
  border-radius: 10px;
}
select {
  width: 200px;
  height: 50px;
  margin-top: 30px;
  font-weight: bold;
  border-radius: 15px;
  background-color: white;
}
img {
  max-width: 500px;
}

#map {
  top: 0;
  height: 100vh;
  width: 100%;
  position: sticky;
}
#header {
  margin: auto;
  width: 100%;
  position: relative;
  z-index: 5;
}
#header h1,
#header h2,
#header p {
  margin: 0;
  padding: 2vh 2vw;
  text-align: center;
}
#footer {
  width: 100%;
  min-height: 5vh;
  padding-top: 2vh;
  padding-bottom: 2vh;
  text-align: center;
  line-height: 25px;
  font-size: 13px;
  position: relative;
  z-index: 5;
}
#features {
  padding-top: 10vh;
  padding-bottom: 10vh;
}
.hidden {
  visibility: hidden;
}
.centered {
  width: 80vh;
  margin: 0 auto;
}
.lefty {
  width: 25vw;
  margin-left: 5vw;
}
.righty {
  width: 25vw;
  margin-left: 68vw;
}
.fully {
  width: 100%;
  margin: auto;
}
.light {
  color: #444;
  background-color: #fafafa;
  border-radius: 10px;
}
.dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fafafa;
  background-color: #444;
  border-radius: 10px;
  opacity: 0.98;
}
.step {
  padding-bottom: 50vh;
  opacity: 0.25;
}

.step.active {
  opacity: 0.9;
}

.step div {
  padding: 25px 25px;
  line-height: 25px;
  font-size: 13px;
}

.step img {
  width: 100%;
}

.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,
.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan
  .mapboxgl-canvas {
  touch-action: unset;
}

.quadrados {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.valoreslegenda {
  color: white;
}
.destaquesfavelas {
  background-color: #ff5900;
  font-weight: bold;
  font-size: 18px;
  border-radius: 5px;
  padding: 3px;
  color: black;
}
.destaquesfavelas2 {
  background-color: whitesmoke;
  color: black;
  font-weight: bold;
  font-size: 18px;
  padding: 3px;
  border-radius: 5px;
}

.capa-conteiner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  margin-left: auto;
  margin-right: auto;
  background: url("https://cdn.agenciamural.org.br/2023/10/26175110/panorama-favelas_desktop.png")
    no-repeat center center;
  background-size: cover;
  background-color: #ff5900;
}

.cabecalho h1 {
  color: black;
}
.cabecalho p {
  color: black;
  font-size: 16px;
}
.cabecalho2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.cabecalhointerno {
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
  padding: 10px 350px 50px;
  background-color: white;
  color: black;
}
.cabecalhointerno .textoabre p.primeiro-paragrafo::first-letter {
  float: left;
  font-size: 80px;
  margin-right: 6px;
  font-weight: bold;
  initial-letter-align: hanging; /* Alinha as linhas ao redor da letra */
  initial-letter-wrap: both;
}

.cabecalhointerno2 {
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
  background-color: white;
  color: black;
  margin-top: 30px;
  padding: 10px 350px 50px;
}

.selecaodistritos {
  display: flex;
  flex-direction: row;
  column-gap: 50px;
}
.parte-comparacao {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  row-gap: 100;
}
.trilho {
  background: #2e2e2e;
  margin: 10px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  color: black;
  font-weight: bold;
  column-gap: 10px;
}

.tudo {
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: 20%;
  height: 200px;
}

.ordem {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.novaselecao {
  appearance: none;
  background-color: #0e0e0e;
  width: auto;
  color: white;
  padding: 5px;
  border: 0px;
  border-bottom: 2px dashed #ff5900;
  border-radius: 0;
  font-size: 26px;
  outline: none;
  margin-right: 5px;
  margin-left: 5px;
}

.retrato {
  border-radius: 50%;
  width: 50px;
  border: 3px solid black;
}
.imagem-container {
  text-align: center; /* Centraliza o conteúdo horizontalmente */
}

.imagem-container-txt img {
  max-width: 100%; /* Garante que a imagem não ultrapasse a largura do contêiner */
  margin-top: 10px;
}

.legenda-txt {
  font-size: 12px;
  margin-top: 10px; /* Espaço entre a imagem e a legenda */
}

.credito {
  font-size: 12px;
  color: #888; /* Cor do texto do crédito */
  margin-top: 5px; /* Espaço entre a legenda e o crédito */
}

.crédito-autores {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  line-height: 0;
  margin: 0;
  padding: 20px;
  background-color: white;
  color: black;
  padding: 10px 350px 50px;
}

.assinaturas {
  display: flex;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  column-gap: 50px;
  color: black;
  width: 100%;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
.assina {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 15px;
}

.textointroducao {
  width: 100%;
  max-width: 500px;
}

.preenchimento {
  width: 0%;
  height: 100%;
  background: #ff5900;
  display: flex;
  justify-content: end;
  align-items: center;
}

.destaque {
  color: #ff5900;
  font-weight: bold;
  font-size: 20px;
}

.grafico {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  column-gap: 15px;
}

.ordenamento {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 15px;
}

.tituloordenar {
  font-size: 18px;
  font-weight: bold;
}

.grupobotoes {
  display: flex;
  flex-direction: row;
  column-gap: 15px;
}

.botao-ordenacao {
  width: 200px;
  height: 50px;
  font-weight: bold;
  border-radius: 15px;
  color: white;
}

.botao-ordenacao.ativo {
  background-color: white;
  color: black;
}

.bar {
  display: flex;
  flex-direction: row;
  height: 20px;
  background-color: #615d5d;
  margin-top: 10px;
}

.bardentro {
  height: 20px;
  background-color: #ff5900;
}
.fraselaranja,
.frasecinza {
  padding: 0 3px;
  font-size: 18px;
  font-weight: bold;
}

.frasecinza {
  color: #615d5d;
}
.fraselaranja {
  color: #ff5900;
}

.dados-distrito {
  font-family: sans-serif;
  background-color: black;
  color: white;
  font-weight: 0;
  font-size: 15px;
}
.nome-distrito {
  color: #ff5900;
}
.encerramento {
  display: flex;
  align-items: left;
  justify-content: left;
  width: 100%;
  height: 100%;
  background-color: orangered;
  color: black;
  font-size: 16px;
  margin-top: 50px;
  text-align: center;
  padding: 10px 300px 50px;
}
.titulo {
  font-size: 24px;
  font-weight: bold;
  font-family: "Space Mono", monospace;
  justify-items: left;
}
.tituloexplora {
  text-align: center;
}

.parte-exploracao {
  background-color: black;
}

/*parte mapad3*/
.main-text {
  margin: 0 auto;
  max-width: var(--largura);
  color: white;
}

svg {
  margin: 0 auto;
  display: block;
  width: 70%;
  max-width: var(--largura);
  height: 600px;
}

path {
  /*stroke: transparent;
  fill: cornflowerblue;*/
  stroke: black;
}

path.highlight {
  filter: blur(1px);
}

.texto-tooltip {
  min-height: 3em;
}

.legenda {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: 0.8rem;
  margin: 1rem auto;
  max-width: var(--largura);
  gap: 1.5em;
}

.color-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  /*border-bottom: 2px solid transparent;
  padding-bottom: .5em;*/
}

.color-container.highlighted {
  border-bottom-color: white;
}

.color-key {
  width: 1em;
  height: 1em;
}

.color-label {
  color: white;
  margin-left: 0.5em;
}

@media (max-width: 768px) {
  .centered,
  .lefty,
  .righty,
  .fully {
    width: 90vw;
    margin: 0 auto;
  }
  .tudo {
    width: 100%;
  }
  .grupobotoes {
    flex-direction: column;
    row-gap: 5px;
  }
  .cabecalho {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 10px;
  }
  .capa-conteiner {
    background: url("https://i.postimg.cc/pTBSCRTv/capaprincipal2.png")
      no-repeat center center;
    background-size: cover;
    background-position: center;
  }
  .crédito-autores {
    font-size: 10px;
    line-height: 1em;
    padding: 10px;
  }
  .cabecalhointerno {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 10px;
  }

  .cabecalhointerno2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 10px;
  }
  .textointroducao {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 5px;
  }
  .assinaturas {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
  }
  .parte-comparacao {
    width: 100%;
    max-width: 100%;
  }
  .novaselecao {
    width: auto;
    font-size: 22px;
    flex: 1;
    margin: 0;
    min-width: 0;
  }
  .tudo {
    row-gap: 20px;
    width: 100%;
    height: auto;
  }
  .quadrados {
    text-align: left;
    margin-top: 20px;
  }
  .quadrado {
    display: inline-block;
  }
  .resumo {
    margin-bottom: 35px;
    margin-top: 0px;
  }
  img {
    max-width: 100%;
  }
  .linhas {
    width: 100%;
  }
  .selecaodistritos {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }
  .ordem {
    line-height: 26px;
  }
  h1 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  svg {
    height: 300px; /* Ajuste a altura para dispositivos móveis como desejar */
  }

  .dados-distrito {
    font-family: sans-serif;
    background-color: black;
    color: white;
    font-weight: 0;
    font-size: 15px;
  }
  .nome-distrito {
    color: #ff5900;
  }
  .encerramento {
    height: auto; /* Ajuste a altura para dispositivos móveis */
    padding: 10px; /* Ajuste o padding para dispositivos móveis */
  }
}
