@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg, #0a0a0a, #3a4452);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.calculator {
  border: 1px solid #717377;
  padding: 20px;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 4px 20px rgba(113, 115, 119, 0.5);
  width: 100%;
  max-width: 400px;
}

input {
  width: 100%;
  border: none;
  padding: 24px;
  margin-bottom: 20px;
  background: transparent;
  box-shadow: 0px 3px 15px rgba(84, 84, 84, 0.1);
  font-size: 2rem;
  text-align: right;
  cursor: pointer;
  color: #ffffff;
}

input::placeholder {
  color: #ffffff;
}

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

button {
  border: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.1),
              4px 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

button:hover {
  transform: scale(1.1);
}

.eql-btn {
  background-color: #fb7c14;
  color: #fff;
}

.opa {
  color: #ff6f61;
}

/* Responsive text size and button size */
@media (max-width: 480px) {
  input {
    font-size: 1.5rem;
    padding: 16px;
  }

  button {
    font-size: 1.2rem;
  }
}
