.cover{
    background-image: url(background1.jpg);
    background-size: cover;
    height: 500px;
}