html {
  height: 100%;
}

h1 {
  margin-top: 0;
  font-family: 'Michroma', sans-serif;
}

body {
  font-family: sans-serif;
  display: inline;
  text-align: center;
  background-color: #395B64;
  color: #E7F6F2;
}

button {
  background-color: white;
  color: black;
  border-color: black;
  margin: 1px;
  font-family: 'Michroma', sans-serif;
  font-weight: bolder;
  border-radius: 5px;
}

button:hover {
  background-color: #E7F6F2;
}

.calculator {
  display: grid;
  align-content: center;
  justify-content: center;
  min-height: 80%;
  height: auto;
  grid-template-columns: repeat(4, 100px);
  grid-template-rows: minmax(120px, auto) repeat(5, 100px);
}

.span-two {
  grid-column: span 2;
}

.output {
  grid-column: 1 / -1;
  background-color: white;
  color: black;
  border-style: solid;
  border-color: black;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  flex-direction: column;
  padding: 10px;
  word-wrap: break-word;
  word-break: break-all;
  margin-bottom: 1px;
  font-family: monospace;
  border-radius: 5px;
}

.previous-operand {
  font-size: 1.5rem;
}

.current-operand {
  font-size: 2.5rem;
}
