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

body {
  margin: 0;
  padding: 0;
}

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

:root {
  --largura: 600px;
  --tituloSize: 25px;
  --subSize: 20px;
  --fatorSize: 18px;
  --referenciaFontsize: 14px;
  --areferenciaFontsize: 12px;
}

.container {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto;
  margin-left: auto;
  margin-right: auto;
  width: var(--largura);
  row-gap: 3px;
  background-color: rgb(194, 240, 249);
}

.item {
  background-color: #9eecef;
}

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

.cabeca {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  justify-items: center;
  align-items: center;
  row-gap: 5px;
  padding: 10px 0px;
}

.titulo {
  font-size: var(--tituloSize);
}

.sub {
  font-size: var(--subSize);
}

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

.fatores {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  row-gap: 8px;
  justify-items: start;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: var(--fatorSize);
}

.idad {
  justify-self: center;
  grid-area: 1/1/1/2;
  margin-bottom: 10px;
}

select {
  width: 160px;
  font-family: Georgia, "Times New Roman", Times, serif;
  padding: 1px;
  font-size: 14px;
  border: 2px solid #4CAF50;
  border-radius: 5px;
  background-color: #f9f9f9;
  color: #333;
  outline: none;
  cursor: pointer;
  text-align: center;
  margin-left: 10px;
  justify-self: end;
}

select:hover {
  border-color: #45a049;
}

select:focus {
  box-shadow: 0 0 5px #4CAF50;
}

.oFator {
  display: grid;
  grid-template-columns: 70px auto;
  grid-template-rows: auto;
  align-items: center;
  width: 100%;
  -moz-column-gap: 5px;
       column-gap: 5px;
  padding: 0px 20px;
}

.switch {
  display: flex;
  justify-content: start;
  align-items: center;
}

.toggle-knob {
  transition: cx 0.3s ease;
}

.toggle-bg {
  transition: fill 0.3s ease;
}

.sim,
.nao {
  transition: fill-opacity 0.3s ease;
}

.doenca {
  background-color: rgba(255, 255, 255, 0.634);
  padding: 4px 6px;
  border-radius: 6px;
}

.explica {
  font-size: 14px;
  font-style: italic;
}

.botao {
  justify-self: end;
  margin-right: 8px;
}

button {
  cursor: pointer;
}

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

.conclui {
  display: grid;
  width: 300px;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto auto;
  justify-content: center;
  align-items: center;
  row-gap: 5px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
}

.risco,
.pontos,
.orienta,
.incide {
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.438);
  text-align: center;
}

.risco span,
.pontos span,
.incide span {
  font-size: 18px;
}

.titconclui {
  justify-self: center;
  font-size: 22px;
}

.orienta {
  padding: 0px 5px;
  width: 250px;
  text-align: left;
  font-size: 16px;
  text-indent: 18px;
}

.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: 410px;
    --tituloSize: 22px;
    --subSize: 18px;
    --fatorSize: 16px;
    --referenciaFontsize: 12px;
    --areferenciaFontsize: 10px;
  }
}
@media screen and (max-width: 393px) {
  :root {
    --largura: 100%;
  }
}
@media screen and (max-width: 375px) {
  :root {
    --largura: 100%;
  }
}
@media screen and (max-width: 360px) {
  :root {
    --largura: 100%;
  }
}
@media screen and (max-width: 320px) {
  :root {
    --largura: 100%;
    --tituloSize: 20px;
    --subSize: 16px;
    --fatorSize: 14px;
  }
}