/* body,
html {
  margin: 0;
  padding: 0;
  background-color: #111;
  overflow-x: hidden;
} */

.section-panel {
  /* height: 100vh; */
  z-index: 1;
  position: relative;

  /* height: calc(100vh - 100px);
  margin-top: 100px;

  @media only screen and (max-width : 1081px) {
    height: calc(100vh - 60px);
    margin-top: 60px;
  } */


  height: calc(100vh);
  padding-top: 100px;

  @media only screen and (max-width : 1081px) {
    height: calc(100vh);
    padding-top: 60px;
  }

  p {
    font-weight: 600;
  }
}

#landing-sequence-container {
  overflow: hidden;
  height: 100vh;
}

#image-sequence-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  /* Ensure it stays behind the text */
  overflow: hidden;
  transition: background-color 1s ease-in-out;
  background-color: #d5bfab;

  /* Header */
  height: calc(100vh - 100px);
  margin-top: 100px;

  @media only screen and (max-width : 1081px) {
    height: calc(100vh - 60px);
    margin-top: 60px;

  }
}

.video-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  bottom: 0;
  transition: height 1s ease-in-out;
  /* Make sure the image covers the whole screen */
}

@media only screen and (min-width : 1081px) {
  .hide-on-desktop {
    display: none;
  }
}

@media only screen and (max-width : 1081px) {
  .hide-on-mobile {
    display: none;
  }
}

@media only screen and (max-width : 1081px) {
  #image-sequence-container.is-minimized {
    background-color: #d5bfab;

    .video-frame {
      height: 70%;
    }
  }

  .section-panel * {
    color: white !important;
  }
}

#image-sequence-container.is-minimized.section-1 {
  background-color: #d5bfab;

  .video-frame {
    height: 75%;
  }
}

#image-sequence-container.is-minimized.section-2 {
  background-color: #d1bba7;

  .video-frame {
    height: 80%;
  }
}

#image-sequence-container.is-minimized.section-3 {
  background-color: #1a004b;
  transition: background-color 1s ease-in-out;
  transition-delay: 2s;

  .video-frame {
    height: 70%;
  }
}


#sections-scroll-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* overflow-y: scroll; */
  overflow: hidden;
}

.text {
  position: absolute;
  font-size: 3rem;
  color: white;
  opacity: 1;
  /* Start with text hidden */
  z-index: 1;
}

.scroll-to-bottom-button {
  position: fixed;
  right: 32px;
  bottom: 32px;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  cursor: pointer;

  img {
    height: 40px;

    @media only screen and (min-width : 1081px) {
      height: 48px;
    }
  }
}

.scroll-to-bottom-button.is-hidden {
  opacity: 0;
  user-select: none;
  pointer-events: none;
}