/* ================================================================
 * BACKGROUNDS REUTILIZAVEIS
 * Colecao de fundos visuais do framework yeti-bootstrap.
 * ================================================================ */

/* -----------------------------------------------------
 * ESTRUTURA BASE
 * Mantem o fundo isolado do conteudo e permite novos modificadores.
 * ----------------------------------------------------- */
.y-fundo {
  width: 100%;
}

/* -----------------------------------------------------
 * GRADIENTE ESCURO 01
 * Fundo escuro com transicao diagonal para superficies de destaque.
 * ----------------------------------------------------- */
.y-fundo--gradiente-01 {
  background-color: #0a0a0a;
  background-image: linear-gradient(135deg, #303036 0%, #000000 100%);
  background-size: 100% 100%;
}

/* -----------------------------------------------------
 * GRADIENTE ANIMADO 02
 * Gradiente escuro diagonal com movimento suave e continuo.
 * ----------------------------------------------------- */
.y-fundo--gradiente-02 {
  background-color: #000000;
  background-image: linear-gradient(135deg, #0d0d0d 0%, #434242 100%);
  background-size: 400% 400%;
  animation: y-fundo-lua-sangrenta 8s ease infinite normal;
}

@keyframes y-fundo-lua-sangrenta {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Aliases legados para transicao sem quebra de templates existentes. */
.y-bg {
  width: 100%;
}

.y-bg--gradient-01 {
  background-color: #0a0a0a;
  background-image: linear-gradient(135deg, #303036 0%, #000000 100%);
  background-size: 100% 100%;
}

.y-bg--gradient-02 {
  background-color: #000000;
  background-image: linear-gradient(135deg, #0d0d0d 0%, #434242 100%);
  background-size: 400% 400%;
  animation: y-fundo-lua-sangrenta 8s ease infinite normal;
}
