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

ul {
  list-style: none; }

button {
  font-family: inherit;
  border: none;
  background: inherit;
  cursor: pointer;
  text-decoration: none; }

div:focus,
button:focus,
a:focus {
  outline-style: dotted;
  outline-color: #e7e7e9; }

body {
  font-family: "Kumbh Sans", sans-serif;
  color: #1d1e35; }

.container {
  background: linear-gradient(#af67e9, #6565e7);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; }

.card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
  max-width: 960px;
  font-size: 14px;
  border-radius: 20px;
  position: relative;
  margin: 2rem; }

.box {
  position: absolute;
  top: 200px;
  left: -92px;
  animation-name: box-animation;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  z-index: 3; }

@keyframes box-animation {
  0% {
    top: 200px; }
  50% {
    top: 170px; }
  100% {
    top: 200px; } }

.faq-image {
  overflow: hidden;
  position: relative; }
  .faq-image .woman-online {
    content: url(../images/illustration-woman-online-desktop.svg);
    top: 74px;
    left: -83px;
    position: absolute;
    z-index: 2; }
  .faq-image .pattern {
    content: url(../images/bg-pattern-desktop.svg);
    position: absolute;
    top: -18rem;
    left: -36rem; }

.faq {
  padding: 1.5rem; }
  .faq h1 {
    margin: 1.5rem 0;
    font-size: 48px; }
  .faq li {
    padding: 1rem 0;
    border-bottom: #e7e7e9 1px solid; }
  .faq .faq-button {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    text-align: left;
    padding: 0.5rem 0; }
  .faq .no-focus:focus {
    outline: none; }
  .faq button:hover {
    color: #f47c57; }
  .faq .button-icon {
    padding: 0 1rem;
    transition: transform 0.5s; }
  .faq .answer {
    padding-top: 1rem;
    color: #787887;
    height: auto;
    opacity: 1;
    transition: all 0.5s;
    font-size: 12px; }
  .faq .hidden {
    overflow: hidden;
    opacity: 0;
    height: 0;
    padding: 0; }
  .faq .bold {
    font-weight: 700; }
  .faq .inverted {
    transform: rotate(180deg); }

.attribution-wrapper {
  display: flex;
  justify-content: center;
  padding: 1rem; }
  .attribution-wrapper .attribution {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    text-align: center;
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px; }
    .attribution-wrapper .attribution a {
      color: #6565e7; }
    .attribution-wrapper .attribution p {
      padding: 0.5rem;
      font-size: 1rem; }

@media (max-width: 1000px) {
  .container {
    min-height: 100vh;
    height: 100%; }
  .card {
    grid-template-columns: 1fr;
    max-width: 330px;
    margin-top: 8rem; }
  .box {
    display: none; }
  .faq-image {
    min-height: 5rem;
    overflow: visible; }
    .faq-image .woman-online {
      content: url(../images/illustration-woman-online-mobile.svg);
      position: absolute;
      top: -108px;
      left: 50%;
      transform: translate(-55%, 0); }
    .faq-image .pattern {
      content: url(../images/bg-pattern-mobile.svg);
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, 0); }
  .faq {
    padding: 1.5rem 1.5rem 2.5rem 1.5rem; }
    .faq h1 {
      font-size: 36px;
      text-align: center;
      margin-top: 1.5rem; }
    .faq li {
      padding: 1rem 0; }
    .faq .button-icon {
      padding: 0 0.3rem; } }
