/* css.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: black;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.black-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0;
  transition: opacity 0.1s ease; /* Smooth fade-in */
  z-index: 10; /* Ensure it covers everything */
  pointer-events: none; /* Allow clicks to pass through */
}


.image-container {
  position: relative;
  max-width: 1440px;
  width: 100%;
  height: 150vh;
}

.image {
  position: absolute;
  top: -10vh;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.1s ease;
}

.house-image1 {
  background-image: url('../images/House1.webp');
  opacity: 1; /* Start as visible */
  z-index: 1;
}

.person {
  position: relative;
  background-image: url('../images/person.webp'); /* Ensure correct path */
  opacity: 1; /* Make sure it's visible */
  z-index: 2;
  left: -25px;
  transition: left 1s ease-out;
}

.house-image3 {
  background-image: url('../images/House3.webp');
  opacity: 0; /* Start hidden */
  z-index: 4;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

.zoom-animation {
  animation: slowZoom 30s infinite linear;
}


#arr {
  width: 20%;
  height: auto;
  position: relative;
  top: -130px;
  left: 60px;
  z-index: 20;
}
