.container {
  display: flex;
  justify-content: center;     /* по горизонтали */
  align-items: center;     /* по вертикали */
  height: 30vh;            /* важно: высота = высоте окна (100vh) */
}

h2,h1  {
    color: #FFFFFF ; 
    font-size: 7em;
    font-style: italic;
}
p {
    color: #0099FF;
    font-size: 3em;
    font-style: italic;
}
body {
    font-family:  Arial, sans-serif;
    background-image:
	linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
	url('dg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
