html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;


  display: flex;
      flex-direction: column;
      min-height: 100vh;
}

main {
      flex: 0.9;
    }

.slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 16s infinite;
}

.slide:nth-child(1) {
  background-image: url('realtor/images/YOKOHAMA.jpg'); /* Replace with actual image path */
  animation-delay: 0s;
}

.slide:nth-child(2) {
  background-image: url('realtor/images/ZHONGSHAN.jpg');
  animation-delay: 4s;
}

.slide:nth-child(3) {
  background-image: url('realtor/images/HK.jpg');
  animation-delay: 8s;
}

.slide:nth-child(4) {
  background-image: url('realtor/images/SYDNEY.jpg');
  animation-delay: 12s;
}


@media screen and (min-width: 769px) {
  .slide:nth-child(1) {
    background-image: url('realtor/images/YOKOHAMA-Desktop.jpg');
  }

.slide:nth-child(2) {
  background-image: url('realtor/images/ZHONGSHAN-Desktop.jpg');
  animation-delay: 4s;
}

.slide:nth-child(3) {
  background-image: url('realtor/images/HK-Desktop.jpg');
  animation-delay: 8s;
}

.slide:nth-child(4) {
  background-image: url('realtor/images/SYDNEY-Desktop.jpg');
  animation-delay: 12s;
}
}










@keyframes fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  25%  { opacity: 1; }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}

.content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  font-size: 2em;
  text-shadow: 0 0 10px black;
  /* padding-top: 20%; */
}

a:link    { color: white; }    /* Unvisited */
a:visited { color: orange; }  /* Visited */
a:hover   { color: white; }     /* When hovered */
a:active  { color: orange; }  /* When clicked */




 footer {
   text-align: center; font-size: 0.5em; color:white;  
  }



/* .message {
  backdrop-filter: blur(6px);
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);

  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  display: inline-block;
} */
