/* JDD Software loading screen (CSS only, no images) */

.app-loading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 10em;
}

.app-loading p {
  display: block;
  font-size: 2rem;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: normal;
}

.jdd {
  display: grid;
  column-gap: 10px;
  width: 50%;
  grid-template-columns: repeat(3, 1fr);
  color: white;
  font-family: sans-serif;
  line-height: 1;
  font-weight: 900;
  z-index: 1000;
}

.jdd > div {
  display: flex;
  aspect-ratio: 1/1;
  justify-content: center;
  align-items: center;
  font-size: 15vw;
}

.jdd > div.software {
  aspect-ratio: 0/0;
  display: flex;
  font-size: 7vw;
  font-weight: 900;
  grid-column: span 3;
  color: darkgray;
  letter-spacing: 1vw;
  text-align: center;
  opacity: 0;
  animation: op 250ms ease-in 500ms 1 normal forwards;
  z-index: 1000;
}

.jdd > div.software > div {
  position: relative;
}

.jdd > div.software > div span {
  color: #fff;
  position: absolute;
  transform: translate(-50%, 0%);
}

.jdd > div.software > div span:nth-child(1) {
  color: #777;
  -webkit-text-stroke: 2px #666;
}

.jdd > div.software > div span:nth-child(2) {
  color: #999;
  animation: animate 2s ease-in-out infinite;
}

.red {
  background-color: #e80000;
  opacity: 0;
  animation: op 250ms ease-in 0s 1 normal forwards;
}

.yellow {
  background-color: #efef00;
  opacity: 0;
  animation: op 250ms ease-in 125ms 1 normal forwards;
}

.blue {
  background-color: #0000ec;
  opacity: 0;
  animation: op 250ms ease-in 250ms 1 normal forwards;
}

@keyframes op {
  100% {
    opacity: 1;
  }
}

@keyframes animate {
  0%,
  100% {
    clip-path: polygon(0% 45%, 16% 44%, 33% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%);
  }

  50% {
    clip-path: polygon(0% 60%, 15% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%);
  }
}
