function check_email() {
  var at_present = false;
  var email = document.getElementById("email").value;
  if (email !== "") {
    for (let i = 0; i <= email.length; i++) {
      if (email[i] === "@") {
        at_present = true;
        break;
      }
    }
    if (at_present == false) {
      alert("Invalid email! @ missing");
    }
  }
}h1 {
  text-align: center;
}
.background {
  background-image: url("https://firebasestorage.googleapis.com/v0/b/diffusion-library.appspot.com/o/soldiers-at-a-distance-fighting-in-a-savana-biome-high-quality-little-blurred%2F1.jpg?alt=media&token=559b6e72-c738-4b56-889c-d4ad6466548d");
  background-size: 1600px;
  position: center;
  background-position-y: -300px;
  filter: blur(8px);
}<!DOCTYPE html>
<html>
<head>
  <title>MODULO ISCRIZIONE SOFTAIR</title>
  <link rel="stylesheet" href="Modulo_softair_css.css">
</head>
<body>
  <div class="background"></div>
  <h1>MODULO ISCRIZIONE SOFTAIR</h1>
  <div class="content">
    <strong>Nome:</strong>
    <br>
    <input type="text" id="nome">
    <br>
    <br>
    <strong>Numero di Telefono:</strong>
    <br>
    <input type="text" id="telefono">
    <br>
    <br>
    <strong>Email:</strong>
    <br>
    <input type="text" id="email" onchange="check_email()">
  </div>
  <script>
  </script>
</body>
</html>The background isn't loading I don't know why. Before adding the div and class the background was loading correctly. Can somebody help me figure out why? This program is meant to be a web page for a form about softair, and I wanted to add a photo to the background with a blurred effected so that it wouldn't disturb. As I said before, I had the background in the body without the div, but when I tried to blur, it blurred the whole body. So i made the class but now it isn't working.
Thanks
Tried removing some adjectives form the css but I had no luck.
 
    