* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.slide {
  width: 100%;
  min-height: 100vh;
  height: auto;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  position: relative;

  /* Grid setup */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: 2rem;

  scroll-snap-align: start;
}

/* Dark overlay */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* All items sit above the overlay */
.slide > * {
  position: relative;
  z-index: 1;
  color: white;
}

/* Assign a different image to each slide */
#slide-1 { background-image: url('../images/ghosts.jpg'); }
#slide-2 { background-image: url('../images/main.jpg'); }
#slide-3 { background-image: url('../images/daisies.jpg'); } 
#slide-4 { background-image: url('../images/darkwater.jpg'); } 
#slide-5 { background-image: url('../images/background.jpg'); } 

/* --- Positioned item styles --- */

.item-top-left {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;

  /* stack children vertically */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-top-center {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  /* stack children vertically */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-top-right {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: end;
    /* stack children vertically */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-center-left {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  /* stack children vertically */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-center-center {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  /* stack children vertically */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-center-images {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1rem;
}

.item-center-right {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  /* stack children vertically */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-bottom-left {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  justify-self: start;
  /* stack children vertically */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-bottom-center {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  justify-self: center;
  /* stack children vertically */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-bottom-right {
  grid-column: 3;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  /* stack children vertically */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Logo */
.logo-box {
    position: fixed;
    top: 2%;
    right: 2%;
    text-align: right;
    z-index: 96;
}

.logo {
    width: 20%;
}

.flat-button {
    color: white; /* White text */
    border: thin;
    border-style: solid;
    border-color: white;
    background-color: black;
    cursor: pointer; /* Add a pointer cursor */
    transition: border 0.3s ease-in-out; /* Smooth hover effect */
    font-family: 'Bahnschrift Light';
    text-shadow: none;
    Width: 100px;
    text-align: center;
    object-position: center center;
    margin-right: 20%;
    text-decoration: none;
}

.flat-button:hover {
    box-shadow: 4px 4px white;
    color: white;
    text-shadow: white;
}

.flat-button:focus {
    outline: none;
}
.flat-button a {
    text-decoration: none;
}

    
.vid-button {
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.vid-button:hover {
    box-shadow: 0px 2px white;
}

/* .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
} */

.release-img {
    width: 22vw;
    height: auto; /* Maintain aspect ratio */
    border: 0;
    object-fit: cover;
}

