/* Reset & Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: hsl(0, 100%, 100%);
  --purple-100: hsl(275, 100%, 97%);
  --purple-600: hsl(292, 16%, 49%);
  --purple-950: hsl(292, 42%, 14%);
}


body {
  font-family: 'Work Sans', Arial, sans-serif;
  font-weight: 400;
  color: #333;
  margin: 0;
  position: relative;
 background-image: url('../assets/images/background-pattern-mobile.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--purple-100); /* fallback */
}

/* FAQ styles */
.FAQ-container {
  background: var(--white);
  border: 2px solid var(--purple-100);
  border-radius: 8px;
  padding: 1rem;
  width: 60%;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 20%);
}

.header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.FAQ-paragraph {
  color: var(--purple-950);
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  cursor: pointer;
  transition: color 0.2s;
}

.FAQ-paragraph:hover {
  color: var(--purple-950);
}

.FAQ-response {
  
  color: var(--purple-600);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

hr {
    border: none;
    height: 1px;
    background: var(--purple-100);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.attribution {
      font-size: 11px;
      text-align: center;
      position: fixed;
      left: 0;
      bottom: 0;
      width: 100%;
      padding: 10px 0;
    }
    .attribution a {
      color: hsl(228, 45%, 44%);
    }

@media (min-width: 768px) {
   body {
    background-image: url('../assets/images/background-pattern-desktop.svg');
  }

  .FAQ-container {
    width: 40%;
    padding: 2rem;
  }

  .FAQ-paragraph {
    font-size: 1rem;
  }
}