/* Make sure the content is initially hidden */
  /* When the animation is complete, reveal the content */
  .content.show {
    opacity: 1;
  }
  
  body {
    background-color: #1A3FBC;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh; /* Memastikan body memenuhi tinggi viewport */
    display: flex; /* Menggunakan Flexbox untuk penataan */
    justify-content: flex-start; /* Pemisahan di sisi kiri */
    align-items: center; /* Memposisikan di tengah vertikal */
    padding-left: 2%; /* Memberikan padding di sisi kiri */
  }

  .cursor, .hand {
    position: fixed;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.1s;
  }
  
  .cursor {
    background: #00ddff;
    top: 0;
    width: 20px;
    height: 20px;
    z-index: 999;
  }
  
  .hand {
    background: #0b0b0b;
    top: 50%;
    width: 150px;
    height: 150px;
    z-index: 9999;
    display: grid;
    place-content: center;
    transform: rotate(45deg);
    opacity: 0;
  }
  .hand svg {
    width: 80px;
  }

  /* Transition container style: full screen with pink background */
  .transition-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 10;
    pointer-events: none;
  }
  
  /* Style for individual transition tiles */
  .transition-container span {
    position: relative;
  }
  
  .transition-container.from-right {
    flex-direction: column;
  }
  
  /* Make the tiles cover the screen in pink */
  .transition-container.from-right span {
    background: #BF1070; /* Pink color for the tiles */
    height: 100%;
    width: 0%; /* Start with 0% width for the tiles */
  }
  
  /* Ensuring the main content is centered */
  .main.text {
    text-align: center;
    z-index: 1;
  }
  
  section {
    height: 100vh;
    padding: 0 clamp(4rem, 12vw, 20rem);
    display: grid;
    place-content: center;

  }


  .slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .slider-wrapper {
    position: absolute;
    top: 0;
    width: 8000px;
    padding: 0 600px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 100px;
  }
  
  
  .slide {
    width: auto;
    height: 500px;
    background: #e3e3e3;
    cursor: pointer;
  }

  /* Default image visibility */
.hover-image {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.original-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

/* On hover, show hover-image and hide the original image */
.slide:hover .hover-image {
  display: block;
  opacity: 1;
}

.slide:hover .original-image {
  opacity: 0;
}
  
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  

/* Positioning the main text on the left side with balanced padding */
.main.text {
  padding-left: 30px;
  font-family: "Funnel Display", serif;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  opacity: 1;
  color: #ffffff;
  text-align: left;
  max-width: 80vw;
  white-space: nowrap;
  line-height: 3vw;
  z-index: -1; /* Ensures it's behind other elements */
}

h1 {
	line-height: 2vw;
  font-size: 3.2vw;
  margin: 0;
  color: #ffffff;
  z-index: -1; /* Ensures it is behind other elements */
}

/* Adjustments for smaller screens */
@media (max-width: 600px) {
  h1 {
      top: 50%;
      font-size: 8vw;
      line-height: 6.8vw;
      z-index: -1; /* Ensures it is behind other elements */
  }
}

/* Adjustments for medium screens (tablet, smaller laptops) */
@media (min-width: 601px) and (max-width: 1024px) {
  h1 {
      top: 50%;
      font-size: 6vw; /* Adjust font size for medium screens */
      line-height: 5vw; /* Adjust line height */
      z-index: -1; /* Ensures it is behind other elements */
  }
}

/* Adjustments for larger screens (desktops, large laptops) */
@media (min-width: 1025px) {
  h1 {
    font-size: 3.7vw; /* Adjust font size for larger screens */
    line-height: 3.4vw; /* Adjust line height */
    top: 50%; /* Keep text vertically centered */
  
    z-index: -1; /* Keeps the text behind other elements */
  }
}

.container-image {
  position: absolute; 
  top: 10%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  opacity: 1; 
  z-index: 10; 
  z-index: 1;

  /* Atur ukuran dengan max-width */
  max-width: 100px; /* Ukuran maksimum */
  height: auto; /* Jaga agar proporsi tetap */
}

.marquee {
  position: fixed;
  left: 0; /* Align to left */
  right: 0;
  bottom: 0;
  background: #0f0f0f;
  color: #eee;
  padding: 10px 0;
  font-weight: 600;
  font-size: 20px;
  overflow: hidden;
  z-index: 10000;
  height: 60px;
  width: 100%;
  box-sizing: border-box;
}

.marquee {
  position: fixed; /* Sticks to the bottom */
  left: 0; /* Align to left */
  right: 0; /* Align to right */
  bottom: 0; /* Attach to bottom */
  background: #0f0f0f;
  color: #BF1070;
  padding: 10px 0; /* Adjust padding */
  font-weight: 600;
  font-size: 20px; /* Default font size */
  overflow: hidden;
  z-index: 1000; /* Ensure it appears above other content */
}

.marquee__inner {
  display: flex;
  width: fit-content;
  flex: auto;
  flex-direction: row;
  align-items: center;
  padding-bottom: 5px;
}

.marquee__part {
  font-family: "Funnel Display", serif;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 4px;
}

.arrow {
  width: auto;
  height: 40px;
  margin: 0 1em;
  transform: rotate(90deg);
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  align-items: center;

}

.arrow.active {
  transform: rotate(-90deg);
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}


.text h1 {
    font-size: 2em;
    margin: 0;
}

/* Mobile Styles */
@media (max-width: 600px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }
}