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

/* font-family: 'Poppins', sans-serif; */

* {
  padding: 0;
  margin: 0;
  background-origin: padding-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-image: url(./images/fractal-gc27a9fc0f_1920.jpg);
}

html {
  font-size: 16px;
}

.calculator {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
}

.calc-container {
  background-color: #1d1d1d;

  width: 300px;
  height: auto;

  border-radius: 1rem 1rem 30px 30px;
  box-shadow: 1px 1px 100px 50px rgba(255, 255, 255, 0.164);
}

.output {
  width: 100%;
}

.operation {
  width: 300px;
  height: 70px;

  color: #878787;

  font-size: 1.9em;
  font-weight: bold;

  position: relative;
  overflow: hidden;
}
.operation .value {
  position: absolute;

  bottom: 5px;
  right: 10px;

  white-space: nowrap;
  overflow: hidden;
}

.result {
  width: 300px;
  height: 100px;

  color: #fff;

  font-size: 2em;
  font-weight: bold;

  overflow: hidden;
  position: relative;
}

.result .value {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);
  right: 10px;

  white-space: nowrap;
  overflow: hidden;
}

.input {
  background-color: #fff;

  border-radius: 0 0 25px 25px;
  border: 1px solid #1d1d1d;
  height: 340px;
}

.row {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.row button {
  width: 50px;
  height: 50px;

  font-size: 1.5em;

  border: none;
  border-radius: 50%;
  background-color: transparent;

  margin: 8px;

  cursor: pointer;
}

.row button:hover {
  background-color: #87878757;
}

.row button:active {
  background-color: #1d1d1d42;
}

.row button:hover {
  font-weight: bold;
}

.row #calculate {
  color: #fff;
  background-color: #46e0bc;
  width: 121px;
  border-radius: 50px;
}
.row #delete {
  color: #fff;
  font-size: 1.3rem;
  background-color: #e05046;
}

#division,
#multiplication,
#subtraction,
#addition {
  color: #18b893;
}
