@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500&display=swap');

:root {
    --color-verde: #059211;
    --color-fundo-primary: #18181b;
    --color-fundo-secundary: #262626;
    --color-fundo-tertiary: #3f3f46;
    --color-white: #f8fafc;
    --color-label: #cbd5e1;
}

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--color-fundo-primary);
}

#container {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding: 80px 0px 80px 0px;
}

#img img {
    width: 32rem;
}

#calculator {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    color: var(--color-white);
    background-color: var(--color-fundo-secundary);
    border-radius: 8px;
}

#form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#title {
    font-size: 2.25rem;
    position: relative;
}

#title::after {
    position: absolute;
    content: '';
    background-color: var(--color-verde);
    width: 8rem;
    height: 3px;
    bottom: 0;
    left: 0;
    border-radius: 3px;
}



.input-box label {
    font-size: 1.1rem;
    color: var(--color-label);
    font-weight: 500;
}

.input-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-fundo-tertiary);
    padding: 1rem;
    border-radius: 3px;
    margin-top: 3px;
}

.input-field .options {
    background-color: transparent;
    border: none;
    width: 100%;
    font-size: 1.3rem;
    color: var(--color-label);
    padding: 0 1rem;
}

.input-field span, 
.input-field i {
    color: var(--color-label);
    font-size: 1.3rem;
    padding: 0.6rem 1rem;   
}

.input-field input {
    background-color: transparent;
    border: none;
    width: 100%;
    font-size: 1.3rem;
    color: var(--color-white);
    padding: 0 1rem;
}

.input-field option {
    background-color: var(--color-fundo-primary);
    border: transparent;
    width: 100%;
    font-size: 1.3rem;
    color: var(--color-white);
    padding: 0 1rem;
}

.input-field input::-webkit-outer-spin-button,
.input-field input::-webkit-inner-spin-button {
    appearance: none;
}

.input-field input:focus {
    outline: none;
}

.input-field f {
    padding: 0rem;
}

#calculate {
    border: none;
    font-size: 1.25rem;
    font-weight: bold;
    background-color: var(--color-verde);
    color: var(--color-white);
    padding: 0.5rem 0;
    border-radius: 3px;
    cursor: pointer;
}

#result {
    display: flex;
    gap: 2rem;
    align-items: center;
    border-top: 1px solid var(--color-fundo-tertiary);
    padding: 0.75rem 0;
}

#bmi {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 2.25rem;
}

#bmi span:last-child {
    font-size: 0.875rem;
    color: var(--color-white);
}

.hidden {
    display: none;
}
