body {
  margin: 0;
  padding: 0;
  overflow-x: scroll;
  height: 100%;
  background-color: #000000;
}

.sections-container {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  height: 110vh;
  width: 100%;
}

.section-link {
  flex: 0 0 auto;
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 24px;
  font-family: Arial, sans-serif;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: filter 0.5s;
  position: relative;
  cursor: pointer;
}

/*grayscale*/
.section-link {
  filter: grayscale(100%);
  transition: filter 0.5s, transform 0.3s;
}

.sections-container:hover .section-link {
  filter: grayscale(100%);
}

.sections-container:hover .section-link:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
  z-index: 2;
}

/*zoom transition*/
.zoom-in {
  transform: scale(1.1);
  transition: transform .4s ease;
}

/* Only applied on mobile tap */
.section-link.active-touch {
  filter: grayscale(0%);
  transform: scale(1.05);
  z-index: 2;
}

/* Background images per section */
.bg1 { background-image: url("mountain.jpg"); }
.bg2 { background-image: url("river.jpg"); }
.bg3 { background-image: url("desert.jpg"); }
.bg4 { background-image: url("ocean.jpg"); }
.bg5 { background-image: url("cave.jpg"); }
.bg6 { background-image: url("rainforest.jpg"); }

.text-overlay {
  z-index: 1;
  text-align: center;
  padding: 10px 15px;
  border-radius: 10px;
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  
}

@media (max-width: 1024px) {
  .sections-container {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
  }

  .section-link {
    width: 100%;
    height: 200px;
    overflow-x: hidden;
  }
}


.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  background-color: #000000;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #ffffff;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
