/* Top bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  padding: 0 1rem;
  background-color: var(--light-base-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 2;
}

.top-bar .nav-toggle {
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.top-bar .nav-toggle.active{
  /*transform: rotate(90deg);*/
}

.top-bar .nav{
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s ease;
  position: absolute;
  top: 50px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  overflow: auto;
  overflow-x: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.5);
}

.top-bar .nav.active {
  opacity: 1;
  pointer-events: inherit;
}

.top-bar .nav a {
  display: inline-block;
  padding: 1rem;
  margin: 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--base-color);
}

/* Bottom bar */
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 1rem;
  background-color: var(--light-base-color);
  border-top: 1px solid var(--border-color);
}

/* Buttons */
.form .button{
  margin-top: 1rem;
}
.button {
  display: inline-block;
  padding: 0.75rem 1rem;
  background-color: var(--primary);
  color: var(--base-color);
  border: none;
  border-radius: var(--border-radius);
  text-align: center;
  width: 100%;
}
.button:hover {
  background-color: var(--primary);
}


/* Cards */
.card {
  background: #fff;
  margin: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}




.range-container {
  width: 300px;
  position: relative;
  margin: 50px auto;
}

.sliders {
  position: relative;
  height: 10px;
}

input[type="range"] {
  position: absolute;
  width: 100%;
  pointer-events: none;
  appearance: none;
  height: 8px;
  margin: 0;
  background: transparent;
  z-index: 999;
}

input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
}

.range-track {
  position: absolute;
  height: 8px;
  background: #ddd;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 1;
  border-radius: 4px;
}

.range-progress {
  position: absolute;
  height: 8px;
  background: var(--primary);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border-radius: 4px;
}