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

.flex-container {
  display: flex;
  flex-direction: column;
}

:root {
  --white: hsl(0, 100%, 100%);
  --purple100: hsl(275, 100%, 97%);
  --purple600: hsl(292, 16%, 49%);
  --purple950: hsl(292, 42%, 14%);
}

body {
  height: 100vh;
  width: 23.438rem;
  background-color: var(--purple100);
  font-family: "Work Sans", sans-serif;
  font-size: 1rem;
  justify-self: center;
}

main {
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
}

.accordion-container {
  background-color: var(--white);
  border-radius: 0.5rem;
  margin-block: 8rem;
  padding: 1.5rem 1.5rem 0.25rem;
  position: absolute;
  width: 21rem;
}

.header {
  align-items: center;
  flex-direction: row;
  gap: 1.5rem;
}

h1 {
  color: var(--purple950);
}

h2 {
  font-size: 1.125rem;
  font-weight: 600;
}

.star-icon {
  width: 1.5rem;
}

summary {
  list-style: none;
  align-items: center;
  font-weight: 600;
  padding: 1.5rem 0;
}

.summary-header {
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  font-size: 1.063rem;
  color: var(--purple950);
}

.summary-header span {
  display: inline-flex;
}

.icon-open {
  display: none;
}

details[open] .icon-closed {
  display: none;
}

details[open] .icon-open {
  display: block;
}

p {
  color: var(--purple600);
  line-height: 1.5rem;
  padding: 0 0 1.5rem;
}

hr {
  border: 0.05rem solid var(--purple100);
  display: block;
}

@media screen and (min-width: 48rem) {
  body {
    width: auto;
  }
  .accordion-container {
    margin-block: 11rem;
    padding: 2rem 2rem 0.5rem;
    width: 37.5rem;
  }
  header {
    margin-block: 0.5rem;
  }
  h1 {
    font-size: 3rem;
  }
  h2, .summary-header svg {
    cursor: pointer;
  }
  h2:hover {
    color: var(--purple600);
    cursor: pointer;
  }
  .summary-header {
    width: 100%;
  }
  .star-icon {
    width: 2.25rem;
  }
}

/*# sourceMappingURL=styles.css.map */
