*,
*::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;
  --fonttitulo: 25px;
  --fontsubt: 16px;
  --larguraImagem: 290px;
  --alturaRowCorpo: 430px;
  --refereciaFontsize: 12px;
  --areferenciaFontsize: 12px;
  --FontePergunta: 16px;
}

.container {
  position: relative;
  width: var(--largura);
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto auto auto auto auto;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  transition: all 1s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 0;
  padding: 0px 5px 0px 5px;
}

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

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

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

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

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

.afigura {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto auto;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.mudaZoom {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.zoom {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 30px;
}

#ozoom {
  height: 2px;
  width: 160px;
  cursor: pointer;
}

#zoomMais,
#zoomMenos {
  cursor: pointer;
}

.orienta {
  text-align: center;
  margin: 5px 0px;
}

#frente {
  border: 1px solid black;
}

.frenteCosta {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.atransicao {
  transition: all 0.4s ease-in-out;
}

.aimagem {
  position: relative;
  width: var(--larguraImagem);
  height: var(--alturaRowCorpo);
  perspective: 1500px;
  margin-bottom: 10px;
}

.quadro {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition-delay: 0.3s;
  transform-style: preserve-3d;
}

.face {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  text-align: center;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.defrente {
  transform: rotateY(0deg);
}

.decosta {
  transform: rotateY(180deg);
}

.resetConta {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  justify-content: space-around;
  align-items: center;
  font-size: 16px;
}

.reiniciar {
  cursor: pointer;
  font-size: 12px;
  padding: 1px 10px;
  background-color: white;
  color: black;
  border-radius: 5px;
  border: 1px solid black;
  text-align: center;
}

.reiniciar:hover {
  background-color: #d8d7d7;
}

input[type=range]::-webkit-slider-runnable-track {
  height: 2px;
  background: white;
  border-radius: 5px;
}

/* Firefox */
input[type=range]::-moz-range-track {
  height: 2px;
  background: white;
  border-radius: 5px;
}

/* Internet Explorer / Legacy Edge */
input[type=range]::-ms-track {
  height: 2px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  height: 2px;
  background: #fc0b67;
  border-radius: 5px;
  outline: none;
}

/* Chrome, Safari, Edge */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
  background: #4285F4;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -8px;
}

/* Firefox */
input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #4285F4;
  border-radius: 50%;
  cursor: pointer;
}

.regiao {
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 1;
  opacity: 0.9;
  stroke-opacity: 0.5;
}

.metod,
.submetod {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-top: 5px;
  border: 1px solid black;
}

.submetod {
  font-size: 18px;
  border: none;
  background-color: rgba(236, 255, 255, 0.4588235294);
}

.pergunta {
  font-size: var(--FontePergunta);
}

.sscore {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto auto auto auto auto auto auto;
  row-gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.sintoma {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  justify-items: start;
  align-items: center;
  font-size: 16px;
}

select {
  width: 120px;
  font-family: Georgia, "Times New Roman", Times, serif;
  padding: 1px;
  font-size: 12px;
  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;
}

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

.diag {
  width: 100%;
  align-items: center;
  font-size: 20px;
  margin-top: 5px;
  text-align: center;
}

.resultado {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.roda {
  position: relative;
  width: 280px;
  height: 100px;
  margin: 10px 0px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.normal,
.fibro {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid black;
  text-align: center;
  padding: 26px 5px;
  font-size: 18px;
  background-color: white;
}

.fibro {
  transform: rotateX(-180deg);
}

.roda:hover {
  transform: rotateX(180deg);
}

.oswitch {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  justify-content: center;
  align-items: center;
  row-gap: 10px;
  -moz-column-gap: 10px;
       column-gap: 10px;
  padding: 10px 0px;
}

.switch {
  display: flex;
  justify-content: center;
  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;
}

@media screen and (max-width: 480px) {
  :root {
    --largura: 100%;
    --fonttitulo: 25px;
    --fontsubt: 16px;
    --alturaImagem: 570px;
    --larguraImagem: 290px;
    --alturaRowCorpo: 430px;
    --FontePergunta: 16px;
  }
}
@media screen and (max-width: 393px) {
  :root {
    --FontePergunta: 14px;
  }
}
:root {
  --FontePergunta: 13px;
}

@media screen and (max-width: 320px) {
  :root {
    --FontePergunta: 12px;
  }
}