@font-face {
  font-family: Roboto Mono;
  src: url("./Roboto_Mono/RobotoMono-VariableFont_wght.ttf");
}

* {
  font-family: "Roboto Mono";
  color: white;
  margin: 0;
}

body {
  background: linear-gradient(-225deg,
      #fafa6e,
      #e0f470,
      #c7ed73,
      #aee678,
      #97dd7d,
      #81d581,
      #6bcc86,
      #56c28a,
      #42b98d,
      #2eaf8f,
      #18a48f,
      #009a8f,
      #00908d,
      #008589,
      #007b84,
      #0c707d,
      #196676,
      #215c6d,
      #275263,
      #2a4858);
  min-height: 100vh;
}

.container {
  display: flex;
  justify-content: center;
}

.center {
  text-align: center;
}

.box {
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 2em;
  width: fit-content;
  height: fit-content;
  margin: 0;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
}

/* Button */

.btn {
  background-color: #0c707d;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-shadow: 0.7px 0.7px rgba(255, 255, 255, 0.6);
}

.btn:hover {
  background: #2eaf8f;
}

.btn:focus {
  background: #81d581;
}

/* Navbar */
.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#reset {
  margin: 30px;
}

#heading {
  margin-top: 10px;
}

#fill-element {
  width: 141px;
}

/* Hero */
#count {
  font-size: 1.5em;
  margin-top: 20px;
  border-radius: 50px;
  width: fit-content;
  height: fit-content;
  padding: 10px;
}

/*Cookie*/

#cookie {
  border: 500px;
  background-size: 209px;
  width: 200px;
  height: 200px;
  font-size: 2em;
  cursor: pointer;
  transition: transform 0.2s ease-out;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
}

#cookie:hover {
  transform: scale(1.15);
}

.cookieStyling {
  position: absolute;
  width: 40px;
  pointer-events: none;
  border-radius: 50%;
}

.rotating-shine {
  position: absolute;
  top: 0;
  z-index: -1;
  opacity: 45%;
  border-radius: 50%;
  height: 400px;
}

/* Avatar */
.avatar-Selection {
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  font-size: 20px;
  width: 90%;
}

.avatar-list {
  padding: 0;
  margin-top: 30px;
  justify-content: space-evenly;
  list-style-type: none;
}

.card-img {
  height: 250px;
  border-radius: 4%;
}

.avatar-list li {
  transition: 0.3s all ease-out;
}

.avatar-list li:hover {
  scale: 110%;
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  position: absolute;
  color: #000000;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
}

footer * {
  color: black;
}

/*Animation */
@keyframes right {
  10% {
    opacity: 90%;

    transform: translate(0px, -30px);
  }

  20% {
    opacity: 80%;

    transform: translate(5px, -34px);
  }

  30% {
    opacity: 70%;

    transform: translate(10px, -38px);
  }

  40% {
    opacity: 60%;

    transform: translate(15px, -42px);
  }

  45% {
    opacity: 60%;

    transform: translate(17.5px, -44px);
  }

  50% {
    opacity: 50%;

    transform: translate(20px, -46px);
  }

  55% {
    opacity: 50%;

    transform: translate(2.5px, -44px);
  }

  60% {
    opacity: 40%;

    transform: translate(25px, -42px);
  }

  70% {
    opacity: 30%;

    transform: translate(30px, -38px);
  }

  80% {
    opacity: 20%;

    transform: translate(35px, -36px);
  }

  90% {
    opacity: 10%;

    transform: translate(40px, -30px);
  }

  100% {
    transform: translate(45px, -30px);

    opacity: 0%;
  }
}

@keyframes left {
  10% {
    opacity: 90%;

    transform: translate(-0px, -30px);
  }

  20% {
    opacity: 80%;

    transform: translate(-5px, -34px);
  }

  30% {
    opacity: 70%;

    transform: translate(-10px, -38px);
  }

  40% {
    opacity: 60%;

    transform: translate(-15px, -42px);
  }

  45% {
    opacity: 60%;

    transform: translate(-17.5px, -44px);
  }

  50% {
    opacity: 50%;

    transform: translate(-20px, -46px);
  }

  55% {
    opacity: 50%;

    transform: translate(-2.5px, -44px);
  }

  60% {
    opacity: 40%;

    transform: translate(-25px, -42px);
  }

  70% {
    opacity: 30%;

    transform: translate(-30px, -38px);
  }

  80% {
    opacity: 20%;

    transform: translate(-35px, -36px);
  }

  90% {
    opacity: 10%;

    transform: translate(-40px, -30px);
  }

  100% {
    transform: translate(-45px, -30px);

    opacity: 0%;
  }
}

@keyframes upper-middle {
  0% {
    opacity: 100%;

    transform: translate(0px, 0px);
  }

  100% {
    opacity: 0%;

    transform: translate(0px, 400px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(365deg);
  }
}

.cookie-click {
  animation: onClick 0.5s ease-in;
  animation-timing-function: linear;
  transition: all 0.2s ease-in-out;
}

@keyframes onClick {
  50% {
    transform: scale(1.05);
  }
}