@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,900&display=swap");

* {
  box-sizing: border-box;
}

body {
  background: rgb(2, 0, 36);
  background: linear-gradient(
    180deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(9, 9, 121, 1) 35%,
    rgba(0, 212, 255, 1) 100%
  );
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  height: 100vh;
}

header {
  width: 100%;
  text-align: center;
  color: white;
  padding: 20px;
  font-size: 1.2rem;
}

section {
  background: white;
  border-radius: 8px;
  padding: 15px;
  max-width: 500px;

  margin: 0 auto;
  box-shadow: 5px 5px 10px #00000086;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.label-topic {
  font-size: 1.1rem;
  font-weight: bold;
  margin-right: 10px;
}

.input-ano {
  margin-top: 10px;
}

.input-sexo {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.input-sexo .radio {
  margin: 0 10px;
}

.radio {
  width: 15px;
  height: 15px;
  margin-right: 8px;
}

.input-number {
  width: 160px;
  height: 25px;
  border-radius: 3px;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid grey;
}

.button {
  width: 460px;
  height: 40px;
  background: #070761;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
}

.button:hover {
  cursor: pointer;
  background-color: #0baae3;
  color: #070761;
  transition: 0.5s ease-out;
}

#resultado {
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
}

#foto {
  width: auto;
  height: 240px;
  display: flex;
  margin: 0 auto;
  padding: 30px;
}

footer {
  color: white;
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 530px) {
  .section {
    width: 100vw;
  }

  .input-ano {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .button {
    max-width: 85vw;

    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;

    font-size: 1rem;
  }

  .input-sexo .radio {
    margin: 0 10px;
  }
}
