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

html {
  height: 100%;
  font-family: "Roboto", sans-serif;
  gap: 10rem;
  padding: 3rem;
}

body {
  align-items: center;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #d0e8e0;
}
header {
  color: #2b2b2a;
}

.main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.calculator {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border: 2px solid transparent;
  background-color: #efead8;
  border-radius: 10px;
  border-color: transparent;
  max-width: 400px;
  width: 400px;
}

.result {
  display: flex;
  justify-content: flex-end;
  background-color: white;
  color: #1a1a1a;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 1.5rem;
  font-size: 28px;
  word-break: break-all;
  min-height: 80px;
  border-radius: 10px;
}

#clear-delete {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
#clear-delete button {
  flex: 1;
  padding: 1rem 0;
  border: 2px solid;
  border-radius: 10px;
  border-color: transparent;
  background-color: #d2c9b1;
  color: #2b2b2a;

  transition: all 0.2s ease;
}

#clear-delete button:hover {
  background-color: #635c48;
  color: #e6e1d1;
  transform: translateY(-2px);
}

#clear-delete button:active {
  background-color: #cdc09c;
  color: #e6e1d1;
  transform: translateY(-1px);
}

.number-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
}

.number-container button {
  flex: 1 0 20%;
  aspect-ratio: 1 / 1;
  width: 1rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background-color: #d2c9b1;
  color: #2b2b2a;

  transition: all 0.2s ease;
}

.number-container button:hover {
  background-color: #635c48;
  color: #e6e1d1;
  transform: translateY(-2px);
}

.number-container button:active {
  background-color: #cdc09c;
  color: #e6e1d1;
  transform: translateY(-1px);
}
