:root {
    --primary-color: #fff;
}

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

body {
    font-family: "JetBrains Mono";
    background-color: antiquewhite;
    font-size: 1.6rem;
}

.section-calculate-imc {
    margin: 0 auto;
    max-width: 50%;
    text-align: center;
    background-color: aliceblue;
    border: 1px solid #000;
    padding: 2rem;
}

@media (max-width: 768px) {
    .section-calculate-imc {
        max-width: 100%;
    }

    form input {
        width: 60%;
    }
}

h1,
caption {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    margin: 1rem;
}

table th,
table td {
    border: 1px solid #000;
    padding: 0.4em;
}

fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.responsive-table {
    margin: 0 auto;
    overflow-x: auto;
    max-width: 982px;
    display: flex;
    flex-direction: row;
    justify-items: center;
    justify-content: center;
}

.button-form-imc {
    padding: 0.5em;
    background-color: #000;
    color: white;
    font-size: 1.5em;
    transition: all 300ms ease-in-out;
    border-radius: 5px;
}

.button-form-imc:hover {
    background-color: rgba(243, 86, 8, 0.915);
}

label {
    font-weight: bold;
}

input {
    width: 40%;
    text-align: center;
    padding: 0.8em;
    font-size: 1em;
    margin: 0.6rem;
    transition: all 300ms ease-in-out;
}

input:focus {
    box-shadow: 0 0 30px rgba(243, 86, 8, 0.915);
}

.resultado-imc-start {
    margin-top: 0.5em;
    min-width: 100%;
    min-height: 2em;
    background-color: aliceblue;
    transition: all 300ms ease-in-out;
}

.resultado-imc {
    margin-top: 0.5em;
    min-width: 100%;
    min-height: 2em;
    font-weight: bold;
    background-color: rgba(243, 86, 8, 0.915);
    box-shadow: 0 0 10px #000000;
}

.value-imc {
    text-shadow: 0 0 5px #fff;
}

table tr {
    transition: all 300ms ease-in-out;
}

.nivelIMC {
    background-color: rgba(243, 86, 8, 0.915);
}
