/* Set height to 100% for body and html to enable the background image to cover the whole page: */
body, html {
  height: 100%
}

#demo{ color: #ed0721; font-weight: bold; font-size: 60px; }
.bgimg {
  /* Background image */
  background-image: url("img/sfondo.jpg");
  /* Full-screen */
  height: 100%;
  /* Center the background image */
  background-position: center; 
  /* Scale and zoom in the image */
  background-size: cover;
  /* Add position: relative to enable absolutely positioned elements inside the image (place text) */
  position: relative;
  
  /* Add a white text color to all elements inside the .bgimg container */
  color: white;
  
  /* Add a font */
  font-family: "Times New Toman", Courier, monospace;
  /* Set the font-size to 25 pixels */
  font-size: 15px;
}



/* Position text in the top-left corner */
.topleft {
  position: absolute;
  top: 0;
  left: 16px;
}

/* Position text in the bottom-left corner */
.bottomleft {
  color: blue;
  font-weight: bold;
  position: absolute;
  bottom: 0;
  right: 35px;
  font-size: 45px;
}

/* Position text in the middle */
.middle {
  position: relative;
  top:70%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.middle2 {
  position: relative;
  top: 0%;
  left: 50%;
  font-weight: bold;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 60px;
  color: #FFFF00;
}

/* Style the <hr> element */
hr {
  margin: auto;
  width: 0%;
}