.attribution {
  font-size: 11px;
  text-align: center;
  position: absolute;
  bottom: 3rem;
}

.attribution a {
  color: #3e52a3;
}

.card-container {
  display: flex;
  margin: 6rem 0;
  border-radius: 1rem;
  min-height: 45rem;
  width: 115rem;
  border-radius: 1rem;
  background-color: whitesmoke;
  box-shadow: 0 2rem 3rem rgba(17, 15, 15, 0.2);
}

/* left-side */
#left-side {
  flex: 1 1 0;
  position: relative;
}

.container-img-mob {
  display: none;
}

.container-img-desktop {
  position: relative;
  height: 100%;
  background-image: url("https://raw.githubusercontent.com/ViktoriiaZaichuk/faq-accordion-card-main/48bb14e632a5bd5d9190da88b45d21622dd2ed14/img/bg-pattern-desktop.svg");
  background-repeat: no-repeat;
  filter: invert();
  background-size: 190%;
  background-position: -455px -235px;
}

.pattern-desk {
  position: relative;
  bottom: 300px;
  right: 570px;
}

.woman-desk {
  position: absolute;
  top: 40px;
  left: -100px;
  z-index: 1;
  filter: invert(1);
}

.box-img {
  position: absolute;
  top: 175px;
  left: -110px;
  z-index: 3;
}

/* RIGHT */
#right-side {
  flex: 1 1 0;
  padding-left: 1rem 0 1rem 3rem;
  margin: 1.5rem;
  align-self: center;
}

h1 {
  padding: 2rem 3rem 2rem 0;
}

.question-container {
  border-bottom: solid #e7e7e9 0.1rem;
  max-width: 350px;
  padding: 2rem 0;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.question p {
  color: #4a4b5e;
  font-weight: 400;
}

.question:hover p {
  color: #f47c57;
}

.hiddens {
  display: none;
}

.hidden p {
  color: #787887;
  padding: 1rem 3rem 0 0;
}

.question-active p {
  color: #1d1e35;
  font-weight: 700;
  font-size: 1.3rem;
}

.question-active:hover p {
  color: #1d1e35;
}

.arrow {
  display: block;
  transform-origin: center;
  transition: 0.5s;
  padding: 0 1.5rem;
}

.question-active .arrow-active {
  transition: 0.5s;
  transform: rotate(-180deg);
}

/* RESPONSIVE */
@media only screen and (max-width: 1050px) {
  .card-container {
    margin: 120px 0 30px;
    flex-direction: column;
    max-width: 90vw;
  }

  #left-side {
    height: 30%;
  }

  .container-img-desktop {
    display: none;
  }

  .box-img {
    display: none;
  }

  .container-img-mob {
    display: block;
  }

  .pattern-mobile {
    position: relative;
    left: 50%;
    transform: translate(-50%, -80%);
    top: 45px;
    width: 50%;
  }

  .woman-mobile {
    position: relative;
    top: -10%;
    left: 46%;
    transform: translate(-50%, 6%);
  }

  h1 {
    text-align: center;
    padding: 0.5rem 0 2rem 0;
  }

  #right-side {
    height: 70%;
    padding: 2rem 0 3rem 0s;
    margin: 1rem 2rem 3rem 2rem;
  }
}
