* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  font-family: "Manrope", sans-serif;
  overflow: hidden; /* Changed to hidden to prevent scrollbars */
}

img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
  color: #000;
  width: 50px;
  height: 50px;
  display: flex; /* Kept flex */
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

nav {
  position: fixed;
  width: 100%;
  padding: 2em;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  mix-blend-mode: difference;
  color: #fff;
  font-weight: 500;
}

.container {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.overly {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Background Color/Marquee Wrappers */
.marquee-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Default hidden state */
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

/* Colors for each slide background */
.t1 {
  background: #fff;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 100%,
    0% 100%
  ); /* First one visible */
}
.t2 {
  background: #c4bca9;
}
.t3 {
  background: #fff;
}
.t4 {
  background: #aaaaa9;
}

h1 {
  position: absolute;
  top: 50%;
  left: -100%; /* Start off screen */
  transform: translateY(-50%);
  text-align: center;
  font-size: 15vw; /* Responsive font size */
  font-weight: 400;
  white-space: nowrap;
  text-transform: uppercase;
  animation: marquee 20s linear infinite;
  opacity: 0.1; /* Slight fade so it's not too distracting */
  color: #000;
}

@keyframes marquee {
  0% {
    transform: translate(0%, -50%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

.model {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; /* Adjusted size */
  height: 600px;
  z-index: 5;
}

.model-images {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.img {
  position: absolute;
  height: 100%;
  width: 100%;
  /* Default hidden state for images */
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);

}

/* Force first image visible */
#t-1 {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.info {
  margin-top: 20px;
  color: #000;
}

.name {
  font-size: 1.5rem;
  font-weight: bold;
}

.role {
  font-size: 1rem;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .model {
    width: 90%;
    height: auto;
  }
}
