html {
  font-size: 62.5%;
  box-sizing: border-box;
  background: lightgray;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

#calculator {
  border: 3px solid #4b4a4d;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
}

.operator {
  color: #fff;
  background: #ed9a00;
}

#clear {
  background-color: #f0595f;
  border-color: #b0353a;
  color: #fff;
}

#clear:hover {
  background-color: #f17377;
}

#equals {
  background: #2e86c0;
  border-color: #337cac;
  color: #fff;
  height: 100%;
  grid-area: 2 / 4 / 6 / 5;
}

#equals:hover {
  background-color: #4e9ed4;
}

#keys {
  border: 4px solid black;
  background: gray;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  padding: 20px;
}

button {
  height: 60px;
  border-radius: 3px;
  border: 1px solid #c4c4c4;
  background: darkgray;
  font-size: 2rem;
  color: #fff;
  background-image: linear-gradient(
    to bottom,
    transparent,
    transparent 50%,
    rgba(0, 0, 0, 0.04)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.15),
    0 1px 0 0 rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px rgba(255, 255, 255, 0.4);
}

button:hover {
  background-color: lightgray;
}

#display {
  width: 100%;
  font-size: 5rem;
  height: 80px;
  border: none;
  background: #252525;
  color: #fff;
  text-align: right;
  padding-right: 20px;
  padding-left: 10px;
}