html {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  background-color: hsl(0, 0%, 94%);
}
body {
  font-family: 'Poppins';
  min-height: 70%;
  flex-direction: column;
  width: 40%;
  border-bottom-right-radius: 150px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  background-color: hsl(0, 0%, 100%);
  padding: 50px;
}
.input-error {
  border: 2px solid red;
}

.date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.label-input {
  display: flex;
  flex-direction: column;
  margin-right: 40px;
  color: hsl(0, 1%, 44%);
  input {
    width: 80px;
    height: 40px;
    font-weight: 900;
    padding-left: 20px;
    border-radius: 10px;
    font-size: 18px;
  }
  label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
  }
}
.labelerror {
  color: red;
}
.error {
  color: red;
  font-size: 8px;
}
.hidden {
  display: none;
}
#btn {
  position: relative;
}
button {
  background-color: hsl(259, 100%, 65%);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  border: none;
  position: absolute;
  right: 0px;
  top: -30px;
}

.age-output {
  margin-top: 20px;
  h1 {
    font-size: 70px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 900;
  }
  .dash {
    color: hsl(259, 100%, 65%);
  }
}

@media screen and (max-width: 600px) {
  body {
    width: 100%;
    padding: auto 10px;
    height: 50%;
    min-height: 50%;
  }
  .label-input {
    margin-right: 10px;
    input {
      font-size: 14px;
      width: 60px;
    }
  }
.date-row {
  margin-bottom: 60px;
  
}
  button {
    width: 55px;
    height: 50px;
    right: 40%;
  }
  .age-output {
    h1 {
      font-size: 50px;
    }
  }
}
@media screen and (max-width: 999px) and (min-width: 601px) {
  body {
    width: 50%;
    height: 60%;
    min-height: 60%;
  }
  .label-input {
    margin-right: 30px;
    input {
      font-size: 16px;
      width: 60px;
    }
  }
.date-row {
  margin-bottom: 50px;
  
}
  button {
    width: 60px;
    height: 60px;

  }
  .age-output {
    h1 {
      font-size: 50px;
    }
  }
}