@import url("https://fonts.googleapis.com/css2?family=Gemunu+Libre:wght@400;500;700&display=swap");
* {
  margin: none;
  padding: none;
  box-sizing: border-box;
}
body {
  background-color: rgb(236, 235, 127);
  font-family: "Gemunu Libre", sans-serif;
  font-size: 18px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.centerBox {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  width: 30%;
  border-radius: 20px;
  padding-bottom: 1.4rem;
  transition: background-color 0.4s ease-in-out;
  /* background-color: blue; */
}

.centerBox:hover {
  background-color: hsla(64, 72%, 80%, 0.5);
}

.title {
  color: rgb(72, 72, 163);
  font-weight: bold;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 350px;
}

.form div {
  width: 350px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

label {
  width: 150px;
  background-color: transparent;
}

input {
  height: 30px;
  width: 220px;
}

select {
  height: 30px;
  width: 254px;
  appearance: none;
  font-family: "Gemunu Libre", sans-serif;
  font-size: 18px;
  letter-spacing: 0.2rem;
  border: 0.2px rgb(172, 166, 166) solid;
  text-align: center;
}

select:focus {
  outline: none;
}
/* name="coinz editable" */

.buttons {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  width: 300px;
}

.button {
  height: 30px;
  width: 40%;
  border: none;
  background-color: rgb(179, 110, 21);
  color: white;
  border-radius: 3px;
  font-family: inherit;
  font-size: 20px;
  transition: background-color 0.3s ease-in-out;
  text-align: center;
}

.button:hover {
  background-color: #8a5b1d;
  /* background-color: #f3f0e1;
  background-color: #aee4eb; */
  cursor: pointer;
}
.editable {
  outline: none;
}
.editable:focus {
  background-color: rgb(202, 233, 238);
  outline: none;
}

.nonEditable {
  background-color: rgb(196, 196, 196);
  outline: none;
  color: white;
  font-weight: bold;
  overflow: none;
}

input {
  border: 0.2px rgb(172, 166, 166) solid;
  padding: 1px 1rem 1px 1rem;
  font-family: "Gemunu Libre", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  text-align: right;
}

form input.coin {
  text-align: center;
}
p{
  margin: 0;
}

/* ANIMATIONS */
img {
  height: 22px;
  width: 22px;
}

.set div {
  position: absolute;
  display: block;
}

.set div:nth-child(1) {
  left: 20%;
  animation: animateTB 55s linear infinite;
  animation-delay: -12s;
}
.set div:nth-child(2) {
  left: 50%;
  animation: animateTB 40s linear infinite;
  animation-delay: -14s;
}
.set div:nth-child(3) {
  left: 70%;
  animation: animateTB 35s linear infinite;
  animation-delay: -10s;
}
.set div:nth-child(4) {
  left: 5%;
  animation: animateTB 89s linear infinite;
  animation-delay: -11s;
}
.set div:nth-child(5) {
  left: 85%;
  animation: animateBT 70s linear infinite;
  animation-delay: -9s;
}
.set div:nth-child(6) {
  left: 44%;
  animation: animateBT 50s linear infinite;
}
.set div:nth-child(7) {
  left: 15%;
  animation: animateBT 65s linear infinite;
}
.set div:nth-child(8) {
  top: 60%;
  animation: animateBT 100s linear infinite;
}

.set div:nth-child(9) {
  top: 20%;
  animation: animateLR 55s linear infinite;
  animation-delay: -12s;
}
.set div:nth-child(10) {
  top: 50%;
  animation: animateLR 40s linear infinite;
  animation-delay: -14s;
}
.set div:nth-child(11) {
  top: 70%;
  animation: animateLR 35s linear infinite;
  animation-delay: -10s;
}
.set div:nth-child(12) {
  top: 5%;
  animation: animateLR 55s linear infinite;
  animation-delay: -11s;
}
.set div:nth-child(13) {
  top: 85%;
  animation: animateRL 70s linear infinite;
  animation-delay: -9s;
}
.set div:nth-child(14) {
  top: 44%;
  animation: animateRL 84s linear infinite;
}
.set div:nth-child(15) {
  top: 15%;
  animation: animateRL 65s linear infinite;
}
.set div:nth-child(16) {
  top: 60%;
  animation: animateRL 69s linear infinite;
}

@keyframes animateTB {
  0% {
    opacity: 0;
    top: -10%;
    transform: translateX(20px) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  20% {
    transform: translateX(-20px) rotate(70deg);
  }
  40% {
    transform: translateX(-20px) rotate(140deg);
  }
  60% {
    transform: translateX(20px) rotate(220deg);
  }
  80% {
    transform: translateX(-20px) rotate(280deg);
  }
  100% {
    top: 110%;
    transform: translateX(-30px) rotate(350deg);
  }
}

@keyframes animateBT {
  0% {
    opacity: 0;
    bottom: -10%;
    transform: translateX(20px) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  20% {
    transform: translateX(-20px) rotate(70deg);
  }
  40% {
    transform: translateX(-20px) rotate(140deg);
  }
  60% {
    transform: translateX(20px) rotate(220deg);
  }
  80% {
    transform: translateX(-20px) rotate(280deg);
  }
  100% {
    bottom: 110%;
    transform: translateX(-30px) rotate(350deg);
  }
}

@keyframes animateRL {
  0% {
    opacity: 0;
    right: -10%;
    transform: translateY(20px) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  20% {
    transform: translateY(-20px) rotate(70deg);
  }
  40% {
    transform: translateY(-20px) rotate(140deg);
  }
  60% {
    transform: translateY(20px) rotate(220deg);
  }
  80% {
    transform: translateY(-20px) rotate(280deg);
  }
  100% {
    right: 100%;
    transform: translateY(-30px) rotate(350deg);
  }
}

@keyframes animateLR {
  0% {
    opacity: 0;
    left: -10%;
    transform: translateY(20px) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  20% {
    transform: translateY(-20px) rotate(70deg);
  }
  40% {
    transform: translateY(-20px) rotate(140deg);
  }
  60% {
    transform: translateY(20px) rotate(220deg);
  }
  80% {
    transform: translateY(-20px) rotate(280deg);
  }
  100% {
    left: 100%;
    transform: translateY(-30px) rotate(350deg);
  }
}
