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

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --azul: rgba(95, 194, 203, 1);
  --rosa: rgba(255, 141, 158, 1);
  --cinza: rgba(101, 101, 101, 1);
  --branco: rgba(255, 255, 255, 1);
  --branco-claro: rgba(255, 255, 255, 0.5);
  --cinza-claro: rgba(227, 227, 227, 1);
  --preto: rgba(2, 2, 2, 1);
  --azul-btn: #2575E8;
}

* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  display: flex; /* Adicionada a propriedade display com o valor flex */
  /* flex-direction: column; */
  background-color: #ffffff;
  flex-direction: column;
  align-items: center;
}

h1 {
    font-size: 20px;
    color: #404040;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
    align-self: baseline;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

h2.linha-fina {
    max-width:fit-content;
    font-size: 14px;
    font-weight: 400;
    color: #181818;
    margin-bottom: 10px;
    line-height: 21px;
    align-self: baseline;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    text-align: left;
}

.container {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chart-container {
    position: relative;
    height: 450px;
    width: 100%;
}
.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.legenda {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.legenda-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.legenda-cor {
    width: 17px;
    height: 17px;
    margin-right: 5px;
    /* border-radius: 3px; */
}   


select#perguntaSelect {
    display: none;
}

#legenda > .legenda-item > span {
    font-size: 10.7px;
    text-transform: uppercase;
}



/* Ajustes responsivos para os filtros */
@media (max-width: 500px) {
    h1 {
        margin-top: 10px;
        font-size: 16px;
    }

    h2 {
        max-width: 80%;
        font-size: 13px;
        font-weight: 400;
        text-align: center;
        color: #9c9999;
        margin-bottom: 15px;
        line-height: 17px;
    }

    .legenda {
        row-gap: 0.5px;
    }

    .chart-container {
        height: 300px;
    }
}