.accordion .transition,
ul li i:before,
ul li i:after, p {
  transition: all 0.25s ease-in-out;
}

.accordion.flipIn,
.accordion ul li {
  animation: flipdown 0.5s ease both;
}

.accordion.no-select {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/*
.accordion h2 {
  color: #ff6873;
}

.accordion h2 {
  font-size: 26px;
  line-height: 34px;
  font-weight: 300;
  letter-spacing: 1px;
  display: block;
  background-color: #fefffa;
  margin: 0;
  cursor: pointer;
}
*/
.accordion p {
  position: relative;
  overflow: hidden;
  max-height: 800px;
  opacity: 1;
  transform: translate(0, 0);
  margin-top: 14px;
  z-index: 2;
}

.accordion ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}
.accordion ul li {
  position: relative;
  padding: 0;
  margin: 0;
  padding-bottom: 4px;
  padding-top: 18px;
  border-top: 1px dotted var(--black20);
}
.accordion ul li:nth-of-type(1) {
  animation-delay: 0.5s;
}
.accordion ul li:nth-of-type(2) {
  animation-delay: 0.75s;
}
.accordion ul li:nth-of-type(3) {
  animation-delay: 1s;
}
.accordion ul li:nth-of-type(4) {
  animation-delay: 1.25s;
}
.accordion ul li:nth-of-type(5) {
  animation-delay: 1.5s;
}
.accordion ul li:nth-of-type(6) {
  animation-delay: 1.75s;
}
.accordion ul li:nth-of-type(7) {
  animation-delay: 2.0s;
}
.accordion ul li:nth-of-type(8) {
  animation-delay: 2.25s;
}
.accordion ul li:nth-of-type(9) {
  animation-delay: 2.5s;
}
.accordion ul li:nth-of-type(10) {
  animation-delay: 2.75s;
}
.accordion ul li:nth-of-type(11) {
  animation-delay: 3.0s;
}
.accordion ul li:nth-of-type(12) {
  animation-delay: 3.25s;
}
.accordion ul li:nth-of-type(13) {
  animation-delay: 3.5s;
}
.accordion ul li:nth-of-type(14) {
  animation-delay: 3.75s;
}
.accordion ul li:nth-of-type(15) {
  animation-delay: 4.0s;
}
.accordion ul li:nth-of-type(16) {
  animation-delay: 4.25s;
}
.accordion ul li:nth-of-type(17) {
  animation-delay: 4.5s;
}
.accordion ul li:nth-of-type(18) {
  animation-delay: 4.75s;
}
.accordion ul li:nth-of-type(19) {
  animation-delay: 5.0s;
}
.accordion ul li:nth-of-type(20) {
  animation-delay: 5.25s;
}
.accordion ul li:last-of-type {
  padding-bottom: 0;
}
.accordion ul li i {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 16px;
  right: 0;
}
.accordion ul li i:before,
.accordion ul li i:after {
  content: "";
  position: absolute;
  background-color: var(--black);
  width: 3px;
  height: 9px;
}
.accordion ul li i:before {
  transform: translate(-2px, 0) rotate(45deg);
}
.accordion ul li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}
.accordion ul li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}
.accordion ul li input[type=checkbox]:checked ~ p {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
}
.accordion ul li input[type=checkbox]:checked ~ i:before {
  transform: translate(2px, 0) rotate(45deg);
}
.accordion ul li input[type=checkbox]:checked ~ i:after {
  transform: translate(-2px, 0) rotate(-45deg);
}

@keyframes flipdown {
  0% {
    opacity: 0;
    transform-origin: top center;
    transform: rotateX(-90deg);
  }
  5% {
    opacity: 1;
  }
  80% {
    transform: rotateX(8deg);
  }
  83% {
    transform: rotateX(6deg);
  }
  92% {
    transform: rotateX(-3deg);
  }
  100% {
    transform-origin: top center;
    transform: rotateX(0deg);
  }
}