@import url('/css/contact.css');
@import url('/css/menu.css');
@import url('/css/points.css');
@import url('/css/scrollAFK.css');

* {
  font-family: "Raleway", sans-serif;
  font-style: normal;
  font-weight: 400;
}

body {
  margin: 0;
  overflow: hidden;
}

.zoom-wrapper {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.zoom-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  transform-origin: center 50px;
  will-change: transform, background-position;
  transition: transform 0.3s ease;
  /* transition: transform 0.3s ease, background-position 0.3s ease; */
  z-index: 1;
  display: none;
  transform: perspective(1px);
}

#cielo {
  z-index: 1;
}

#fondo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-image: url('/imgs/fondo.webp');
  background-repeat: repeat;
  transform: scale(1.8);
  will-change: transform, background-position;
  transition: transform 0.3s ease, background-position 0.3s ease;
  backface-visibility: hidden;
}

#porta {
  transition: transform 0.08s ease, background-position 0.08s ease;
}

#nubol {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  will-change: transform, background-position;
  background-image: url('/imgs/nubol.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100vw;
  transform: translateX(10vh) scale(1);
  transition: transform 0.3s ease;
  backface-visibility: hidden;
  z-index: 1;
}


#nubol h2 {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -700%);
  width: max-content;
  font-size: 1.35vw;
}

@media (max-width: 768px) {
  #fondo {
    background-size: 200vh;
  }

  #nubol {
    background-size: 100vh;
  }

  #nubol h2 {
    transform: translate(-60%, -500%);
    font-size: 1rem;
  }
}