*,
*::before,
*::after {
  outline: none !important;
}

* {
  outline: 1px solid red;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 320px;
  background: url("images/desktop-background.jpg") no-repeat center top;
  background-size: cover;
  z-index: -1;
}

body {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  background-color: #f9f0ff;
  padding: 167px 0px;
  width: 100vw;
  min-height: 100vh;
  position: relative;
}

.card {
  width: 600px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  margin: 0 auto;
  padding: 44px 38px 0px 38px;
  border-radius: 16px;
}

.icon-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 25px;
  margin-bottom: 39px;
}

.icon-logo img {
  width: 34px;
}

.icon-logo h1 {
  font-family: "Work Sans", sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0.51px;
}

.question-group {
  outline: 1px solid black;
}

.question-icon-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0px;
  cursor: pointer;
  outline: 4px dotted green;
}

h2 {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  margin-right: 10px;
  margin-bottom: 24px;
  color: #3d1d48;
  min-width: 0;
  flex-grow: 1;
  white-space: normal;
  overflow: hidden;
}

h2:hover {
  color: #ad28eb;
}

.icon-container {
  position: relative;
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-plus,
.icon-minus {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease-in-out;
}
.icon-minus {
  opacity: 0;
}

.icon-plus {
  opacity: 1;
}

.custom-line {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 4px 0px 3px 0px;
}

p {
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  color: #8b6990;
  margin-bottom: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

p,
ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

ul {
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  color: #8b6990;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  list-style: disc;
  padding-left: 20px;

  margin-top: 10px;
}

ul li {
  display: list-item;
  margin-bottom: 8px;
}

ul li a {
  font-weight: 600;
  color: #8b6990;
}

.question-group:last-of-type.open {
  padding-bottom: 32px;
}

p.last-paragraph {
}

.question-group:nth-of-type(n + 2) {
  padding-top: 22px;
}

.question-group:first-of-type .paragraph {
  max-height: 1000px;
}

@media (max-width: 635px) {
  body {
    padding: 142px 24px;
  }

  .card {
    width: 100%;
  }

  .icon-logo h1 {
    font-size: 33px;
  }

  .icon-logo img {
    width: 22px;
  }

  p {
    font-size: 16px;
  }
}
