#welcome-screen {
  position: fixed;
  inset: 0;
  background: var(--welcome-bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  font-family: var(--geomanist-font);
  transition: opacity 1s ease;
  text-align: center;
}

#welcome-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

#welcome-text {
  font-size: 3rem;
  font-weight: bold;

  background: linear-gradient(
    135deg,
    transparent 0%,
    var(--tertiary-color) 20%,
    transparent 80%
  );
  background-size: 200% 200%;
  background-repeat: no-repeat;
  
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: welcome-stripe-animation var(--welcome-animation-time) ease-in-out 1 forwards;
}

@keyframes welcome-stripe-animation {
  0% {
    background-position: 200% 0;
    -webkit-text-fill-color: transparent;
  }
  50% {
    background-position: 0% 0;
  }
  100% {
    background-position: -200% 0;
    -webkit-text-fill-color: transparent;
  }
}

section.carousel {
    background-color: transparent;
    color: #eee;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.carousel .img {
    z-index: -10;
    visibility: hidden;
    height: 100dvh;
    width: 100dvw;
    position: absolute;
    background-size: cover;
    transition: transform 0.5s ease;
    background-position: center;
}

.carousel .img.active {
    /* visibility: visible; */
    z-index: -9;
}

.carousel .img .sub-img {
    z-index: -10;
    height: 100dvh;
    width: 100dvw;
    position: absolute;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
    visibility: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: scale(1.3);
}

.carousel .img.active .sub-img {
    visibility: visible;
    transform: scale(1.0);
    z-index: -8;
}

.carousel .button {
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background 0.3s ease;
    margin: 0 3rem;
}

.carousel .button:hover {
    transform: scale(1.2);
    background: rgba(0, 0, 0, 0.8);
}

.carousel .button svg {
    fill: white;
    width: 24px;
    height: 24px;
}

