@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  src: url("/fonts/Poppins-Bold.ttf") format("truetype");
}

body {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: #f5f7ff;
  background-image: linear-gradient(0deg, #f2f4fd 1px, transparent 1px),
    linear-gradient(90deg, #f2f4fd 1px, transparent 1px);
  background-size: 40px 40px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

header {
  padding: 30px;
  margin: 100px;
  border-radius: 100px;
  color: white;
  background-color: #000000;
  box-shadow: 0px 2px 40px rgb(189, 189, 189);
}

button {
  width: 100px;
  height: 100px;
  margin: 10px;
  border: none;
  border-radius: 50%;
  color: #6e7691;
  background-color: #d8ddf0;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15), 0px 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 40px;
  font-weight: inherit;
}

button:hover {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

button:active {
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.06);
  transform: translateY(0px);
}

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

/* Button color variants */
.btn-subtract {
  color: white;
  background-color: #ff445a;
}

.btn-delete {
  color: white;
  background-color: #1f2b54;
}

.btn-divide {
  color: white;
  background-color: #2388ff;
}

.btn-multiply {
  color: white;
  background-color: #ffc804;
}

.btn-add {
  color: white;
  background-color: #63de77;
}

.btn-modulus,
.btn-sqrt,
.btn-allclear {
  color: #4a5568bc;
  background-color: #f4f6ff;
}

#display {
  width: 460px;
  height: 110px;
  box-sizing: border-box;
  padding: 10px;
  padding-right: 25px;
  margin: 10px;
  border: 10px solid #427bff;
  border-radius: 100px;
  color: white;
  background-color: #427bff;
  text-align: right;
  font-family: inherit;
  font-size: 40px;
  font-weight: inherit;
}

.calculator-frame {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 450px;
  height: 100%;
  padding: 50px;
  border-radius: 50px;
  background-color: rgb(243, 243, 243);
  box-shadow: 0px 2px 40px rgb(189, 189, 189);
}

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