
@property --bg_rotation {
  syntax: '<number>'; /* <- defined as type number for the transition to work */
  initial-value: 0;
  inherits: false;
}

#splash{
  position: fixed;
  inset:0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #e0292c;
  background-image: linear-gradient(calc(1deg * var( --bg_rotation)), #e0292c, #f9bb39);
  animation: animatedBg 15s linear infinite;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color:white;
  z-index: 9999;

}

#splash video{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;


}

#splash video.loaded{
  animation: fadeIn 1s ease-in-out forwards;
}

#splash .logos{
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 20vh;
  overflow: hidden;
  filter: brightness(0) saturate(100%) invert(58%) sepia(99%) saturate(5%) hue-rotate(15deg) brightness(106%) contrast(91%);
}

#splash .logos-track{
  display: flex;
  gap: 20px;
  width: max-content;
  animation: logosMarquee var(--marquee-duration, 25s) linear infinite;
  will-change: transform;
}

#splash .logos-set{
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

#splash .logos-set img{
  max-height: 3em;
  flex-shrink: 0;
}

@keyframes logosMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #splash .logos-track {
    animation: none;
  }
}

#splash .annaLogo, #splash .vabw{
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(2rem);
  animation: showMainLogo .5s ease-in-out forwards;
  animation-delay:.2s;
}
#splash .vabw{
  animation-delay: .5s;
}
@keyframes showMainLogo {
  to {
    opacity: 1;
    transform: translateY(0px);
  }

}
#splash .annaLogo img, #splash .vabw img{
  max-width: 20rem;
  width: 65%;
  margin-bottom: 1rem;

}
#splash .vabw img{
  max-width: 18rem;
  width: 60%;

}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

#splash.hidden{
  opacity:0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
}
@keyframes animatedBg {
  0%{--bg_rotation:20;}
  100%{--bg_rotation:380;}
}