.pricing-container {
  position: relative;
  width: 100%;
  height: auto;
  background-color: black;
}

.pricing-main-image-container {
  position: relative;
  text-align: center;
  display: flex;
  width: 100%;
  height: 85vh;

  background-image: url('../assets/images/pricing_main.webp');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  background-color: black;
}

.pricing-main-image-container::before {
  z-index: 1;
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: radial-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.pricing-main-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  clip-path: polygon(0 78%, 100% 92%, 100% 100%, 0 100%);
}

.pricing-card {
  position: absolute;
  top: 440px;
  left: 235px;
  width: 40rem;
  height: 30rem;
  background-color: rgb(0, 0, 0);
  z-index: 2;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid rgb(252, 180, 47);
}

.pricing-card h1 {
  font-weight: 800;
  font-size: 2.5rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  user-select: none;
  text-align: end;
  color: white;
  margin-bottom: 2.5rem;
  margin-right: 2rem;
  color: rgb(252, 180, 47);
}

.pricing-card p {
  font-weight: 600;
  font-size: 1.3rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  user-select: none;
  color: white;
}

.price-generator-container {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
    'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.price-generator-wrapper {
  display: flex;
  width: 70%;
  flex-direction: row;
}

.generator {
  min-width: 20rem;
  height: 50vh;
  min-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 3rem;
  background-color: rgb(17, 17, 17);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  margin-top: 3rem;
  align-items: center;
}

.generator h2 {
  text-align: end;
  margin-bottom: 3rem;
}

.generator-wrapper {
  width: 80%;
  height: 25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.generator-wrapper input[type='time'] {
  padding: 5px;
}

.form-group {
  margin-bottom: 15px;
}

.location {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
}

.main-label {
  margin-left: 6rem;
}

.location > div {
  margin-right: 1rem;
}

.time,
.duration,
.amount {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
}

.time input {
  width: 10rem;
}

.generator .slider {
  -webkit-appearance: none;
  appearance: none;
  width: 10.7rem;
  height: 10px;
  background: #ffffff;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.generator .slider:hover {
  opacity: 1;
}

.generator .location select {
  width: 10rem;
  min-width: 172px;
  border-radius: 0px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  box-shadow: none;
  font-family: Georgia, sans-serif;
  font-size: 0.9375rem;
  transition: 270ms ease-in-out;
  color: white;
  height: 33.75px;
  padding: 5px;
  cursor: pointer;
}

.generator .location select option {
  color: black;
  font-weight: 300;
}

.generator input[type='time'] {
  width: 10rem;
  border-radius: 0px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  box-shadow: none;
  font-family: Georgia, sans-serif;
  font-size: 0.9375rem;
  -webkit-appearance: none;
  appearance: none;
  transition: 270ms ease-in-out;
  color: white;
}

.generator input[type='time']::-webkit-calendar-picker-indicator {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(175deg);
  cursor: pointer;
}

.generator .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgb(252, 180, 47);
  cursor: pointer;
}

.generator .slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgb(252, 180, 47);
  cursor: pointer;
}

.generator input[type='range'] {
  width: 100%;
  max-width: 12rem;
  background: transparent;
}

.generator input[type='range']::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  line-height: 3rem;
}

.generator input[type='range']::-webkit-slider-thumb {
  margin-top: -8px;
}

.warning {
  color: white;
  text-align: center;
  font-size: 0.9rem;
}

/* ------------------------MEDIA------------------------ */
@media (max-width: 500px) {
  .pricing-main-image-container {
    position: unset;
    height: 60vh;
  }

  .pricing-main-image-container::after {
    content: none;
  }

  .pricing-main-image-container::before {
    height: 60vh;
  }

  .pricing-card {
    position: unset;
    width: fit-content;
    height: auto;
    margin: 0 auto;
    border: none;
  }

  .black-container {
    display: none;
  }

  .price-generator-container {
    margin-top: 2rem;
  }

  .price-generator-wrapper {
    flex-direction: column-reverse;
    overflow: hidden;
    width: 90%;
  }

  .phone-row {
    margin-bottom: 2rem;
  }

  .generator {
    min-width: fit-content;
    width: 95%;
    height: auto;
    padding: 0;
  }

  .generator input[type='range'] {
    width: 135px;
  }

  .form-group .main-label {
    margin-left: 3rem;
    text-align: end;
  }

  .generator-wrapper {
    flex-direction: column;
    height: auto;
    width: 90%;
  }
}

@media (501px <= width <= 1000px) {
  .pricing-main-image-container {
    position: unset;
    height: 60vh;
  }

  .pricing-main-image-container::after {
    content: none;
  }

  .pricing-main-image-container::before {
    height: 60vh;
  }

  .pricing-card {
    position: unset;
    width: fit-content;
    height: auto;
    margin: 0 auto;
    border: none;
  }

  .black-container {
    display: none;
  }

  .price-generator-wrapper {
    flex-direction: column-reverse;
  }

  .phone-row {
    margin-bottom: 2rem;
  }
}
