*, *::before, *::after {
    box-sizing: border-box;
    font-family: Helvetica;
}

h1 {
  color: white;
  text-align: center;
  font-family: Helvetica;
}

h2 {
  color: white;
  text-align: center;
  font-family: Helvetica;
}

h3 {
  color: white;
  text-align: center;
  font-family: Helvetica;
}

body {
    padding: 0;
    margin: 0;
    animation: 8000ms ease-in-out infinite color-change;
}

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

.grid > button{
  cursor: pointer;
  font-size: 2rem;
  border: 1px solid white;
  outline: none;
  background-color: rgba(255, 255, 255, .75);
}

.grid > button:hover{
  background-color: rgba(255, 255, 255, .9);
}

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

.output {
  grid-column: 1/ -1;
  background-color: rgba(23, 37, 138, .75);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  flex-direction: column;
  padding: 10px;
  word-wrap: break-word;
}

.output .prev-operand{
  color: rgba(255,255,255,0.75);
  font-size: 1.5rem;
}

.output .curr-operand{
  color: white;
  font-size: 2.5rem;
}

.output .sarcasm{
  color: rgb(255,255,255);
  font-size: 1rem;
}

@keyframes color-change {
  0% {
    background-color: rgb(30, 173, 235);
  }
  33% {
    background-color: rgb(50, 135, 168);
  }
  60% {
    background-color: rgb(54, 177, 181)
  }
  80% {
    background-color: rgb(50, 135, 168);
;
  }
  100% {
    background-color: rgb(30, 173, 235);
  }
}