@import url("zeroStyle.css");


body {
  background: #90EE90;
  font-family: Calibri, "Helvetica Neue", Helvetica, sans-serif;
  text-align: center;
}

.fild {
  width: 200px;
  border: 2px solid rgb(0, 0, 0);
  display: inline-block;
}

h1 {
  font-size: 25px;
  font-weight: 900;

  animation: colorH1 6s linear infinite alternate;
  margin: 10px 0px;
}


.formula {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: rgb(0, 0, 0);
  font-size: 12px;
  font-weight: 500;
}

.fild>input {
  background-color: aqua;
  border: 1px solid rgb(0, 0, 0);
  text-align: center;
  margin: 2px;
  width: 170px;

  overflow: hidden;
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


.textOutput {
  background-color: aqua;
  border: 1px solid rgb(0, 0, 0);
  text-align: center;
  margin: 2px auto;
  width: 170px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  height: 18px;
  display: inline-block;
  resize: none;
  overflow: hidden;
}

button {
  margin: 20px;
  width: 50%;
  height: 30px;
  background-color: green;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 20px;
  box-shadow: 0 5px 0 rgb(0, 39, 0);
  transition: 0.4s, background-color 2s;
  position: relative;
  top: 0;
}

button:hover {
  background-color: rgb(0, 83, 0);
}

button:active {
  box-shadow: 0 2px 0 rgb(0, 39, 0);
  top: 3px;
}

.ball {
  width: 40px;
  height: 40px;
  border: 1px solid rgb(0, 0, 0);

  border-radius: 50%;
  position: absolute;
  margin-top: 10px;
  animation: move 4s linear infinite alternate;
}

@keyframes move {
  0% {
    background-color: rgb(12, 81, 208);
    left: 2%;
  }

  50% {
    border-radius: 2%;
    background-color: rgb(68, 247, 14);
  }

  100% {
    background-color: rgb(208, 12, 12);
    left: 97%;
  }
}

@keyframes colorH1 {
  0% {
    color: rgb(185, 208, 12);

  }

  50% {
    color: rgb(208, 12, 175);
  }

  100% {
    color: rgb(45, 208, 12);

  }
}