@font-face {
  font-family: 'digital-dream';
  src: url('../fonts/digital-dream/DIGITALDREAMSKEWNARROW.ttf');
}

body {
  background-color: rgba(0, 255, 255, 0.733);
}

main {
  background-color: darkslategray;
  height: 460px;
  margin: 80px auto;
  padding: 20px;
  width: 360px;
}

/* Display */
#display {
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 255, 255, 0.562);
  height: 100px;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
  width: 360px;
}

#history {
  font-size: 28px;
  font-family: digital-dream;
  text-align-last: right;
}

#input {
  font-size: 40px;
  font-family: digital-dream;
  text-align-last: right;
}
/* Buttons */
#buttons {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  justify-items: center;
}

.item {
  align-items: center;
  color: azure;
  display: flex;
  font-family: Helvetica;
  font-size: 30px;
  height: 50px;
  justify-content: center;
  margin: 10px 0;
  width: 50px;
}

.item:hover {
  background-color: rgba(240, 248, 255, 0.562);
  border-radius: 50%;
  cursor: pointer;
}

i {
  pointer-events: none;
}

.math-symbol {
  color: rgb(167, 196, 250);
}
