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

body {
  background-color: #E0FBFC;
  font-family: "Ubuntu", sans-serif;
}

#box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 330px;
  border: 2px #006E90 solid;
  border-radius: 1%;
  padding: 3px;
}
#box #result-box {
  text-align: right;
  padding: 15px 17px;
  border-bottom: 2px #006E90 solid;
  color: #006E90;
}
#box #result-box #prev-operand {
  font-size: 21px;
  font-weight: 400;
  margin: 10px 0;
  overflow: scroll;
}
#box #result-box #next-operand {
  font-size: 30px;
  font-weight: 700;
  overflow: scroll;
}
#box #numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  margin: 3px 0;
}
#box #numbers-grid .element {
  border: 2px #006E90 solid;
  border-radius: 3%;
  padding: 11px 7px;
  margin: 1px;
  text-align: center;
  background-color: #C2DFE3;
  color: #006E90;
  font-weight: 400;
  font-size: 17px;
}
#box #numbers-grid .element:active {
  background-color: #E0FBFC;
}
#box #numbers-grid .element:hover {
  cursor: pointer;
}
#box #numbers-grid #clear {
  grid-column: 2/4;
}
#box #numbers-grid #equal {
  background-color: #006E90;
  color: #C2DFE3;
}
#box #numbers-grid #equal:active, #box #numbers-grid #delete:active, #box #numbers-grid #clear:active {
  background-color: #C2DFE3;
  color: #006E90;
}
#box #numbers-grid #delete, #box #numbers-grid #clear {
  background-color: #E0FBFC;
}

@media screen and (max-width: 380px) {
  #box {
    width: 290px;
  }
  #box #equal {
    grid-column: 2/4;
  }
}/*# sourceMappingURL=styles.css.map */