html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
}

button {
  font-family: inherit;
  font-size: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: white;
  background-color: #1f1f1f;
}

main {
  margin-top: -12em;
  padding: 2.50em;
  border: 0.1em solid #3d3d3d;
  border-radius: 0.5em;
}

#equation {
  text-align: end;
  padding: 0.25em 0;
}

#currentNum {
  text-align: end;
  font-size: 1.625rem;
  font-weight: 600;
  text-align: end;
  padding: 0.5em 0 1em 0;
}

#keys {
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: (3em)[5];
  -ms-grid-columns: (5em)[4];
      grid-template: repeat(5, 3em)/repeat(4, 5em);
  gap: 0.5em;
  padding: 0.25em;
  background-size: 0 0;
}

#keys button {
  position: relative;
  border: none;
  color: white;
  background-color: #0f0f0f;
}

#keys button.number {
  font-weight: 600;
  background-color: black;
}

#keys button:hover {
  background-color: #3d3d3d;
}

#keys button:active {
  background-color: #5c5c5c;
}

#keys button:before {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  content: "";
  z-index: -5;
  border: 0.125em solid #0f0f0f;
  display: block;
  position: absolute;
  top: -0.125em;
  left: -0.125em;
  width: 5em;
  height: 3em;
}

#keys button.number:before {
  border: 0.125em solid black;
}

#keys button:after {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  content: "";
  border: 0.125em solid #1f1f1f;
  display: block;
  position: absolute;
  top: -0.25em;
  left: -0.25em;
  width: 5.25em;
  height: 3.25em;
}

#keys:after {
  z-index: -2;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)) fixed no-repeat;
  background-size: 15em 15em;
  background-position: inherit;
}

#code {
  font-family: 'Courier New', Courier, monospace;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.5em 1em;
  margin: 0.5em;
  border-radius: 10px;
  background-color: black;
  color: white;
}

#code:hover {
  background-color: #3d3d3d;
}

#code:active {
  background-color: #5c5c5c;
}
/*# sourceMappingURL=style.css.map */