.vessel-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: auto;    
}

.vessel-section div:nth-child(1) {
  align-self:flex-start; 
  padding-right: 30px;
  padding-left: 30px;
  text-align: justify; 
  color: #EB8C23
}


/* Start of AI code  */


.reveal-section {
  position: relative;
  overflow: hidden;
}

.fly-images {
  display: flex;  
  gap: 20px;
  margin-bottom: 20px;
}

.fly {
  width: 300px;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  border-radius: 15px;
  will-change: opacity, transform;
}

.fly.left {
  transform: translateX(-72px);
}

.fly.right {
  transform: translateX(72px);
}

.fly-text {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  will-change: opacity, transform;
}


.fly-text h2,
.fly-text p {
  color:black ;
}

.reveal-section.show .fly {
  opacity: 1;
  transform: translateX(0);
}

.reveal-section.show .fly-text {
  opacity: 1;
  transform: translateY(0);
}

.reveal-section.show .fly:nth-child(1) { transition-delay: 0.1s; }
.reveal-section.show .fly:nth-child(2) { transition-delay: 0.3s; }
.reveal-section.show .fly:nth-child(3) { transition-delay: 0.5s; }


.vessel-section .reveal-section .fly-text h2 {
  color: #EB8C23;
  font-size: clamp(1.4rem, 6.9vw, 1.9rem);
  margin-block: 0.67em;
}

@media (max-width: 768px) {
  .fly {
    width: min(100%, 320px);
    height: auto;
    transform: translateY(14px);
    transition-duration: 0.22s;
  }

  .fly.left,
  .fly.right {
    transform: translateY(14px);
  }

  .fly-text {
    transform: translateY(14px);
    transition-duration: 0.22s;
  }

  .reveal-section.show .fly,
  .reveal-section.show .fly-text {
    transform: translateY(0);
  }

  .reveal-section.show .fly:nth-child(1),
  .reveal-section.show .fly:nth-child(2),
  .reveal-section.show .fly:nth-child(3) {
    transition-delay: 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fly,
  .fly.left,
  .fly.right,
  .fly-text {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
