.calculator {
  /* Styles for the calculator container */
  max-width: 300px;
  margin: 0 auto;
  padding: 20px;
  background-color: #F2F2F2 ;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.474);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#display {
  /* Styles for the display input field */
  display: block;
  width: 93%;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 18px;
  background-color: #fff;
  border: 1px solid #00000068;
  border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.265);
}

.keypad {
  /* Styles for the keypad grid */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 5px;
  justify-items: center;
  align-items: center;
}

button {
  /* Styles for the calculator buttons */
  padding: 10px;
  font-size: 16px;
  background-color: #f2f2f2;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
  border: 1px solid black;
}

button:hover {
  /* Styles for the calculator buttons on hover */
  background-color: #d9d9d9;
}

#res{
  /* Styles for the equal (=) button */
  background-color: rgba(34, 89, 255, 0.79);
}

#res:hover {
  /* Styles for the equal (=) button on hover */
  background-color: rgba(29, 75, 213, 0.856);
}

.theme{
  /* Styles for the theme buttons */
  padding: 5px;
  font-size: 12px;
}