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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
  font-family: inherit;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}
:root {
  --clr-White: hsl(0, 100%, 100%);
  --clr-silver: hsl(120, 2%, 56%);
  --clr-whiteSmoke: hsl(0, 0%, 93%);
  --clr-Purple-100: hsl(275, 100%, 97%);
  --clr-Purple-600: hsl(292, 16%, 49%);
  --clr--Purple-950: hsl(292, 42%, 14%);

  --ff: "Work Sans", sans-serif;

  --fs: 16px;

  --fw-400: 400;
  --fw-600: 600;
  --fw-700: 700;
}
body {
  font-family: var(--ff);
  font-size: var(--fs);
  font-weight: var(--fw-400);
  min-height: 100vh;
  min-width: 100vw;
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--clr-Purple-100);

  min-height: 100vh;
  min-width: 100vw;

  background-image: url("./assets/images/background-pattern-desktop.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.wrapper {
  max-width: 560px;
  background-color: var(--clr-White);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem;

  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
button:focus {
  outline: 3px solid var(--clr--Purple-950);
  outline-offset: 3px;
}
.heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.heading h1 {
  font-size: 3rem;
}
.questions:not(:last-child) {
  border-bottom: 0.5px solid var(--clr-whiteSmoke);
}
.question_response {
  /* padding: 1rem 0; */
}
.question_response {
  color: var(--clr-Purple-600);
  font-weight: var(--fw-600);
}
.questions_heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
}

.questions_heading h2 {
  font-size: 1rem;
  font-weight: var(--fw-600);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media screen and (max-width: 375px) {
  .container {
    background-image: url("./assets/images/background-pattern-mobile.svg");
  }
  .wrapper {
    width: fit-content;
    margin: 1.4rem;
  }
}
