@charset "utf-8";

#calculator {
  text-align: center;

  animation: 0.5s ease-in-out 0s 1 normal none running fadeIn;
  width: 100%;
}

#slider-container {
  position: relative;
  margin-bottom: 20px;
}

#slider {
  width: 100%;
  opacity: 0;
  animation: 0.5s ease-in-out 0.5s 1 normal forwards running fadeIn;
  appearance: none;
  background: rgb(92, 185, 92);
  border-radius: 10px;
  outline: none;
  padding: 0px;
  position: relative;
  z-index: 2;
  height: 20px !important;
}

#slider::-webkit-slider-thumb {
  appearance: none;
  width: 25px;
  height: 25px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgb(92, 185, 92);
  z-index: 3;
  margin-top: 0px !important;
}

#current-value {
  width: 30%;
  margin: -5px auto 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 18px;
  border-left: 2px solid rgb(92, 185, 92);
  border-right: 2px solid rgb(92, 185, 92);
  border-bottom: 2px solid rgb(92, 185, 92);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  width: 100% !important;
}

.slider-labels span {
  position: relative;
}

.slider-labels span::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 10px;
  background: rgb(0, 0, 0);
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
}

.result {
  font-size: 18px;
  margin-bottom: 10px;
  opacity: 0;
  animation: 0.5s ease-in-out 1s 1 normal forwards running fadeIn;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
