body {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to right, #fbc2eb, #a6c1ee);
  margin: 0;
}

footer {
  text-align: center;
  padding: 15px 0;
  background-color: transparent;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #555;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.title {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 1.5rem;
  background: linear-gradient(to right, #fbc2eb, #a6c1ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin: 0 0 2px 0;
  text-align: center;
  width: 100%;
}

.calculator {
  width: 300px;
  border-radius: 15px;
  background-color: #fff0f5;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 0px 20px 20px 20px;
  gap: 10x;
}

.display {
  width: 100%;
  height: 50px;
  text-align: right;
  font-size: 1.5rem;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  background-color: #ffffff;
  border-radius: 8px;
  color: #6a1b9a;

  box-sizing: border-box;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.button {
  border: none;
  font-size: 1.5rem;
  padding: 20px;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s, transform 0.2s;
  background: #d1c4e9;
  color: #4a148c;
}

.button:hover {
  background-color: #b39ddb;
  transform: scale(1.1);
}

.button:active {
  transform: scale(0.95);
}

.button.clear {
  background-color: #ef9a9a;
}

.button.clear:hover {
  background-color: #e57373;
}

.button.equal {
  grid-column: span 2;
  width: 100%;
  background-color: #81c784;
}

.button.equal:hover {
  background-color: #66bb6a;
}

.button.operator {
  background-color: #b2dfdb;
  color: #004d40;
}

.button.operator:hover {
  background-color: #80cbc4;
}
