main,
body {
  font-family: "Work Sans", sans-serif;
  --White: hsl(0, 0%, 100%);
  --Light-pink: hsl(275, 100%, 97%);
  --Grayish-purple: hsl(292, 16%, 49%);
  --Dark-purple: hsl(292, 42%, 14%);
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

body {
  /* border: 2px solid burlywood; */
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row {
  display: flex;
}

.col {
  display: flex;
  flex-direction: column;
}
body {
  background-color: var(--Light-pink);
}

main {
  background-color: var(--White);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* border: 2px solid blue; */
  width: 50%;
}
h2 {
  margin-right: auto;
  flex-wrap: nowrap;
}

main div {
  display: flex;
  align-self: flex-start;
  flex-direction: flex-start;
  margin-inline: 2rem;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
  padding: 1rem;
}
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 150px; /* Adjust height as needed */
  padding-top: 0.5rem;
}

.icon {
  width: 24px;
  transition: transform 0.3s;
}

.accordion-item.active .icon {
  transform: rotate(180deg);
}

h2 {
  color: var(--Dark-purple);
}

p {
  color: var(--Grayish-purple);
}
