.battery-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 5px;
    background-color: #f1f1f1;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: black;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}
.battery-fill {
    height: 100%;
    display: flex
;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
}
.green {
    background-color: #4CAF50 !important;
}
.battery-text-1, .winrate-text-1 {
    position: absolute;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: black;
    font-size: 12px;
    opacity: 1;
    transition: opacity 1s ease;
}
.winrate-text-1 {
    font-weight: normal;
    visibility: hidden;
}
.battery-text-1, .winrate-text-1 {
    animation: fadeInOut 6s infinite;
}

.battery-text-1 {
    animation-delay: 0s;
}

.winrate-text-1 {
    animation-delay: 3s;
}

.boostbtn {
display: flex;
    justify-content: center;
    align-items: center;
  position: relative;
  background: var(--clr);
  color: var(--clr);
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  letter-spacing: 0.2rem;
  font-size: 1rem;
  transition: 0.2s;
  animation: box 3s infinite;
}

.boostbtn::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #272822;
}

.boostbtn span {
  position: relative;
  z-index: 1;
}

.boostbtn i {
  position: absolute;
  inset: 0;
  display: block;
}

.boostbtn i::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 2px;
  left: 20%;
  top: -2px;
  border: 2px solid var(--clr);
  background: #272822;
  transition: 0.2s;
  animation: move 3s infinite;
}

.boostbtn i::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 2px;
  left: 80%;
  bottom: -2px;
  border: 2px solid var(--clr);
  background: #272822;
  transition: 0.2s;
  animation: move 3s infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes move {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes box {
  0% {
    box-shadow: #27272c;
  }
  50% {
    box-shadow: 0 0 25px var(--clr);
  }
  100% {
    box-shadow: #27272c;
  }
}
