.content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;

  h2 {
    margin-top: 50px;
    margin-bottom: 20px;
  }
  h3 {
    opacity: 0.5;
    font-size: 15px;
    margin-top: 10px;
  }
  p {
    font-size: 18px;
    text-align: justify;
  }
  h6 {
    color: white;
    font-size: 20px;
  }
  .atualizado img {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    margin-top: 10px;
  }
  .atualizado {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
  }
  .quadrado {
    width: 450px;
    height: 650px;
    border-right: 5px solid #a1c643;
    border-bottom: 5px solid #a1c643;
    border-top: 1px solid #a1c643;
    border-left: 1px solid #a1c643;
    border-radius: 2px;
    display: flex;
    left: 30%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0.1, 0.2);
    margin-bottom: 50px;
  }
  .homemmulher {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    display: flex;
  }
  .espaco {
    margin: 10px;
  }
  .teste h5 {
    font-weight: bold;
    font-size: 20px;
    text-align: left;
    margin: 20px;
  }
  .homem {
    font-size: 20px;
    color: black;
    display: inline-block;
    padding: 10px 15px;
    background-color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0.1, 0.2);
    transition: transform 0.4s;
    &:hover {
      transform: scale(1.05);
      background-color: #2596be;
      color: white;
    }
  }
  .mulher {
    font-size: 20px;
    color: black;
    display: inline-block;
    padding: 10px 15px;
    background-color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0.1, 0.2);
    transition: transform 0.4s;
    &:hover {
      transform: scale(1.05);
      background-color: #b28dcb;
      color: white;
    }
  }
  .teste img {
    width: 50px;
    height: 50px;
    margin-left: 310px;
  }
  .logo {
    width: 50px;
    height: 50px;
    margin-left: 310px;
    margin-bottom: 12px;
  }
  input {
    color: black;
    border: 1px solid black;
    font-size: 20px;
    margin-left: 20px;
    text-align: center;
    align-items: center;
    border-radius: 8px;
    width: 100px;
    height: 50px;
  }
  .anos {
    display: flex;
    align-items: center;
  }
  .teste p {
    margin-left: 10px;
    font-weight: bold;
  }
  .calcular {
    color: black;
    display: inline-block;
    padding: 15px 100px;
    font-size: 20px;
    margin: 10px auto;
    margin-top: 40px;
    background-color: #a1c643;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0.1, 0.2);
    transition: transform 0.4s;
    &:hover {
      transform: scale(1.05);
      background-color: #fa824c;
      color: white;
    }
  }
  .tabela {
    width: 600px;
    height: 400px;
    border: 2px solid black;
    border-radius: 20px;
    display: flex;
    left: 25%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0.1, 0.2);
    margin-bottom: 50px;
  }
  .tabela-cima {
    padding: 25px 20px;
    width: 103.5%;
    display: flex;
    margin-bottom: 20px;
    background-color: #3b5249;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-sizing: border-box;
  }
  .tabela-cima2 {
    padding: 25px 20px;
    width: 103.5%;
    margin-bottom: 20px;
    background-color: #3b5249;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-sizing: border-box;
  }
  .resultado {
    background-color: #3b5249;
    padding: 20px;
    border-radius: 5px;
  }
  .homem.selecionado {
    background-color: #2596be;
    color: #fff;
  }
  .mulher.selecionado {
    background-color: #b28dcb;
    color: #fff;
  }
  .tabelaResultado {
    width: 400px;
    height: 350px;
    display: flex;
    border: 2px solid black;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0.1, 0.2);
    margin-bottom: 100px;
  }
  .tabela-cimaresultado {
    padding: 25px 39px;
    width: 100.5%;
    right: 6%;
    display: flex;
    margin-bottom: 20px;
    background-color: #3b5249;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    box-sizing: border-box;
  }
  .tabela-cima2resultado {
    padding: 25px 0px;
    width: 103.5%;
    left: 0.2%;
    color: #3b5249;
    margin-bottom: 20px;
    background-color: #3b5249;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-sizing: border-box;
  }
  .tabela-cima3resultado {
    padding: 25px 56px;
    width: 103.5%;
    right: 14%;
    margin-bottom: 20px;
    background-color: #3b5249;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-sizing: border-box;
  }
  .IMC2,
  .classificacao2,
  .peso2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
    padding-right: 10px;
  }
  .IMC2 p,
  .classificacao2 p,
  .peso2 p {
    margin-bottom: 29px;
    font-weight: bold;
    padding-left: 20px;
  }
  .IMC2 p{
    text-align: center;
  }
  .IMC,
  .classificacao {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
    padding-right: 10px;
  }
  .IMCresultado {
    margin-bottom: 29px;
    font-weight: bold;
    font-size: 29px;
    right: 10%;
    padding-left: 20px;
  }
  .categoriaIMC {
    margin-bottom: 29px;
    font-weight: bold;
    padding-left: 30px;
    text-align: justify;
    padding-right: 30px;
  }
  .IMC p,
  .classificacao p {
    margin-bottom: 29px;
    font-weight: bold;
    padding-left: 20px;
  }
}
@media screen and (max-width: 850px) {
  .content {
    .quadrado {
      justify-content: left;
      left: 10%;
      width: 400px;
    }
    .texto1 {
      left: -1%;
    }
    .tabela {
      justify-content: left;
      left: 5%;
      width: 400px;
    }
    .tabela-cima {
      padding: 25px 25px;
      width: 106%;
    }
    .tabela-cima2 {
      padding: 25px 25px;
      margin-top: 0px;
      width: 106%;
    }
  }
}
@media screen and (max-width: 500px) {
  .content {
    .quadrado {
      justify-content: left;
      left: -5%;
      width: 420px;
    }
    .texto1 {
      left: -1%;
    }
    .tabela {
      left: 10px;
      width: 380px;
    }
    .tabela-cima {
      padding: 25px 75px;
    }
    .tabela-cima2 {
      padding: 25px 25px;
      margin-top: 20px;
      width: 106%;
    }
    .tabela-cimaresultado {
      right: 5%;
    }
    .tabela-cima2resultado {
      right: 7%;
    }
    .tabelaResultado {
      width: 400px;
    }
  }
}
