/** Hero Section */

.collage-container {
  position: absolute;
  width: 60%;
  right: 0;
  aspect-ratio: 1200 / 800;
  overflow: hidden;
}

.animated-sequence {
  opacity: 0;

}

.collage-container figure {
  position: absolute;
}


#img-shelve {
  right: 0;
  top: 0;
  width: 45%;
}

#img-shelve-pin {
  width: 10%;
  height: auto;
  right: 19%;
  top: 3%;
}

#grp-forklift {
  position: absolute;
  width: 40%;
  left: 5%;
  top: 10%
}

#img-forklift-pin {
  width: 25%;
  height: auto;
  left: 52%;
}

#img-forklift {
  position: absolute;
  top: 25px;
}

#img-pallets {
  width: 45%;
  right: 25%;
  top: 55%
}

#img-pallets-pin {
  width: 10%;
  height: auto;
  right: 45%;
  top: 45%;
}

#img-machines {
  width: 40%;
  right: 25%;
  top: 0%
}

#img-machine-pin {
  width: 10%;
  right: 40%;
  top: 0%
}

#img-workplace {
  width: 35%;
  right: 0%;
  top: 35%
}

#img-workplace-pin {
  width: 12%;
  right: 13%;
  top: 25%
}

#grp-person {
  position: absolute;
  width: 35%;
  left: 5%;
  top: 20%;
}

#img-person-pin {
  width: 28%;
  left: 50%;
  top: 30%
}

#img-storage {
  width: 50%;
  left: 0;
}

#img-storage-pin-1 {
  width: 10%;
  left: 8%;
  top: 16%;
}

#img-storage-pin-2 {
  width: 10%;
  left: 18%;
  top: 7%;
}

#img-storage-pin-3 {
  width: 10%;
  left: 32%;
  top: 2%;
}

#img-production-hall {
  width: 30%;
  right: 0;
  top: 2%;
}

#img-production-hall-pin {
  width: 10%;
  left: 81%;
  top: 0;
}

#img-vehicle {
  width: 30%;
  left: 20%;
  top: 50%;
}

#img-vehicle-pin {
  width: 10%;
  left: 30%;
  top: 50%;
}

#img-outdoor-storage {
  width: 30%;
  top: 30%;
  left: 50%;
}

#img-outdoor-pin {
  width: 10%;
  top: 28%;
  left: 61%;
}


.carousel-item img.sm {
  width: 50px;
  height: 50px;
}

.carousel-item img.md {
  width: 75px;
  height: 75px;
}

/** Features Section */

.features-symbol {
  width: 25%;
  align-self: center;
}

#factory-scene-image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

#factory-scene-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

#factory-scene-image-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, black 5%, transparent 15%),
    linear-gradient(to bottom, black 5%, transparent 15%),
    linear-gradient(to left, rgba(0, 0, 0, 1) 0%, transparent 20%),
    linear-gradient(to right, rgba(0, 0, 0, 1) 0%, transparent 20%);
}

/** Industry Section */

.industry-box {
  background-color: rgba(0, 0, 0, 0.8);
}

@media (min-width: 1200px) {
  #industries-desktop .wp-block-group {
    gap: 2rem;
  }

  #industries-mobile {
    display: none;
  }

  .industry-box {
    height: 18rem;
    z-index: 2;
  }

  #industry-automotive,
  #industry-electronics {
    margin-top: 10rem;
  }

  #industry-textblock {
    margin-top: 3rem;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
  }

  #industry-textblock p {
    position: relative;
    text-align: center;
  }

  #glowing-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  #glowing-circle .inner-circle {
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 2rem #fff8;
  }

  #glowing-circle::before,
  #glowing-circle::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: inherit;
    inset: 10px;
    background-image: conic-gradient(#00dbde, #fc00ff, #00dbde);
    animation: rotate 5s linear infinite;
  }

  #glowing-circle::after {
    filter: blur(2rem);
    opacity: 0.7;
  }

  @keyframes rotate {
    to {
      rotate: 360deg;
    }
  }
}

@media (max-width: 1200px) {
  #industries-desktop {
    display: none;
  }

  #industries-mobile {
    gap: 2rem;
  }

  #glowing-circle {
    display: none;
  }
}

/** Screenshot Carousel */

.dy-carousel-outer {
  width: 100%;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

.dy-carousel-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2vw;
  padding: 2rem 0;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.dy-carousel-track::-webkit-scrollbar {
  display: none;
}

.dy-carousel-item {
  flex: 0 0 auto;
  height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
}

.dy-carousel-item img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 0 2rem #0003;
  background: #fff;
}

.dy-carousel-track::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background:
    linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, transparent 5%),
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, transparent 5%);
}

@media (max-width: 768px) {
  .dy-carousel-track::after {
    background:
      linear-gradient(to left, rgba(0, 0, 0, 1) 0%, transparent 3%),
      linear-gradient(to right, rgba(0, 0, 0, 1) 0%, transparent 3%);
  }

  .dy-carousel-item {
    height: 10rem;
  }
}

/** Media Queries for Hero */

@media (min-width: 768px) {

  #animated-collages::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.0) 80%);
    pointer-events: none;
    z-index: 1;
  }

  #animated-collages img {
    display: block;
    position: relative;
    z-index: 0;
  }
}


#animated-text-blocks {
  z-index: 2;
  width: 80%;
}

@keyframes subtle-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.bouncing {
  animation: subtle-bounce 2s ease-in-out 0s infinite;
  will-change: transform;
}

@media (max-width: 768px) {
  #animated-collages {
    position: relative;
  }

  #animated-text-blocks {
    position: relative;
    min-height: 22rem;
  }

  .collage-container {
    position: static;
    width: 100%;
    left: 0;
  }

  #animated-text-blocks {
    width: 100%;
  }

}