body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f7e1d7;
}

.header {
  display: flex;
  background-color: #b0c4b1;
  justify-content: center;
  align-items: center;
  color: black;
  height: 100px;
  font-size: 28px;
  font-family: "Playfair Display";
  padding-bottom: 8px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.display {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  padding-bottom: 0px;
  align-items: flex-end;
  text-align: end;
  background-color: #dedbd2;
  border: 16px solid #edafb8;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.display-top {
  width: 150px;
  height: 20px;
  border: 2px solid black;
  border-radius: 4px;
  padding: 4px;
  background-color: white;
}

.display-bottom {
  width: 192px;
  height: 26px;
  border: 2px solid black;
  padding: 8px;
  margin-bottom: 16px;
  background-color: white;
  border-radius: 4px;
  font-size: 24px;
}

.keypad {
  display: flex;
  flex-wrap: wrap;
  width: 210px;
  gap: 6px;
  padding: 21px;
  border: 16px solid #edafb8;
  border-top: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.buttons {
  width: 48px;
  background-color: #b0c4b1;
  border-radius: 4px;
  padding: 4px;
  text-align: center;
  font-weight: 550;
  height: 35px;
}

.buttons:hover {
  opacity: 0.7;
}

.clear {
  background-color: #e34a6f;
  color: white;
}

.delete {
  background-color: #e4be96;
}

.small {
  font-size: 20px;
  background-color: #91cb3e;
}

.enter {
  background-color: #4282b3;
  color: white;
}

#button-clear,
#button-enter {
  width: 102px;
}

.error-message {
  width: 240px;
  color: red;
  background-color: white;
  height: 38px;
  border: 1px solid black;
  margin-top: 24px;
  text-align: center;
  border-radius: 4px;
}

.footer {
  text-align: center;
  background-color: #4a5759;
  height: 40px;
  color: white;
  align-content: center;
}
