/* #preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  } */
  

#preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.battery-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.battery-body {
  width: 80px;
  height: 150px;
  background-color: #191919;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

.battery-level {
  width: 100%;
  height: 100%;
  /* background-color: #4db6ac; */
  background-image: linear-gradient(65deg,rgb(136, 241, 236), rgb(33, 60, 61));
  position: absolute;
  bottom: 0;
  animation: fluid 2s infinite;
}

.battery-cap {
  width: 30px;
  height: 20px;
  background-image: linear-gradient(90deg,rgb(136, 241, 236), rgb(33, 60, 61));
  position: absolute;
  top: -15px;
  right: 25px;
  border-radius: 50%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.battery-text {
  margin-top: 10px;
  font-weight: bold;
  color: #4db6ac;
}

.battery-text::after {
  content: "";
  display: inline-block;
  animation: blink 1s infinite;
}

@keyframes fluid {
  0% {
    height: 0;
  }
  50% {
    height: 100%;
  }
  100% {
    height: 0;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

  
    