
body {
    margin: 0;
    height: 100vh;
    overflow: auto;
    color: white;
    opacity: 0;
    transition: opacity 0.6s ease;
    scroll-behavior: smooth;
}
body.loaded {
    opacity: 1;
}
.slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* behind everything */
}

.slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}

.slideshow::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* darken */
    z-index: 1;
}

.card-container {
  display: flex;
  justify-content: center;   /* center cards horizontally */
  align-items: flex-start;   /* align from the top */
  flex-wrap: wrap;           /* allow wrapping on smaller screens */
  gap: 80px;                 /* equal spacing between cards */
  padding: 150px 20px;       /* top margin + side padding */
  box-sizing: border-box;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  width: 272px;
  box-shadow: 2px 7px 13px 0px rgba(0,0,0,0.2);
  overflow: hidden;
  border: 1px solid #000000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-10px); /* lift the card up */
  box-shadow: 4px 12px 20px rgba(0,0,0,0.3); /* stronger shadow */
}


.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 16px;
  backdrop-filter: blur(10px);
  font-family: "Fira Code", monospace;
}

.card-link {
  color: white;
  text-decoration: none;
}
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 100;
    font-family: "Edu NSW ACT Cursive", cursive;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
    z-index: -1;
}

.slide-button {
  position: fixed;
  top: 20px;       /* spacing from top */
  left: -80px;     /* hidden to the left */
  transition: left 0.4s ease;
  z-index: 1000;   /* stay above content */
}

.slide-button button {
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background: #333;
  color: #fff;
  cursor: pointer;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.2);
  font-family: "Edu NSW ACT Cursive", cursive;
}
.trigger-zone {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;   /* area to detect hover */
  height: 60px;
  z-index: 900;
}
/* When user hovers near top-left area */
body.show-button .slide-button {
  left: 20px;

}




