*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}
.body{
    margin: 0;
    padding: 0;
}
:root {
    --largura: 600px;
    --fontfamily: 'Georgia';
    --fontSelectSize: 15px;
    --referenciaFontsize: 14px;
    --areferenciaFontsize: 14px;
    --largPergunta: 520px;
    --tz: 120px;
}

.container {
    position: relative;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto auto auto auto auto auto auto auto;
    background-color: rgb(194 240 249);
    width: var(--largura);
    margin-left: auto;
    margin-right: auto;
}

.titulo {
    padding: 15px 0px 5px 0px;
    font-size: 25px;
    text-align: center;
}

.subt {
    font-size: 18px;
    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: 3px solid rgb(194 240 249);
    overflow: hidden;
}

.item:last-child {
    border-bottom: none;
}

.item-1 {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
}

.item-2,
.item-3,
.item-4,
.item-5,
.item-6,
.item-7,
.item-8,
.item-9 {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

.item-8 {
    grid-template-rows: auto auto;
}

.item-10 {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    justify-content: center;
}

.item-11 {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    justify-content: center;
}

.item-12 {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    justify-content: center;
}

.envelop {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    padding: 8px 0px 5px 15px;
    column-gap: 8px;
    row-gap: 3px;
    justify-content: start;
    align-content: center;
}

.pergunta {
    position: relative;
    width: var(--largPergunta);
    padding-right: 4px;
}

#recomeca {
    justify-self: end;
    width: 70px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 10px;
    margin: 5px 0px;
}

.risco {
    font-size: 13px;
    font-style: italic;
    font-weight: bold;
    text-decoration: underline;
}

.verde {
    background: rgb(117, 233, 140);
}

.amarelo {
    background: rgb(254, 254, 145);
}

.vermelho {
    background: rgb(253, 104, 104);
}

.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;
}

.doIMC {
    grid-area: 2/1/2/3;
    justify-self: center;
}

#FazIMC {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 10px;
    cursor: pointer;
    margin-right: 4px;
}

/* ******************** Toggle *********************** */
/* toggle in label designing */
.toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 22px;
    background-color: rgb(150, 151, 153);
    border-radius: 35px;
    color: white;
    cursor: pointer;
}

/* After slide changes */
.toggle:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    top: 3px;
    left: 2px;
    transition: all 0.8s;
    transition-timing-function: cubic-bezier(0.18, 0.89, 0.35, 1.15);
}

/* Toggle text */
.sim,
.nao {
    position: absolute;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 9px;
    padding: 0;
    margin: 0;
    top: 6px;
    left: 4px;
    opacity: 0;
    transition: all 0.8s;
}

.nao {
    left: 22px;
    opacity: 1;
}

/* Checkbox checked effect */
.checkbox:checked+.toggle::after {
    left: 28px;
}

/* Checkbox checked toggle label bg color */
.checkbox:checked+.toggle {
    background-color: rgb(12, 185, 6);
}

/* Apaga Nao */
.checkbox:checked+.toggle .nao {
    opacity: 0;
}

/* Acende Sim */
.checkbox:checked+.toggle .sim {
    opacity: 1;
}

/* Checkbox vanished */
.checkbox {
    display: none;
}

/* ******************** Toggle *********************** */

/* ******************** Table *********************** */
table,
th,
td {
    border-collapse: collapse;
    width: 100%;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 14px;
    text-align: center;
}

th {
    width: 230px;
    text-align: left;
    padding-left: 4px;
}

.centraTexto {
    font-size: 16px;
    text-align: center;
}

/* ******************** Table *********************** */

/* ******************** Rotating Carousel *********** */
.scene {
    width: 296px;
    height: 86px;
    position: relative;
    perspective: 400px;
    margin: 20px 0px;
    border: 1px black solid;
    overflow: hidden;
}

.carrossel {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.carrosselCelula {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 290px;
    height: 80px;
    left: 2px;
    top: 2px;
    padding: 2px 4px 2px 4px;
    border: 1px solid rgb(159, 156, 156);
}

.carrosselCelula:nth-child(1) {
    transform: rotateX(0deg) translateZ(var(--tz));
}

.carrosselCelula:nth-child(2) {
    transform: rotateX(40deg) translateZ(var(--tz));
}

.carrosselCelula:nth-child(3) {
    transform: rotateX(calc(80deg)) translateZ(var(--tz));
}

.carrosselCelula:nth-child(4) {
    transform: rotateX(120deg) translateZ(var(--tz));
}

.carrosselCelula:nth-child(5) {
    transform: rotateX(160deg) translateZ(var(--tz));
}

.carrosselCelula:nth-child(6) {
    transform: rotateX(200deg) translateZ(var(--tz));
}

.carrosselCelula:nth-child(7) {
    transform: rotateX(240deg) translateZ(var(--tz));
}

.carrosselCelula:nth-child(8) {
    transform: rotateX(280deg) translateZ(var(--tz));
}

.carrosselCelula:nth-child(9) {
    transform: rotateX(320deg) translateZ(var(--tz));
}

/* ******************** Rotating Carousel *********** */


/* ******************** Overlay *********** */

/* The Overlay (background) */

.overlay {
    height: 100%;
    width: 0;
    position: absolute;
    z-index: 1;
    left: 0px;
    top: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}
.overlay a {
    text-decoration: none;
    font-size: 36px;
    color: #c7c7c7;
    display: inline;
    transition: 0.3s;
}

.closebtn {
    position: absolute;
    color: #c7c7c7;
    right: 10px;
}
.closebtn:hover{
    color: white;
}
iframe {
    position: relative;
    top: 40px;
    left: -4px;
    width: 100%;
    height: 100%;
}

/* ******************** Overlay *********** */


@media screen and (max-width: 480px) {
    :root {
        --largura: 390px;
        --referenciaFontsize: 13px;
        --areferenciaFontsize: 12px;
        --largPergunta: 320px;
    }

    .titulo {
        font-size: 20px;
    }

    .subt {
        font-size: 16px;
    }

    .pergunta {
        font-size: 14px;
    }

    .sim,
    .nao {
        top: 5px;
    }

    iframe {
        left: 0px;
    }
}

@media screen and (max-width: 393px) {
    :root {
        --largura: 380px;
        --largPergunta: 310px;
    }

    iframe {
        left: 0px;
    }
}

@media screen and (max-width: 375px) {
    :root {
        --largura: 360px;
        --largPergunta: 290px;
    }
    iframe {
        left: 0px;
    }

}

@media screen and (max-width: 360px) {
    :root {
        --largura: 350px;
        --largPergunta: 270px;
    }
}

@media screen and (max-width: 320px) {
    :root {
        --largura: 310px;
        --largPergunta: 230px;
    }

    .titulo {
        font-size: 18px;
    }

    .subt {
        font-size: 14px;
    }

    .pergunta {
        font-size: 13px;
    }

    iframe {
        left: 0px;
    }
}