html,
body {
  width: 100vw;
  height: 100vh;
  
  margin: 0;
  padding: 0;

  font-family:
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif;

  overflow: hidden;

  display: flex;
  flex-direction: column;
}

/* =========================================================
   FONDO
========================================================= */

.background {
  position: fixed;

  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  overflow: hidden;

  z-index: 0;

  pointer-events: none;
}

.background-image {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: fill;
  object-position: center;

  opacity: 0;

  transition: opacity 0.8s ease;
}

.background-desktop {
  opacity: 1;
}

.background-tablet,
.background-movil {
  opacity: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

  .background-tablet {
    opacity: 1;
  }

  .background-desktop,
  .background-movil {
    opacity: 0;
  }

}

/* =========================================================
   MOVIL
========================================================= */

@media (max-width: 480px) {

  .background-movil {
    opacity: 1;
  }

  .background-tablet,
  .background-desktop {
    opacity: 0;
  }

}
