@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.521), rgba(0, 0, 0));
}

/* Background styles */
.bubbles {
  position: absolute;
  bottom: -10rem;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.bubbles span {
  height: 3rem;
  width: 3rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1.25rem 3.12rem rgba(0, 0, 0, 10);
  backdrop-filter: blur(5px);
  animation: move 10s linear infinite;
  position: relative;
  overflow: hidden;
}

@keyframes move {
  100% {
    transform: translateY(-90vh);
  }
}

.bubbles span.one {
  animation-delay: 2.2s;
  transform: scale(0.15);
}
.bubbles span.two {
  animation-delay: 3.5s;
  transform: scale(1.55);
}
.bubbles span.three {
  animation-delay: 0.2s;
  transform: scale(0.35);
}
.bubbles span.four {
  animation-delay: 6s;
  transform: scale(2.15);
}
.bubbles span.five {
  animation-delay: 7s;
  transform: scale(0.5);
}
.bubbles span.six {
  animation-delay: 4s;
  transform: scale(2.5);
}
.bubbles span.seven {
  animation-delay: 3s;
  transform: scale(1.5);
}
.bubbles span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3rem;
  width: 40%;
  transform: skew(45deg) translateX(9rem);
  background: rgba(255, 255, 255, 0.1);
  animation: mirror 3s linear infinite;
}
@keyframes mirror {
  100% {
    transform: translateX(-30rem);
  }
}
.bubbles span.one:before {
  animation-delay: 1.5s;
}
.bubbles span.two:before {
  animation-delay: 3.5s;
}
.bubbles span.three:before {
  animation-delay: 2.5s;
}
.bubbles span.four:before {
  animation-delay: 7.5s;
}
.bubbles span.five:before {
  animation-delay: 4.5s;
}
.bubbles span.six:before {
  animation-delay: 0.5s;
}
.bubbles span.seven:before {
  animation-delay: 6s;
}

/* Calculator styles */
.container {
  width: 22.5rem;
  padding: 1rem;
  border-radius: 1.3rem;
  backdrop-filter: blur(0.3rem);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1.5rem 3.1rem rgba(0, 0, 0, 0.5);
  border-top: 0.08rem solid rgba(255, 255, 255, 0.2);
  border-left: 0.08rem solid rgba(255, 255, 255, 0.2);
}

#display {
  width: 100%;
  height: 6.5rem;
  margin: 0, 0.5rem;
  outline: none;
  border: none;
  color: rgba(255, 255, 255, 0.904);
  text-align: right;
  padding-right: 0.5rem;
  background: transparent;
  font-size: 4rem;
  font-weight: 500;
}
/*numbers styles*/
.container .data-number {
  height: 4rem;
  width: calc(100% / 4 - 0.5rem);
  border-radius: 0.5rem;
  margin-top: 1rem;
  outline: none;
  border: none;
  color: rgb(255, 255, 255);
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.data-number:hover {
  background: rgba(255, 255, 255, 0.473);
  color: rgba(167, 68, 224, 0.753);
  font-weight: 700;
}
/*operators styles*/
.container .data-operator {
  height: 4rem;
  width: calc(100% / 4 - 0.5rem);
  border-radius: 0.5rem;
  margin-top: 1rem;
  outline: none;
  border: none;
  color: rgb(255, 255, 255);
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.data-operator:hover {
  background: rgba(167, 68, 224, 0.295);
}

.container .delete {
  height: 4rem;
  width: 100%;
  border-radius: 0.5rem;
  margin-top: 1rem;
  outline: none;
  border: none;
  color: rgb(167, 68, 224);
  background: transparent;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.delete:hover {
  background: rgba(167, 68, 224, 0.295);
  color: rgb(255, 255, 255);
}
.container .equal {
  height: 4rem;
  width: calc(100% / 4 - 0.5rem);
  border-radius: 0.5rem;
  margin-top: 1rem;
  outline: none;
  border: none;
  color: rgb(255, 255, 255);
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.equal:hover {
  background: rgba(167, 68, 224, 0.295);
}
