body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  background-color: #af1fa61c;
}

.calculator {
  background-color: #292626;
  padding: 20px;
  border-radius: 15px;
}

.display {
  width: 90%;
  height: 60px;
  margin: 15px;
  font-size: 2rem;
  text-align: right;
  padding: 10px;
  border-radius: 10px;
}

.important-btn {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}

.keys {

  margin: 10px;
  gap: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  align-items: center;


}

button {
  height: 70px;
  font-size: 2rem;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.keys button {
  font-weight: bold;
  background-color: hsl(0, 0%, 50%);
  color: white;
}

.keys button:hover {
  background-color: hsl(0, 0%, 30%);
}

.keys button:active {
  color: black;
  background-color: hsl(0, 0%, 80%);
}

.keys .operator {
  background-color: hsl(25, 100%, 50%);
}

.keys .operator:hover {
  background-color: hsl(25, 100%, 35%);
}

.keys .operator:active {
  background-color: hsl(25, 100%, 70%);
  color: black;
}

.off {
  width: 100px;
  background-color: hsl(0, 100%, 50%);
  grid-column: 1;
}

.off:hover {
  color: white;
  background-color: hsl(0, 100%, 35%);
}

.off:active {
  font-weight: bold;
  background-color: hsl(0, 100%, 70%);
}


.clear {
  background-color: hsl(22, 93%, 50%);

  width: 125px;
}

.clear:hover {
  color: white;
  background-color: hsl(22, 93%, 35%);

}

.clear:active {
  background-color: hsl(22, 93%, 70%);
  color: black;
  font-weight: bold;
}

.on {
  width: 100px;
  background-color: hsl(120, 64%, 50%);
}

.on:hover {
  background-color: hsl(120, 64%, 35%);
}

.on:active {
  font-weight: bold;
  background-color: hsl(120, 64%, 60%);
}

.dim {
  opacity: 0.1;
}