*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  -webkit-user-select: none;
  /* Safari */
  /* IE 10 and IE 11 */
  -moz-user-select: none;
  user-select: none;
  /* Standard syntax */
}

body {
  margin: 0;
  padding: 0;
}

:root {
  --largura: 600px;
  --tituloFontsize: 25px;
  --subtituloFontsize: 18px;
  --orientacaoFontsize: 14px;
  --perguntaFontsize: 16px;
  --respostaFontsize: 14px;
  --recomendaFontsize: 16px;
  --cabecaFontsize: 16px;
  --conteudoFontsize: 14px;
  --asescolhasFirst: 160px;
  --resultadoTabelaFontsize: 14px;
  --referenciaFontsize: 14px;
  --areferenciaFontsize: 13px;
}

.container {
  width: var(--largura);
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto;
  margin-left: auto;
  margin-right: auto;
}

.titulo {
  padding: 15px 0px 5px 0px;
  font-size: var(--tituloFontsize);
  text-align: center;
}

.subt {
  font-size: var(--subtituloFontsize);
  text-align: center;
}

.rotas {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  justify-content: end;
  margin-bottom: 3px;
  margin-right: 3px;
}

.lang a {
  padding: 3px 12px 3px 12px;
  text-decoration: none;
  background-color: black;
  color: white;
  font-size: 11px;
  border-radius: 5px;
  margin-right: 3px;
}

.item {
  background-color: #9eecef;
  border-bottom: 2px solid rgb(194, 240, 249);
}

.item:last-child {
  border-bottom: none;
}

.asquestoes {
  padding: 10px;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  justify-items: center;
  align-items: center;
}

.recomenda {
  font-size: var(--recomendaFontsize);
  text-align: center;
}

.cabeca {
  padding: 0px 4px 0px 20px;
  font-size: var(--cabecaFontsize);
}

.questionario {
  width: 100%;
  margin-top: 10px;
}

.questionario tr {
  padding: 0;
}

.questionario,
.questionario th,
.questionario td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 6px 0px 6px 0px;
  text-align: start;
}

.linha {
  margin-bottom: 8px;
}

.questionario td:last-child {
  width: 60px;
  align-self: center;
}

.pergunta {
  font-size: var(--perguntaFontsize);
  padding: 0px 4px 8px 20px;
  text-indent: -10px;
}

.asescolhas {
  display: grid;
  grid-template-columns: var(--asescolhasFirst) auto;
  grid-template-rows: auto auto;
  justify-items: start;
  align-items: center;
  padding: 0px 4px 0px 24px;
}

/* The container */
.conteudo {
  display: block;
  position: relative;
  padding-left: 24px;
  cursor: pointer;
  font-size: var(--conteudoFontsize);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.conteudo input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: -2px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: white;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.conteudo:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.conteudo input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.conteudo input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.conteudo .checkmark:after {
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
}

.reinicia {
  display: grid;
  grid-template-columns: auto;
  grid-template-columns: auto;
  justify-content: center;
  align-items: center;
  margin: 0px 15px 5px 0px;
}

.botaoTexto {
  font-size: 12px;
  border-radius: 5px;
  padding: 1px 5px;
}

.daTabela {
  position: relative;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  justify-items: center;
  align-items: center;
  width: 300px;
  background-color: white;
  margin: 10px auto;
  padding: 5px;
}

.resultadoTabela {
  position: relative;
  width: 100%;
}

.resultadoTabela,
.resultadoTabela tr,
.resultadoTabela td,
.resultadoTabela th {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
  font-size: var(--resultadoTabelaFontsize);
}

.resul {
  background-color: blue;
  color: white;
}

.normal {
  background-color: white;
  color: black;
}

.setas {
  position: absolute;
  z-index: 2;
}

.referencia,
.areferencia {
  padding: 2px 5px 4px 20px;
  text-indent: -15px;
  font-size: var(--referenciaFontsize);
  font-weight: bold;
}

.referencia {
  font-style: italic;
  text-decoration: underline;
}

.areferencia {
  font-size: var(--areferenciaFontsize);
  font-weight: normal;
}

@media screen and (max-width: 480px) {
  :root {
    --largura: 100%;
    --referenciaFontsize: 13px;
    --areferenciaFontsize: 12px;
    --asescolhasFirst: 146px;
  }
}
@media screen and (max-width: 360px) {
  :root {
    --largura: 100%;
    --referenciaFontsize: 13px;
    --areferenciaFontsize: 12px;
    --asescolhasFirst: 140px;
  }
}
@media screen and (max-width: 320px) {
  :root {
    --largura: 100%;
    --tituloFontsize: 20px;
    --subtituloFontsize: 12px;
    --cabecaFontsize: 14px;
    --recomendaFontsize: 14px;
    --perguntaFontsize: 13px;
    --respostaFontsize: 12px;
    --conteudoFontsize: 12px;
    --asescolhasFirst: 128px;
    --resultadoTabelaFontsize: 12px;
    --referenciaFontsize: 12px;
    --areferenciaFontsize: 11px;
  }
}