
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 25px 16px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: Arial, Helvetica, sans-serif;
    color: #111;

    background:
        radial-gradient(circle at 10% 50%,
            rgb(177, 0, 0), transparent 12%),
        radial-gradient(circle at 85% 80%,
            rgb(27, 1, 1), transparent 20%),
        linear-gradient(135deg, #b80000, #740808, #0e0101);

    position: relative;
    overflow-x: hidden;
}


body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(circle at 20% 20%,
            rgb(221, 221, 221), transparent 3%),
        radial-gradient(circle at 70% 35%,
            rgb(49, 3, 3), transparent 4%),
        
}


.calculadora {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 482px;

    padding: 53px 99px 64px;

    background-color: rgb(243, 233, 233);
    border-radius: 50px;

    text-align: center;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.336);
}


.logo {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 39px;
}

.logo img {
    display: block;

    width: 160px;
    max-width: 100%;
    height: auto;

    object-fit: contain;
}


h2 {
    font-size: 28px;
    color: #383838;
    margin-bottom: 24px;
}

.descricao {
    font-size: 18px;
    margin-bottom: 33px;
    color: #111;
}


form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

input {
    width: 100%;
    height: 48px;

    padding: 0 13px;

    font-size: 16px;

    border: 1px solid #e4ebc1;
    border-radius: 7px;

    outline: none;
    background-color: rgb(217, 198, 233);
}

input:focus {
    border-color: #463d3d;
    box-shadow: 0 0 0 2px rgba(25, 13, 27, 0.12);
}


button {
    width: 90%;
    min-height: 54px;

    margin-top: 3px;

    border: none;
    border-radius: 6px;

    background-color: #624768;
    color: rgb(230, 253, 127);

    font-size: 20px;
    cursor: pointer;

    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #201b22;
    transform: translateY(-2px);
}


#resultado {
    display: none;

    margin-top: 25px;
    padding: 16px;

    border-radius: 8px;
    font-size: 17px;
    line-height: 1.6;
}

#resultado.normal,
#resultado.abaixo,
#resultado.sobrepeso,
#resultado.alerta {
    display: block;
}

#resultado.normal {
    background-color: #d7ebdc;
    color: #155724;
}

#resultado.abaixo {
    background-color: #d1ecf1;
    color: #0c5460;
}

#resultado.sobrepeso {
    background-color: #fff3cd;
    color: #856404;
}

#resultado.alerta {
    background-color: #f8d7da;
    color: #721c24;
}


footer {
    position: relative;
    z-index: 1;

    margin-top: 22px;

    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 13px;
}

