#container .wrapper {
  display: flex;
  gap: 20px;
}
#container .wrapper .col-item {
  flex: 1;
}
#container .wrapper .col-item.bg {
  position: relative;
  display: flex;
  justify-content: flex-end;
  height: 500px;
  z-index: 1;
}
#container .wrapper .col-item.bg:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('../images/zodiac-map.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  animation-name: spin;
  animation-duration: 60s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
#container .wrapper .col-item.bg img {
  position: relative;
  top: 20px;
}
#container .wrapper .col-item.motto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
#container .wrapper .col-item .logo {
  width: 120px;
  margin-top: -20px;
}
#container .wrapper .col-item h1 {
  font-weight: 300;
  font-size: 45px;
}
#container .wrapper .col-item h2 {
  font-weight: 300;
  font-size: 20px;
}

#container .wrapper .col-item.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
#container .wrapper .col-item.about .item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}
#container .wrapper .col-item.about .item + .item:before {
  position: absolute;
  content: "";
  background: linear-gradient(90deg, #41c6c5, #5b84fa 46%, #9a41f5);
  width: 100px;
  height: 1px;
  left: calc(50% - 50px);
  top: -15px;
}
#container .wrapper .col-item.about .item .title {
  position: relative;
  background: linear-gradient(90deg, #41c6c5, #5b84fa 46%, #9a41f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  text-align: center;
  font-size: 18px;
  padding: 5px 20px;
}
#container .wrapper .col-item.about .item .text {
  text-align: center;
  line-height: 22px;
  font-weight: 300;
  font-size: 14px;
}


#container .wrapper .col-item.faq {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
#container .wrapper .col-item.faq .item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 10px;
}
#container .wrapper .col-item.faq .item .title {
  align-items: center;
  position: relative;
  background: linear-gradient(90deg, #41c6c5, #5b84fa 46%, #9a41f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  font-size: 16px;
  padding: 5px 0px;
  cursor: pointer;
  text-indent: 20px;
}
#container .wrapper .col-item.faq .item .title:before {
  position: absolute;
  content: "";
  width: 13px;
  height: 13px;
  background-image: url('../images/arrow-right.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  left: 0;
}
#container .wrapper .col-item.faq .item.active .title:before {
  transform: rotate(90deg);
}
#container .wrapper .col-item.faq .item .title:after {
  position: absolute;
  content: "";
  background: linear-gradient(90deg, #41c6c5, #5b84fa 46%, #9a41f5);
  width: calc(100% - 18px);
  height: 1px;
  left: 18px;
  bottom: 0;
}
#container .wrapper .col-item.faq .item .title:hover {
  text-decoration: underline;
}
#container .wrapper .col-item.faq .item .text {
  display: none;
  line-height: 20px;
  font-weight: 300;
  font-size: 14px;
  padding-left: 18px;
}
#container .wrapper .col-item.faq .item.active .text {
  display: block;
}

@keyframes spin {
  from { transform:rotate(0deg); }
  to { transform:rotate(360deg); }
}

@media screen and (max-width: 780px) {
  #container .wrapper {
    flex-direction: column;
  } 
  #container .wrapper .col-item.bg {
    justify-content: center;
    max-height: 300px;
  }
  #container .wrapper.about .col-item.bg,
  #container .wrapper.faq .col-item.bg {
    display: none;
  }
  #container .wrapper .col-item.bg img {
    top: 0;
    height: 100%;
  }
  #container .wrapper .col-item.motto {
    align-items: center;
  }
  #container .wrapper .col-item .logo {
    display: none;
  }
  #container .wrapper .col-item h1 {
    text-align: center;
    font-size: 30px;
  }
  #container .wrapper .col-item h2 {
    text-align: center;
    font-size: 16px;
  }
}