*::before ::after {
  box-sizing: border-box;
  font-weight: normal;
}
body {
  width: 100vw;
  background: linear-gradient(to right, #0066ff, #00ff15);
}
.calculator-grid {
  display: grid;
  justify-content: center;
  align-content: center;
  min-height: 100vh;
  grid-template-columns: repeat(4, 100px);
  grid-template-rows: minmax(120px, auto) repeat(5, 100px);
}
.calculator-grid > button {
  cursor: pointer;
  font-size: 2rem;
  border: white solid 1px;
  border-radius: 2px;
  outline: none;
  background-color: rgb(255, 255, 255, 0.5);
}
.calculator-grid > button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}
.span {
  grid-column: span 2;
}
.output {
  border-radius: 4px;
  grid-column: 1 / -1;
  background-color: rgba(0, 0, 0, 0.397);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  flex-direction: column;
  padding: 10px;
  overflow-wrap: break-word;
  word-break: break-all;
}
.output .previous-operand {
  color: rgb(255, 255, 255, 0.75);
  font-size: 1.5rem;
}
.output .current-operand {
  color: white;
  font-size: 2.5rem;
}
