* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: aquamarine;
}

.wrapper {
  height: 50%;
  width: 70%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border: 5px black solid;
  background-color: white;
  padding: 10%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.wrapper .wrapper-heading {
  color: black;
  text-align: center;
}

.wrapper-error-weight,
.wrapper-error-height {
  color: red;
  margin-bottom: 5%;
}

.wrapper-row {
  color: black;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-line-pack: center;
      align-content: center;
  -ms-flex-direction: row;
      flex-direction: row;
}

.wrapper-row input {
  width: 20%;
  text-align: center;
}

button {
  height: 2rem;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.wrapper-result {
  font-weight: 700;
}

@media only screen and (min-width: 600px) {
  /* For tablets: */
  .wrapper {
    width: 425px;
    height: 60%;
    padding: 77px;
  }
  .wrapper .wrapper-heading {
    font-size: 2.5rem;
  }
  .wrapper-row {
    font-size: 1.5rem;
  }
  .wrapper-row input {
    font-size: 1.5rem;
  }
  button {
    height: 2rem;
    font-size: 1.5rem;
  }
  .wrapper-result {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .wrapper {
    width: 500px;
    height: 70%;
    padding: 77px;
  }
  .wrapper .wrapper-heading {
    font-size: 3rem;
  }
  .wrapper-row {
    font-size: 2rem;
  }
  .wrapper-row input {
    font-size: 2rem;
  }
  button {
    height: 3rem;
    font-size: 2rem;
  }
  .wrapper-result {
    font-size: 2rem;
  }
}
/*# sourceMappingURL=style.css.map */