* {
    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: 100vh;
    background-color: #18181b;
}

#container {
    display: flex;
    align-items: center;
    gap: 10rem;
}

#img img{
    height: 25rem;
    border-radius: 20px;
}

#calculadora {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    color: #f8fafc;
    background-color: #262626;
    border-radius: 10px;
}

#form{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#title{
    font-size: 2.25rem;
}

#title:after{
    position: absolute;
    content: '';
    background-color: rgb(2, 2, 90);
    width: 8rem;
    height: 3px;
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

.input-box label{
    font-size: 1.1rem;
    color: #cdb5e1;
    font-weight: 500;
}

.input-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #3f3f46;
    padding: 0.3rem;
    border-radius: 3px;
    margin-top: 3px;
}

.input-field span, .input-field i {
    color: #cdb5e1;
    font-size: 1.3rem;
    padding: 0.6rem 1 rem;
}

.input-field input{
    background-color: transparent;
    border: none;
    width: 100%;
    font-size: 1.3rem;
    color: #f8fafc;
    padding: 0 0.5rem;
}

.input-field input::-webkit-outer-spin-button,
.input-field input::-webkit-inner-spin-button{
    appearance: none;
}

.input-field input:focus{
    outline: none;
}

#calcular {
    border: none;
    font-size: 1.25rem;
    font-weight: bold;
    color: #3f3f46;
    padding: 0.2rem 0rem;
    border-radius: 3px;
    cursor: pointer;
    
}

#resultado {
    display: flex;
    gap: 2rem;
    align-items: center;
    border-top: 1px solid #ffffff34;
    padding: 0.75rem 0;

}

#imc {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 2.25rem;
}

#imc span:last-child {
    font-size: 0.875rem;
    color: #cdb5e1;
}

#descricao {
    width: 15.5rem;
}

#mais_info {
    border-top: 1px solid #ffffff34;
    padding-top: 1.5rem;
}

#mais_info a {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.5s;
}

#mais_info a:hover {
    color: #2525ef;
}

.hidden {
    display: none;
}

.normal{
    color: #16a34a;
}

.atencao{
    color: #dc2626;
}

@media screen and (max-width: 1024px) {
    #img {
        display: none;
    }
}

@media screen and (max-width: 500px){
    #container {
        width: 100%;
        height: 100%;
    }

    #calculadora {
        width: 100%;
        height: 100%;
        border-radius: 0;
        justify-content: center;
    }
}
