/* ANIMATION */

.spinning-cog {
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;

  animation-name: spin;
  animation-duration: 6000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear; 
}
@keyframes spin {
  from {
      transform:rotate(0deg);
  }
  to {
      transform:rotate(-360deg);
  }
}



@-webkit-keyframes move-dot1 {
  100% {
    transform: translateX(-50%) translateY(-50%);
  }
  80% {
    transform: translateX(-50%) translateY(30%);
  }
  0% {
    transform: translateX(-50%) translateY(30%);
  }
}
@keyframes move-dot1 {
  100% {
    transform: translateX(-50%) translateY(-50%);
  }
  80% {
    transform: translateX(-50%) translateY(30%);
  }
  0% {
    transform: translateX(-50%) translateY(30%);
  }
}
@-webkit-keyframes move-dot2 {
  100% {
    transform: translateX(-50%) translateY(-50%);
  }
  85% {
    transform: translateX(-50%) translateY(-10%);
  }
  70% {
    transform: translateX(-10%) translateY(-10%);
  }
  0% {
    transform: translateX(-10%) translateY(-10%);
  }
}
@keyframes move-dot2 {
  100% {
    transform: translateX(-50%) translateY(-50%);
  }
  85% {
    transform: translateX(-50%) translateY(-10%);
  }
  70% {
    transform: translateX(-10%) translateY(-10%);
  }
  0% {
    transform: translateX(-10%) translateY(-10%);
  }
}
.animation-example {
  max-height: 400px;
  max-width: 400px;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  height: 90vmin;
  width: 90vmin;
}
.animation-example > .item {
  position: absolute;
  top: 0;
  left: 50%;
  height: 50%;
  width: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  pointer-events: none;
}
.animation-example > .item:nth-child(2) {
  transform: translateX(-50%) rotate(90deg);
}
.animation-example > .item:nth-child(3) {
  transform: translateX(-50%) rotate(180deg);
}
.animation-example > .item:nth-child(4) {
  transform: translateX(-50%) rotate(270deg);
}
.animation-example > .item > .line {
  height: 100%;
  width: calc(50% + 1px);
  border-right: 2px dashed rgb(148 163 184);
}
.animation-example > .item > .dot {
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%) translateY(-50%);
  height: 100%;
  width: 100%;
  -webkit-animation: move-dot1 5.5s linear infinite;
          animation: move-dot1 5.5s linear infinite;
}
.animation-example > .item > .dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  height: 5%;
  width: 5%;
  background: #fff;
  border: 2px solid rgb(148 163 184);
  border-radius: 50%;
}
.animation-example > .item > .circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 20%;
  width: 20%;
  border-radius: 50%;
}
.animation-example > .item.-type2 {
  top: 0;
  left: 0;
  transform: none;
  transform-origin: 100% 100%;
}
.animation-example > .item.-type2:nth-child(5) {
  transform: scaleX(-100%);
}
.animation-example > .item.-type2:nth-child(6) {
  transform: scaleX(-100%) scaleY(-100%);
}
.animation-example > .item.-type2:nth-child(7) {
  transform: scaleY(-100%);
}
.animation-example > .item.-type2 > .line {
  position: absolute;
  top: 40%;
  left: calc(40% - 1px);
  width: 70%;
  height: 40%;
  border-right: none;
  border-left: 2px dashed rgb(148 163 184);
  border-bottom: 2px dashed rgb(148 163 184);
}
.animation-example > .item.-type2 > .dot {
  top: 40%;
  left: 40%;
  -webkit-animation: move-dot2 4s linear infinite;
          animation: move-dot2 4s linear infinite;
}
.animation-example > .item.-type2 > .circle {
  top: 40%;
  left: 40%;
  transform: translateX(-50%) translateY(-50%);
}
.animation-example > .item:nth-of-type(1) > .dot {
  -webkit-animation-delay: 0;
          animation-delay: 0;
}
.animation-example > .item:nth-of-type(7) > .dot {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
.animation-example > .item:nth-of-type(2) > .dot {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.animation-example > .item:nth-of-type(6) > .dot {
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
}
.animation-example > .item:nth-of-type(3) > .dot {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.animation-example > .item:nth-of-type(5) > .dot {
  -webkit-animation-delay: 2.5s;
          animation-delay: 2.5s;
}
.animation-example > .item:nth-of-type(4) > .dot {
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}
.animation-example > .item:nth-of-type(8) > .dot {
  -webkit-animation-delay: 3.5s;
          animation-delay: 3.5s;
}
.animation-example > .center {
  max-height: 140px;
  max-width: 140px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  height: 50%;
  width: 50%;
}
.animation-example > .center > .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 50%;
}
.animation-example > .center > .circle:nth-child(1) {
  height: 100%;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 3vmin rgba(0, 0, 0, 0.1);
}
.animation-example > .center > .circle:nth-child(2) {
  height: 80%;
  width: 80%;
  border: 2px solid rgb(148 163 184);
}
.animation-example > .center > .circle:nth-child(3) {
  height: 50%;
  width: 50%;
  background: rgb(148 163 184);
}



/* ANIMATION */
@keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

@-webkit-keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both
}

.animatedFadeInUp {
  opacity: 0
}

.fadeInUp {
  opacity: 0;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}


 /* Hide arrow glyph */
 details > summary {
  list-style: none;
  cursor: pointer;
}

/* Hide arrow glyph in Safari */
details > summary::-webkit-details-marker {
    display: none;
}
