html, body {
  overflow-x: hidden;
}

body {
  background: url('images/bg_grey_texture.jpg') center / cover repeat #000000;
  position: relative;
  min-height: 100dvh;
}

.header {
  position: relative;
  background-color: #CE4327;
  height: 40px;
}
.header .logo {
  position: relative;
  top: 5px;
  left: 20px;
  width: 150px;
  z-index: 4;
}

@media(max-width: 400px) {
  .header {
    text-align: center;
  }
  .header .logo {
    left: unset;
  }
}

.header-topper img,
.page-bottom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.header-topper {
  position: absolute;
  top: 40px;
  height: 53px;
  z-index: 3;
}

.page-bottom {
  position: absolute;
  bottom: 0;
  height: 84px;
  z-index: 3;
}

.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60svh;
  position: relative;
}

/* Full height on large screens */
@media (min-width: 992px) {
  .tile { height: 100dvh; }
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
    var(--bg);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.pumpkin-festival .tile::before {
  /* Apply mask to only middle column on larger screens */
  mask-image: url('/images/img-mask.svg');
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
  margin-left: -15px;
  margin-right: -15px;
  z-index: 2;
}

@media (max-width: 992px) {
  /* Apply mask to all columns on smaller screens */
  .tile::before {
    mask-image: url('/images/img-mask.svg');
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center;
  }
}

@media (max-width: 992px) {
  .tile {
    min-height: auto;
    aspect-ratio: 6 / 4;
  }
}

.tile-logo {
  position: relative;
  z-index: 2;
  height: auto;
  width: 40%;
  display: block;
  pointer-events: none;
}

@media (max-width: 1300px) {
  .tile-logo {
    width: 50%;
    height: auto;
  }
}

@media (max-width: 992px) {
  .tile-logo {
    width: auto;
    height: 50%;
  }
}

@media (max-width: 992px) {
  /* Make room for page topper and bottom on smaller screens */
  .shocktober .tile {
    margin-top: 15px;
  }
  .pumpkin-nights .tile {
    margin-bottom: 84px;
  }
}