@import url('https://fonts.googleapis.com/css2?family=Bungee+Spice&family=Lobster&family=Roboto+Mono&family=Roboto+Condensed&family=Handjet:wght@300&family=Courier+Prime:wght@400&family=Ubuntu+Condensed&family=Ubuntu+Mono:wght@400;700&family=Ubuntu:wght@300;400;500;700&display=swap');
@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
    }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
    --amarelo: #e39d10;
    --amarelo-ouro: #FFFF00;
    --azul: #10bde0;
    --azul-claro: #c9dfff;
    --azul-escuro: #0a0a23;
    --azul-vivo: #0088cc;
    --azul-gradient: #131b38, #192039, #0088cc;
    --branco: #F0F8FF;
    --cinza-escuro: #232526;
    --laranja: #FF4500;
    --roxo: #4B0082;
    --verde: #00FF7F;
    --verde-escuro: #0c100c;
    --verde-medio: #059a13;
    --verde-escuro: #0c100c;
    --verde-medio: #059a13;
}

html, body {
    background-color: var(--azul-claro);
    font-family: 'Ubuntu Condensed', sans-serif;
    line-height: 1.5;
    font-size: 1em; 
    padding: 7px 12px;
}

body {    
    min-height: 100vh;
}

/* HELPE */
.upper {
    text-transform: uppercase;
}

.lower {
    text-transform: lowercase;
}

#main-mls {
    background: linear-gradient(90DEG, #131b38, #192039, #232526);
    width: 500px;
    min-height: 100vh;
    padding: 20px;
    margin-top: 78px !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px var(--azul-escuro);
}

.header-title {
    margin-bottom: 10px;    
}

.header-title > h1 {
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    font-size: 2em;
    color: var(--amarelo);
    text-shadow: 2px 2px 5px aqua;
    text-align: center;
    line-height: 1.2;
  }

.header-title > h2 {
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    font-size: 1.6em;
    text-align: center;
    line-height: 1.2;
    margin-top: 44px;
    color: var(--azul);
    text-shadow: 2px 2px 5px var(--amarelo);
}
  
p.sf10 {
    font-family: 'Courier New', Courier, monospace;
    color: var(--azul);
    font-size: 1.2em;
    text-align: center;
    font-weight: 600;
    padding: 7px;
    line-height: 1.2;
}

h2.sf10 {
    padding-top: 7px;
    padding-bottom: 7px;
    font-family: 'Ubuntu Mono', monospace;
    color: var(--amarelo);
}

/* ASIDE */
aside {
    display: flex; 
    color: var(--azul-claro);
    font-size: 1em;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 10px;
}

aside img.border-radius {
    border-radius: 7px;
}

aside img {
    width: 60px;
    margin-right: 10px;
}

a.aside-link, a:visited {
    color: var(--amarelo);
    font-weight: bolder;
    text-decoration: none;
}

a:hover {
    color: var(--amarelo);
    text-decoration: none;
}

#section-exercicios {
    color: #c9dfff;
    margin-bottom: 14px;
}

#section-exercicios ul {
    padding: 0 25px;
    font-size: 1.2em;
}

#section-exercicios ul > li{
    list-style-type: circle;
}

#section-exercicios a, a:visited {
    color: var(--azul);
    font-weight: bolder;
    text-decoration: none;
}

/* IMC */
#main-imc {
    background-color: var(--cinza-escuro);
    width: 500px;
    padding: 20px;
    margin-top: 78px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px var(--azul-escuro);
    min-height: 100vh;
}

#section-imc {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    color: var(--azul-claro);
    margin-top: -25px;
    padding-bottom: 25px !important;
}

#colu-infor {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#colu-infor > .h4 {
    margin-top: -17px;
    margin-bottom: 17px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.form-group, .form-group1 {
    margin-bottom: 7px;
}

input#peso, input#altura1 {
    width: 100%;
    padding: 3px;
}

fieldset {
    padding: 7px;
}

input[type="radio"] {
    margin: 7px 0;
}

#btn-calc-clear {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 9px;
    margin-left: auto;
    margin-right: auto;
}

#btn-calc-clear > #enviar1, #reset, #recarregar {
    padding: 3px 7px;
    width: 33%;
    margin: 0 5px;
}

#btn-calc-clear > #reset {
    color: red;
}

#btn-calc-clear > #recarregar {
    color: green;
}

#resultado1 {
    padding: 8px 14px;
    margin: 7px;
    color: #c9dfff;
    border-radius: 8px;
}

/* FORMATADOR */
#formatador {
    width: 80%;
    padding: 25px;
    margin-top: 70px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
}

#formatador h1 {
    color: #e39d10;
    font-family: Ubuntu, sans-serif;
    font-weight: 700;
    text-align: center;
}

@media only screen and (max-width:500px) {
    #formatador {
        width: 100%;
        padding: 7px;
    }

    #formatador ul {
        margin-left: 14px;
    }
}

#formatador ul {
    list-style-type: none;
    text-align: center;
}

#formatador #section_formatador{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#formatador textarea {
    width: 100%;
    min-height: 70px;
    margin-left: auto;
    margin-right: auto;
    padding: 3px 7px;
    text-align: justify;
    margin: 3px 0 7px;
}

/* BOTOES*/
#btn_opcoes, #section_aviso {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 0;
}

button {
    padding: 7px;
    border-radius: 7px;
    border: none;
    margin: 0 3px;
}

button.converter {
    background-color: green;
    color: #c9dfff;
}

button.apagar {
    background-color: red;
    color: #c9dfff;
}

button.recarregar {
    background-color: yellow;
}

/* BTN AVISO */
#section_aviso {
    padding: 7px;
}

#section_aviso i {
    color: #e29c0f;
    padding: 7px;
}
#section_aviso button[onclick="innerHTML"]{
    color: red;
}
 
.aviso-btn {
    color:#e29c0f; 
    background-color:#232526;
    padding:3px;
    border-radius: 3px;
}

/* AVISO */
input[id='textCopp'] {
    background: none;
    border: 1px solid rgba(35,37,38,.2);
    padding: 7px;
    width: 100%;
    height: 40px;
}

/* RESPOSTA */
#resposta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.resposta-js {
    margin-top: 14px;
    border: 1px solid #232526;
    padding: 7px;
    text-align: justify;
    border-radius: 7px;
    min-width: 220px;
}

/* TESTO TESTE*/
.texto-teste {
    padding: 14px 0;
}

.texto-teste-content {
    display: flex;
    align-items: center;
}

.texto-teste-content button {
    height: 23px;
    border: 1px solid #e39d10;
    display: flex;
    align-items: center;
}

.texto-teste h3 {
    font-weight: normal;
}
/* FIM FORMATADOR */

@media(max-width:600px) {
    body {
        padding: 0;
        margin-top: -14px;
    }

    #main-mls {
        width: 100%;
        margin: 0 auto;
        box-shadow: none;
    }

    #main-imc {
        width: 100%;
        min-height: 80vh;
        margin-left: auto;
        margin-right: auto;
        box-shadow: none;
    }

    #main-imc > .header-title > h1 {
        margin-top: 44px;
        font-size: 1.4em;
        line-height: 1em;
    }

    h1, h2 {
        font-family: 'Ubuntu Mono', monospace;
        padding-top: 5px;
        padding-bottom: 7px;
    }

    h1 {        
        font-size: 1.2em;
    }

    h2 {        
        font-size: 1.2em;
    }
    
    #section-imc {
        padding-left: 0;
        padding-right: 0;
    }

    #btn-calc-clear {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;gap: 7px;
    }

    #btn-calc-clear > #enviar1, #reset, #recarregar {
        padding: 4px 7px;
        width: 40%;
    }

    footer {
        margin-top: 14px;
    }
}

