How to make background image responsive?

when i inspect it in responsive, the height of the background didnt come out fully. How to fix it?

<!DOCTYPE html>
<html>
    <head>
        <title>Practice</title>
        <meta charset="utf-8"/>
        <link rel="stylesheet" href="styles.css">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </head>
    <body>
        <main>
            <div>
                <h1>Practice 1</h1>
            </div>
            <div>
            <h2>Practice 2</h2>
            </div>
            <div>
            <h3>Practice 3</h3>
            </div>
        </main>
    </body>
</html>

h1 {
color: white;
background-color: aquamarine;
text-align: center;
opacity: 0.3;
}

html {
background-image: url(“background.png”);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: center;
}