*,
*::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 {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
}

.subselect {
    font-style: italic;
    font-size: 12px;
    color: blue;
}

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

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

.item-1,
.item-2 {
    height: 75px;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.item-1 {
    position: relative;
    grid-template-rows: auto auto auto;
}

.item-2 {
    height: 40px;
}

.titulo {
    font-size: 25px;
}

.subtitulo {
    font-size: 13px;
    text-align: center;
}

.lang {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

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

.item-2 {
    grid-template-columns: 0.5fr 0.5fr;
    justify-content: center;
    font-size: 19px;
    column-gap: 3px;
}

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

.metodo-botao {
    width: 200px;
    font-size: 14px;
    margin-left: 5px;
    padding: 2px 0px 2px 5px;
    text-align: center !important;
}

.menu-metodo {
    font-size: 14px;
    text-align: center;
}

.descreve-metodo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    padding: 0 10px;
    width: 98%;
    height: 100%;
}

.item-3 {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto auto;
    row-gap: 3px;
}

.dados {
    position: relative;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    background-color: #9eecef;
    /* padding: 9px 25px; */
    justify-content: center;
    align-items: center;
    justify-items: center;
    height: 75px;
}

.dosexo {
    display: flex;
    padding: 10px 0px;
    background-color: #9eecef;
    justify-content: center;
    align-items: center;
}

.dolabel {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.lbl_uni {
    font-size: 14px;
}

input {
    width: 130px;
    margin: 0px 5px;
    text-align: center;
}

#creat_unid-button,
#peso_unid-button,
#altura_unid-button {
    margin-left: 5px;
    padding: 1px 0px 1px 9px;
    text-align: center;
}

.seleciona_unidade {
    font-size: 13px;
    text-align: center;
}

.seleciona_unidade-menu {
    font-size: 12px;
    text-align: center;
}

.slide_creat,
.slide_peso,
.slide_alt,
.slide_aidad {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
}

#acreat,
#opeso,
#aalt,
#aidad {
    width: 430px;
    margin: 0px 12px;
}

.ui-slider-range {
    background: #ef2929;
}

.ui-slider .ui-slider-handle {
    width: 26px !important;
    height: 26px !important;
    top: -11px !important;
    border-radius: 50%;
    background: green;
}

.ui-slider {
    height: 5px;
    background: green;
}

.menos_1,
.mais_1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 33px;
    background-color: blue;
    border-radius: 50%;
}

.menos_2,
.mais_2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

.menos_3,
.mais_3 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: blue;
    border-radius: 50%;
    font-size: 12px;
    color: white;
}


.item-4 {
    height: 210px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 5px;
    justify-content: center;
    align-content: center;
}

.result {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 75px 55px;
    justify-content: center;
    align-items: center;
}

.descrvMetod {
    text-align: center;
    font-size: 13px;
    font-style: italic;
}

.ometod {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
}

.clearence {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 1fr 1fr;
    justify-content: center;
    width: 250px;
    height: 70px;
}

.lblclearence {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 13px;
    color: blue;
    font-weight: bold;
}

.lbluniclear {
    font-weight: bold;
    margin-top: 5px;
    text-align: center;
}

#resultado {
    border-radius: 5px;
    width: 200px;
    height: 40px;
    font-size: 25px;
}

canvas {
    position: absolute;
}

#gauge {
    z-index: 1;
    background-color: white;
    border: 1px solid black;
}

#agulha {
    z-index: 2;
}

#classe {
    z-index: 3;
}

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

#simula {
    width: 300px;
}

.item-5 {
    height: 160px;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(6, auto);
    row-gap: 2px;
    padding: 5px 5px 5px 28px;
}

.referen,
.referen-1 {
    display: flex;
    align-items: center;
    font-size: 10px;
    text-indent: 10px;
}

.referen {
    font-size: 12px;
    text-decoration: underline;
    text-indent: -10px;
}

.referen-1 {
    text-indent: -10px;
}


@media screen and (max-width: 480px) {
    .titulo {
        font-size: 22px;
    }

    .subtitulo {
        font-size: 12px;
        text-align: center;
    }

    .container {
        width: 395px;
    }

    #acreat,
    #opeso,
    #aalt,
    #aidad {
        width: 295px;
        margin: 0px 12px;
    }

    .metodo {
        display: flex;
        align-items: center;
        font-size: 12px;
    }

    .subselect {
        font-size: 10px;
    }

    .metodo-botao {
        width: 100px;
        font-size: 11px;
    }

    .menu-metodo {
        font-size: 10px;
    }

    #metodo-button {
        width: 140px;
        height: 20px;
    }

    .descreve-metodo {
        padding: 0px;
        font-size: 11px;
    }

    #sexo-button {
        font-size: 12px;
        width: 100px;
        height: 20px;
    }

    .dados {
        padding: 9px 5px;
    }

    .dolabel {
        font-size: 12px;
    }

    input {
        font-size: 11px;
        width: 80px;
        height: 20px;
    }

    .lbl_uni {
        font-size: 12px;
    }

    #creat_unid-button,
    #peso_unid-button,
    #altura_unid-button {
        width: 100px !important;
        padding: 0px;
        height: 16px;
        font-size: 11px;
    }

    .item-4 {
        height: 360px;
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
        row-gap: 3px;
        justify-content: center;
        align-content: center;
    }

    .result {
        height: 150px;
        grid-template-rows: 55px 55px;
    }

    .docanvas {
        height: 200px;
    }

    .item-5 {
        height: 200px;
    }

}

@media screen and (max-width: 393px) {
    .container {
        width: 375px;
    }

    #acreat,
    #opeso,
    #aalt,
    #aidad {
        width: 270px;
        margin: 0px 12px;
    }
}

@media screen and (max-width: 375px) {

    .container {
        width: 360px;
    }

    #acreat,
    #opeso,
    #aalt,
    #aidad {
        width: 260px;
        margin: 0px 12px;
    }
}

@media screen and (max-width: 360px) {
    .container {
        width: 340px;
    }

    #acreat,
    #opeso,
    #aalt,
    #aidad {
        width: 245px;
        margin: 0px 12px;
    }

    .descreve-metodo {
        width: 140px;
        padding: 0px;
        font-size: 10px;
    }

    .dolabel {
        font-size: 10px;
    }

    .item-4,
    .dados {
        width: 340px;
    }
}

@media screen and (max-width: 320px) {
    .container {
        width: 305px;
    }

    #acreat,
    #opeso,
    #aalt,
    #aidad {
        width: 210px;
        margin: 0px 12px;
    }

    .descreve-metodo {
        width: 110px;
        /* padding: 0px;
        font-size: 10px; */
    }

    .dolabel {
        font-size: 10px;
    }

    .item-4,
    .dados {
        width: 305px;
    }
    .item-5{
        height: 230px;
    }
}