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

body .container {
  height: 100vh;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #ececec;
}

body .container .calculator {
  width: 90%;
  max-width: 260px;
  background-color: #fff;
  border-radius: 1rem;
  -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
          box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  overflow: hidden;
  background: -webkit-gradient(linear, left bottom, right top, from(#167235c7), to(#4aad37));
  background: linear-gradient(to right top, #167235c7, #4aad37);
}

body .container .calculator .displayCont {
  padding: 1rem;
  text-align: right;
  color: #fff;
  position: relative;
}

body .container .calculator .displayCont .display {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0.5rem 0.7rem;
  padding-bottom: 0;
}

body .container .calculator .displayCont .display .tempValue {
  position: absolute;
  left: 15px;
  bottom: 10px;
  color: #fff;
  opacity: 0.5;
}

body .container .calculator .displayCont .display .totalValue {
  color: #fff;
  opacity: 0.5;
  height: 22px;
}

body .container .calculator .displayCont .display h1 {
  height: 42px;
}

body .container .calculator .displayCont .display .currentValue.final {
  color: #fff9b0;
}

body .container .calculator .numberCont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
      grid-template-columns: repeat(4, 1fr);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  background-color: #fff;
}

body .container .calculator .numberCont div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 1rem;
  cursor: pointer;
  background-color: #fff;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  font-size: 1.2rem;
  font-weight: 600;
  color: #747474;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

body .container .calculator .numberCont div p {
  z-index: 1;
  pointer-events: none;
}

body .container .calculator .numberCont div .ripple {
  position: absolute;
  height: 200px;
  width: 200px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: #4bad3733;
  -webkit-animation: 3s ease rippleEffect;
          animation: 3s ease rippleEffect;
}

body .container .calculator .numberCont div.number0 {
  grid-column: span 2;
}

body .container .calculator .numberCont div:hover {
  color: #4aad37;
  background-color: rgba(100, 100, 100, 0.1);
}

body .container .calculator .numberCont div.operator {
  color: #4aad37;
}

@-webkit-keyframes rippleEffect {
  0% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(0);
            transform: translate(-50%, -50%) scale(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes rippleEffect {
  0% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(0);
            transform: translate(-50%, -50%) scale(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
  }
}
/*# sourceMappingURL=style.css.map */