.main-content{
  grid-area: calculator;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}


.main-calc{

  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 0.3rem;
  gap: 2rem;
  background-color: #212121;
  box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.3);

  & h2{
    margin: 1.5rem 0;
    padding: 1rem;
    border-bottom: 1px solid #3f3f47;
  }
}

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

.input-box label{
  font-size: 1.5rem;
  font-weight: 300;
  font-style: normal;
  color: rgb(180,180,180);
}

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

  & span, i{
    font-size: 1.8rem;
    padding: 0.6rem 2rem;
  }

  & input {
    background-color: transparent;
    border: none;
    width: 100%;
    font-size: 1.7rem;
    border: none;
    color: aliceblue;
    padding: 0 0.5rem;
    
  }

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

  & input:focus{
    outline: none;
  }
}

#calcular {
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  background-color: #6c63ff;
  color: white;
  padding: 1rem 0;
  border-radius: 0.3rem;
  cursor: pointer;
}

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

#bmi {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 3rem;

  & span:last-child{
    font-size: 1.5rem;
  }
}

#descricao{
  width: 25rem;
}

.hidden {
  display: none;
}

.normal{
  color: #16a34a;
}

.attention{
  color: #dc2626;
}