[x-cloak] {
  display: none !important;
}

* {
  transition: all 0.2s;
}

body {
  height: 100vh;
  margin: 0;
  background-color: #e0e0ff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainWrapper {
  background-color: white;
  padding: 30px;
  margin: 20px;
  border-radius: 15px;
}

.equationWrapper {
  text-align: center;
}

.equationWrapper * {
  display: inline;
  font-size: 32px;
  font-family: serif;
}

.equation {
  display: block;
  margin: 10px;
}

.equationInput {
  text-align: right;
  width: 4em;
}

.equationInput,
button {
  outline: none;
  border: 2px solid #bbb;
  border-radius: 5px;
}

.equationInput:hover,
button:hover {
  border: 2px solid #888;
}

.equationInput:focus,
button:focus {
  border: 2px solid #a8b;
}

.equationInput::-webkit-inner-spin-button,
.equationInput::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.equationText {
  display: inline;
}

.equationWrapper button {
  height: 40px;
  width: 40px;
  text-align: center;
  font-weight: bold;
}

@media screen and (max-width: 850px) {
  .mainWrapper {
    margin: 0;
    border-radius: 0;
    padding: 10px;
  }

  body {
    background-color: white;
  }

  .equationWrapper * {
    font-size: 20px;
  }
}

@media screen and (max-width: 1100px) {
  .mainWrapper {
    padding: 10px;
    margin: 10px;
  }

  .equationWrapper * {
    font-size: 24px;
  }
}
