html {
  --neutral-100: hsl(0, 0%, 98%);
  --neutral-200: hsl(236, 33%, 92%);
  --neutral-300: hsl(233, 11%, 84%);
  --neutral-400: hsl(236, 9%, 61%);
  --neutral-500: hsl(235, 19%, 35%);
  --neutral-bg: hsl(236, 33%, 92%);
}

html[data-dark=true] {
  --neutral-100: hsl(237, 14%, 26%);
  --neutral-200: hsl(234, 39%, 85%);
  --neutral-300: hsl(233, 14%, 35%);
  --neutral-400: hsl(234, 11%, 52%);
  --neutral-500: hsl(236, 33%, 92%);
  --neutral-bg: hsl(235, 24%, 19%);
}

body {
  background-color: var(--neutral-bg);
}

.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important; /* 2 */
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important; /* 3 */
}

/*
	Use in conjunction with .sr-only to only display content when it's focused.
	@note Useful for skip links 
	@see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
	@note Based on a HTML5 Boilerplate technique, included in Bootstrap
	@note Fixed a bug with position: static on iOS 10.0.2 + VoiceOver
		@author Sylvain Pigeard
		@see https://github.com/twbs/bootstrap/issues/20732
*/
.sr-only-focusable:focus,
.sr-only-focusable:active {
  clip: auto !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  height: auto !important;
  margin: auto !important;
  overflow: visible !important;
  width: auto !important;
  white-space: normal !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul {
  list-style: none;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
}

/* A elements that don't have a class get default styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.background-img {
  position: relative;
  width: 100%;
  z-index: -1;
}
.background-img img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
}

/* 2px, 4px, 8px, 16px, 24px, 32px, 48px, 64px */
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem;
  margin: 0 auto;
  max-width: 60rem;
  flex-direction: row;
}

.heading-primary {
  color: hsl(0, 0%, 98%);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 5.75px;
}
@media (min-width: 768px) {
  .heading-primary {
    font-size: 4.8rem;
    letter-spacing: 15px;
  }
}

.active {
  color: hsl(220, 98%, 61%) !important;
}

.form {
  max-width: 37.5rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .form {
    max-width: 60rem;
  }
}

.form__list-item {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--neutral-300);
  color: var(--neutral-500);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: unset;
}
.form__list-item .circle:checked ~ .form__list-text {
  text-decoration: line-through;
  color: var(--neutral-400);
}
@media (min-width: 768px) {
  .form__list-item {
    font-size: 1.8rem;
  }
  .form__list-item:hover .close-btn {
    visibility: visible;
  }
}

.form__list-item--end {
  font-size: 1.2rem;
  color: var(--neutral-400);
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .form__list-item--end {
    font-size: 1.4rem;
  }
}

.form__list {
  padding: 2rem;
  margin: 0 auto;
}

.form__list-box {
  display: flex;
  background-color: var(--neutral-100);
  color: var(--neutral-500);
  box-shadow: 10px 10px 113px -24px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  border-top-left-radius: 8px;
  border-top-left-radius: 8px;
}

.form__list-item__box {
  background-color: var(--neutral-100);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
@media (min-width: 768px) {
  .form__list-item__box {
    flex-direction: row;
  }
}

.form__items__count {
  padding: 2rem;
}

.form__list-item--flex {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.form__box {
  display: flex;
  margin: 0 auto;
  border-radius: 8px;
  align-items: center;
  padding: 0 2rem 0 2rem;
  justify-content: center;
  background-color: var(--neutral-100);
}
@media (min-width: 768px) {
  .form__box {
    max-width: 56rem;
  }
}

.form__input {
  border: none;
  outline: 0;
  flex: 1;
  background-color: transparent;
  max-width: 33.5rem;
  color: var(--neutral-500);
  padding: 2rem;
  font-size: 1.2rem;
}
@media (min-width: 768px) {
  .form__input {
    max-width: 60rem;
    font-size: 1.8rem;
  }
}

.icon-check {
  margin: 0 auto;
}

.form__state {
  display: flex;
  margin: 0 auto;
  border-radius: 8px;
  align-items: center;
  padding: 0 2rem 0 2rem;
  justify-content: center;
  background-color: var(--neutral-100);
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .form__state {
    display: none;
  }
}

.form__state--desktop {
  display: flex;
  margin: 0 auto;
  border-radius: 8px;
  align-items: center;
  padding: 0 2rem 0 2rem;
  justify-content: center;
  background-color: var(--neutral-100);
  background-color: transparent;
  border-radius: 0;
  display: none;
}
@media (min-width: 768px) {
  .form__state--desktop {
    display: flex;
  }
}

.hidden {
  display: none !important;
}

.close-btn {
  cursor: pointer;
  width: 1.4rem;
  height: 1.4rem;
  border: none;
  background-color: transparent;
}

.close-img {
  filter: invert(50%);
}

.icon-mode {
  border: 0;
  cursor: pointer;
  background-color: inherit;
}

.circle {
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 100%;
  border: 1px solid var(--neutral-300);
  position: relative;
  isolation: isolate;
}
.circle:hover::after, .circle:focus::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: 100%;
}

.circle:checked {
  background-image: url("/images/icon-check.svg"), linear-gradient(135deg, hsl(192, 100%, 67%), hsl(280, 87%, 65%));
  background-repeat: no-repeat;
  background-position: center;
}

.form__state-btn {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--neutral-300);
  color: var(--neutral-400);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background-color: transparent;
  font-weight: 700;
  cursor: pointer;
}
.form__state-btn:hover, .form__state-btn:focus {
  color: var(--neutral-500);
}
@media (min-width: 768px) {
  .form__state-btn {
    font-size: 1.4rem;
  }
}

.form__state-btn--clear {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--neutral-300);
  color: var(--neutral-400);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.form__state-btn--clear:hover, .form__state-btn--clear:focus {
  color: var(--neutral-500);
}/*# sourceMappingURL=style.css.map */