ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: $text-black;
}

.bold {
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
li,
label,
input,
textarea,
th,
td {
  font-family: $font-family;
}

#back {
  color: blue;
  font-size: 1.6rem;
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
  padding: 2rem 4rem;
  border: 0.2rem solid #e5e5e5;
}

.container {
  max-width: 150rem;
  padding: 0 4rem;
  margin: 0 auto;
}

body {
  min-height: 100vh;
  position: relative;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

button:disabled {
  background: #e5e5e5 !important;
  pointer-events: none;
  transition: 0.4s all ease;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  color: rgba(0, 0, 0, 0);
  opacity: 1;
  display: block;
  background: url("../icons/calendar.svg") no-repeat;
  border-width: thin;
}

input::placeholder {
  color: rgba(195, 195, 195, 0.5);
}

.App {
  .loader {
    z-index: 1000;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 7rem;
    align-items: center;
    justify-content: center;

    svg {
      margin: 0 auto !important;
    }
  }

  .spinner {
    width: 6rem;
    height: 6rem;
  }
}
.splitter {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.progress-not {
  margin-top: 2rem;
  font-size: 3rem;
  text-align: center;
}

.progress-percentage {
  font-size: 2rem;
  color: $base-green;
}

.linear-progress {
  width: 30rem;
  height: 1rem;
  position: relative;
  background: lightgrey;
  overflow: hidden;
  border-radius: 2rem;

  .bar {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: $base-green;
  }
}

input[type="range"] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type="range"]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type="range"]::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid #e5e5e5;
  height: 1.6rem;
  width: 1.6rem;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  margin-top: -0.6rem; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}

/* All the same stuff for Firefox */
input[type="range"]::-moz-range-thumb {
  border: 1px solid #e5e5e5;
  height: 1.6rem;
  width: 1.6rem;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  margin-top: -0.6rem;
}

/* All the same stuff for IE */
input[type="range"]::-ms-thumb {
  border: 1px solid #e5e5e5;
  height: 1.6rem;
  width: 1.6rem;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.4rem;
  cursor: pointer;
  background: $base-green;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
  background: $base-green;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 0.4rem;
  cursor: pointer;
  background: $base-green;
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 0.4rem;
  cursor: pointer;
  background: $base-green;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
input[type="range"]::-ms-fill-lower {
  background: $base-green;
}
input[type="range"]:focus::-ms-fill-lower {
  background: $base-green;
}
input[type="range"]::-ms-fill-upper {
  background: $base-green;
}
input[type="range"]:focus::-ms-fill-upper {
  background: $base-green;
}

/* width */
::-webkit-scrollbar {
  width: 0.5rem;
}

/* Track */
::-webkit-scrollbar-track {
  background: #e5e5e5;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: $base-green;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: $dark-green;
}

.red {
  color: red;
}

.green {
  color: green;
}

// MEDIA
@media screen and (max-width: 1200px) {
  .container {
    padding: 0 3rem;
  }
}

@media screen and (max-width: 440px) {
  .captcha-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .captcha {
    transform: scale(0.91) translateX(-1.4rem);
    width: 100%;
  }
}

@media screen and (max-width: 380px) {
  .captcha {
    transform: scale(0.81) translateX(-0.4rem);
  }
  .captcha-wrapper {
    width: 3rem;
  }
}

@media screen and (max-width: 340px) {
  .linear-progress {
    width: 25rem;
  }

  .progress-not {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 330px) {
  .captcha {
    transform: scaleX(0.71) scaleY(0.8) translateX(-3rem);
  }
}

@media screen and (max-width: 350px) {
  .captcha {
    transform: scaleX(0.65) scaleY(0.75) translateX(-1rem);
  }
}
