li {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}

body {
  background-image: url(./bg-image.jpg);
}

.l-layar1 {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: black;
}

.p-layar-remove {
  -webkit-animation-name: fade-out-layar;
          animation-name: fade-out-layar;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  transition-timing-function: ease-out;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-delay: 2.5s;
          animation-delay: 2.5s;
}

@-webkit-keyframes fade-out-layar {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fade-out-layar {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.p-title {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.p-display-title {
  -webkit-animation-name: fade-in-title;
          animation-name: fade-in-title;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
  transition-timing-function: ease-out;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

@-webkit-keyframes fade-in-title {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-in-title {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.p-calculator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 490px;
  border-radius: 35px;
  box-shadow: 10px 10px 10px gray;
  background-image: url(./smartphone.png);
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.u-calculator {
  margin: auto;
  padding: 10px 25px 0;
}

.p-display {
  display: inline-block;
  width: 230px;
  height: 60px;
  text-align: right;
  font-size: 60px;
  letter-spacing: 1px;
  background-color: black;
  color: white;
  border: none;
}

.u-display {
  margin-top: 70px;
}

.p-keypad {
  width: 100%;
}
.p-keypad tbody td {
  padding: 2px 0;
}
.p-keypad tbody td input {
  display: inline-block;
  text-align: center;
  color: white;
  border-radius: 50px;
}
.p-keypad tbody td input:hover {
  cursor: pointer;
}
.p-keypad tbody td input:active {
  transition: 0;
}
.p-keypad tbody td .p-keypad__clear {
  padding: 14px 12px;
}
.p-keypad tbody td .p-keypad__plus-minus {
  padding: 14px 13px;
}
.p-keypad tbody td .p-keypad__percent {
  padding: 14px 16px;
}
.p-keypad tbody td .p-keypad__number {
  padding: 12px 17px;
  font-size: 20px;
  background-color: rgb(46, 43, 43);
}
.p-keypad tbody td .p-keypad__number:active {
  background-color: rgb(138, 134, 131);
}
.p-keypad tbody td .p-keypad__operator,
.p-keypad tbody td .p-keypad__equal {
  padding: 9px 16px;
  font-size: 26px;
  background-color: rgb(230, 128, 27);
}
.p-keypad tbody td .p-keypad__operator:active,
.p-keypad tbody td .p-keypad__equal:active {
  background-color: rgb(225, 178, 131);
}
.p-keypad tbody td .p-keypad__clear,
.p-keypad tbody td .p-keypad__plus-minus,
.p-keypad tbody td .p-keypad__percent {
  font-size: 18px;
  color: black;
  background-color: rgb(134, 134, 134);
}
.p-keypad tbody td .p-keypad__clear:active,
.p-keypad tbody td .p-keypad__plus-minus:active,
.p-keypad tbody td .p-keypad__percent:active {
  background-color: rgb(224, 222, 221);
}
.p-keypad tbody td .is-mouseDown {
  transition: 0;
}
.p-keypad tbody td .is-mouseUp {
  transition: 0.8s;
}
.p-keypad tbody td .is-active {
  background-color: white;
  color: rgb(230, 128, 27);
  transition: 0.6s;
}
.p-keypad tbody td .p-keypad__operator--subtraction {
  padding: 9px 14px;
  font-size: 18px;
  font-weight: bold;
}
.p-keypad tbody td .p-keypad__number--zero {
  padding: 10px 18px;
  text-align: left;
  width: 93%;
}
.p-keypad tbody td .p-keypad__decimal {
  padding: 8px 19px;
  font-size: 25px;
  background-color: rgb(46, 43, 43);
}
.p-keypad tbody td .p-keypad__decimal:active {
  background-color: rgb(90, 87, 84);
}

.p-return {
  transition: 0.5s;
  position: absolute;
  top: 90%;
  left: 17%;
  transform: translate(-50%, -50%);
  display: inline-block;
  color: white;
  font-size: 2vw;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid;
  border-radius: 30px;
}

.p-return:hover {
  color: black;
  background-color: rgba(140, 140, 140, 0.1);
}

.u-return {
  padding: 0.5vw 1vw;
}

@media (max-width: 600px) {
  .p-return {
    font-size: 3.8vw;
    top: auto;
    bottom: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0px 20px 0px 0px;
  }
  .u-return {
    padding: 3vw 2vw;
  }
}
@media (max-width: 414px) {
  .p-title {
    width: 90%;
  }
  .p-return {
    font-size: 6vw;
  }
  .u-return {
    padding: 4vw 3vw;
  }
}
/*# sourceMappingURL=calculator.css.map */