body {
    background: linear-gradient(90deg,  #012345, #234567, #456789, #6789ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.calc-body{
	width: 320px;
  height: 600px;
  background-color: #FFc700;
  border-radius:20px;
  display:flex;
  align-items:center;
  margin: auto;
  margin-top:10%;
  box-shadow: 1px 7px 4px #FFF8AB inset, 5px 5px 5px black;
}
.inner-grid{
  height:90%;
  width: 100%;
  display:grid;
  grid-template-rows:1fr 4fr 12fr;
}

.main-row{
  
}

#nav{
  margin: 0px 10px;
  color: #CB4D03;
  display: flex;
  justify-content: space-between;
  align-items:center;
}
#display{
  background-color: #ABB3FF;
  height: 100%;
  width:95%;
  margin:auto;
  box-shadow:5px 5px 5px #cdd5FF inset;
  border-radius: 10px;
  color: #CB4D03;
  display:flex;
  flex-direction: column-reverse;
	text-align:right;
}

#display p {
  margin : 0px;
  margin-right: 10px;
}

.input{
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
}
.result{
  font-size: 42px;
  font-family: 'Roboto', sans-serif;
}

#buttons{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows:20% 20% 20% 20% 20%;
  justify-content: center;
  align-items: center;
  /*grid-gap: 12px 12px;*/
}

.button{
  font-family: 'Roboto', sans-serif;
  box-shadow: 2px 2px 2px #7f7f7f inset, 2px 2px 2px black;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background-color: #888888;
  justify-content: center;
  display:flex;
  align-items: center;
  color: white;
  margin:auto;
}
.long-button{
  height: 130px;
  grid-column: 4;
  grid-row-start:4;
  grid-row-end:6;
  border-radius: 50px:
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 100px;
}
::-webkit-scrollbar-thumb {
  background: #666666; 
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #999999; 
}


.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display){
  position:absolute;
  width:20px;
  height: 20px;
  background-color:transparent;
  border:3px solid #ffffff;
  border-radius: 3px;
}

.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(1){
  top: 12%;
  left: 78%;
  animation: animate 10s linear infinite;
}
.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(2){
  top: 15%;
  left: 2%;
  animation: animate 7s linear infinite;
}

.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(3){
  top: 85%;
  left: 7%;
  animation: animate 9s linear infinite;
}

.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(4){
  top: 49%;
  left: 1%;
  animation: animate 6.7s linear infinite;
}
.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(5){
  top: 20%;
  left: 15%;
  animation: animate 8s linear infinite;
}
.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(6){
  top: 80%;
  left: 80%;
  animation: animate 12s linear infinite;
}

.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(7){
  top: 62%;
  left: 79%;
  animation: animate 10.4s linear infinite;
}
.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(8){
  top: 75%;
  left: 18%;
  animation: animate 7.1s linear infinite;
}

.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(9){
  top: 60%;
  left: 5%;
  animation: animate 8.2s linear infinite;
}

.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(10){
  top: 40%;
  left: 18%;
  animation: animate 9.5s linear infinite;
}
.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(11){
  top: 40%;
  left: 85%;
  animation: animate 7.5s linear infinite;
}
.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(12){
  top: 70%;
  left: 90%;
  animation: animate 11s linear infinite;
}

.box div:not(.calc-body):not(.inner-grid):not(.main-row):not(.button):not(#display):nth-child(13){
  top: 90%;
  left: 77%;
  animation: animate 14s linear infinite;
}

@keyframes animate{
  0%{
    transform: scale(0)  translateY(0) rotate(0);
    opacity: 1;
  }
  100%{
    transform: scale(1.3) translateY(-90px) rotate(360deg);
    opacity: 0;
  }
}