/*=Work=*/

:root {
  --switch-duration: 0.5s;
}

.main-frame {
  position: relative;
  display: flex;
  border: var(--main-frame-border);
  border-image: var(--main-frame-border-image);
  box-shadow: var(--main-frame-shadow);
  grid-area: 2 / 2 / 6 / 9;
  align-items: center;
  justify-content: center;
}

#scroll-indicator,
#scroll-indicator-start {
  content: "Scroll";
  
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 4%;
  left: 2.5%;
  justify-content: center;
  align-items: center;
  z-index: -1;

  font-family: var(--simonetta-font);
  color: var(--text-color-light);
  font-size: var(--font-32-size);
  white-space: nowrap;
  text-align: center;
}

#scroll-indicator-start {
  display: flex;
  opacity: 1;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
}

#swipe-background {
  display: block;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: #000000a2;
  z-index: 3;
}

#background-image {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -20;
  overflow: hidden;
}

#background-image img {
  opacity: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.25s ease-in-out;

  will-change: opacity;
}

/* Media !!! REMOVE */
@media (orientation: portrait) {
  .main-frame {
    flex-direction: column;
  }
}