html {
  scroll-behavior: smooth;
}

/* Desktop-only margin for hero title */
/* Desktop: 1024px and up */
@media (min-width: 1024px) {
  .hero-title-desktop-margin {
    margin-top: 4rem;
  }
}

#custom-amount-checkbox {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0px;
  bottom: 0px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  transition: width 1s ease-in;
}

#custom-amount-checkbox:checked + label {
  left: auto !important;
  right: 0 !important;
  transition-timing-function: ease-in-out;
  transition-duration: 300ms;
  transform: translateX(0);
  transition-property: color, background-color, border-color,
  /*text-decoration-color, fill, stroke, opacity, box-shadow, transform, width, right, left,*/
    -webkit-backdrop-filter;
  /*transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property:
        color,
        background-color,
        border-color,
        text-decoration-color,
        fill,
        stroke,
        opacity,
        box-shadow,
        transform,
        filter,
        backdrop-filter,
        -webkit-backdrop-filter;*/
}

#custom-amount-checkbox:checked + label .custom-amount-full {
  display: none !important;
}

#custom-amount-checkbox:not(:checked) + label .custom-amount-min {
  display: none !important;
}

#custom-amount-checkbox + label.btn-adopt:active {
  transform: scale(1);
}
