#img-svg {
  margin: auto;
  margin-top: 16px;
  height: 67px;
  width: 98px;
}

#file-loader {
  display: flex;
  align-items: center;
  flex-direction: column;
}

#file-loader img {
  height: 60px;
}

#file-loader p {
  text-align: center;
  color: #fff;
  font-size: 17px;
}

#loading-img {
  height: 27px;
  width: 27px;
  margin-right: 21px;
}

#dropbox svg,
#filepicker svg,
.boxes svg {
  height: 24px !important;
  width: 24px !important;
}

.file-picker-dropdown a,
.file-picker-dropdown button {
  border: none;
  width: 100%;
  border-radius: 4px;
  text-align: left;
  background: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  padding: 15px 24px;
  list-style: none;
  height: 54px;
}

.file-picker-dropdown {
  width: 213px;
  position: absolute;
  background: #fff;
  top: 111%;
  right: 0;
  display: none;
  box-shadow: rgb(26 26 26 / 20%) 0 0 12px;
  border-radius: 4px;
}

.file-pick-dropdown i {
  margin: 0;
}

.boxes {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}


.compress-img-box {
  max-width: 800px;
  background-color: #fff;
  width: 100%;
  margin: auto;
  border-radius: 0.75em;
  border: 1px solid #f2f2f2;
  box-shadow: 0px 5px 16px -2px rgb(42 115 217 / 20%);
  font-size: 16px;
  height: auto;
  display: none;
}

.custom-box {
  padding: 15px;
}

.inner-box {
  border: 1px dashed rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.1);
  padding: 40px;
  min-height: 300px;
}

.file-name {
  padding: 1.3em 1em;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-name span {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.125em;
  text-align: center;
  width: 100%;
  line-height: 1.2;
  word-break: break-word;
}

.range-div input {
  position: absolute;
  width: 234px;
  transform-origin: right top;
  transform: translateX(-100%) rotate(-90deg);
  transform: translate3d(-100%, 0, 0) rotate(-90deg);
  -webkit-appearance: none;
  margin-left: -11.4px;
  margin-top: 10px;
  z-index: 1;
}

.range-div input::-webkit-slider-thumb {
  -webkit-appearance: none;
  padding: 10px;
  display: block;
  background-size: contain;
  border: 2px solid var(--primary-color);
  margin-bottom: 100px !important;
  background: var(--primary-color)
    url('https://codyhouse.co/demo/image-comparison-slider/img/cd-arrows.svg')
    no-repeat center center;
}

.range-div input::-webkit-slider-runnable-track {
  background-color: transparent;
}

#dropfile {
  font-size: 16px;
  margin-top: 15px;
  text-align: center;
  color: #fff;
}

.image-slider {
  height: 320px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.image-slider img {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 8px;
}

.image-slider #original-img {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  border-right: 1px solid #fff;
  background: #fff;
}

#slider {
  position: relative;
  -webkit-appearance: none;
  width: calc(100% + 40px);
  height: 100%;
  margin-left: -20px;
  background-color: transparent;
  top: 50%;
  outline: none;
}

#slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 36px;
  width: 36px;
  border: 3px solid white;
  border-radius: 50%;
  background-size: contain;
  cursor: col-resize;
  background: var(--primary-color)
    url('https://codyhouse.co/demo/image-comparison-slider/img/cd-arrows.svg')
    no-repeat center center;
}

.preview-cont {
  padding: 20px;
}

.quality {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}

@media (max-width: 768px) {
  .range-div {
    width: 100%;
    position: relative;
  }

  .range-div input {
    transform: translate3d(0%, 0, 0) rotate(0deg);
    position: initial;
    width: 100%;
    margin-left: 0px !important;
  }

  .quality {
    padding-top: 10px;
  }
  .custom-range-track {
    margin-top: 21px !important;
    width: 100% !important;
    height: 8px !important;
    left: 0 !important;
  }
}

#quality-input {
  background: 0 0;
  border: none;
  cursor: text;
  font-size: 1em;
  letter-spacing: 0.04em;
  height: 1.875em;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  box-shadow: inset 0 0 0 var(--primary-color);
  transition: opacity 0.2s ease-out, box-shadow 0.2s ease-out;
  flex-shrink: 0;
  margin-bottom: 0.625em;
  color: #38404b;
  -webkit-text-fill-color: #38404b;
}

.download-wrapper {
  display: flex;
  justify-content: flex-end;
}

#download-btn {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-size: 16px;
  padding: 10px 20px;
  font-size: 17px;
  width: 200px ;
}
#difference-line {
  height: 100%;
  width: 3px;
  background-color: var(--primary-color);
  opacity: 0.5;
  position: absolute;
  left: 50%;
}

input[type=range]{
  height: 1.4rem !important;
  background-color: transparent !important;
}

.custom-range-track {
  position: absolute;
  margin-top: 10px;
  height: 100px;
  width: 6px;
  left: 50%;
  background-color: var(--primary-color);
  opacity: 0.5;
  height: 234px;
  border-radius: 15px;
}
#download-btn i {
  margin-bottom: 0px;
  margin-right: 4px;
}
.compress-img-box p {
  color: #000;
  font-size: 17px;
}
