Can someone tell me why the second background image is out of place?
**Your code so far**
/* file: index.html */
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<title>Apple Product Landing Page</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@1,300&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css?family=Anton%7CBaskervville%7CRaleway&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
/>
</head>
<body>
<header id="header">
<div class="logo">
<img id="header-img" src="https://logos-world.net/wp-content/uploads/2020/04/Samsung-Symbol.png">
</div>
<nav id="nav-bar">
<ul class="nav_link">
<li><a class="nav-link" href="#home">Home</a></li>
<li><a class="nav-link" href="#">About Us</a></li>
<li><a class="nav-link" href="#" >Product</a></li>
<li><a class="nav-link" href="#">Gallery</a> </li>
<li><a class="nav-link" href="#" >Contact</a></li>
</ul>
</nav>
<a class="extra" href="#"><button>Explore</button></a>
</header>
<hr>
<main>
<div class="home">
<h1 id="home">The Future is<br> limitless with<br> Samsung</h1>
<a class="heh" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank"><button>For more info</button></a>
</div>
<div class="product">
<h1 id="product">Our Latest Product</h1>
</div.
</main>
</body>
</html>
/* file: styles.css */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: rgb(20, 30, 40);
}
li, a, button {
font-family: Oswald;
font-weight: bold;
font-size: 18px;
color: white;
text-decoration: none;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 10%;
background-color: #28282B ;
height: 80px;
}
#header-img {
cursor: pointer;
box-sizing: content-box;
width: 150px;
margin-right: auto;
}
.nav_link {
list-style: none;
}
.nav_link li {
display: inline-block;
padding: 0px 20px;
}
.nav_link li a {
transition: all 0.3s ease 0s;
}
.nav_link li a:hover {
background-color: grey;
}
button {
padding: 9px 25px;
background-color: rgba(255, 255, 255, 1);
border: none;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease 0s;
color: black;
}
button:hover {
background-color: grey;
}
.home {
background-image: url('https://images.samsung.com/is/image/samsung/p5/my/smartphones/galaxy-s10/personalisation-landing-page/new-use/Kv-09-PC.jpg?$ORIGIN_JPG$');
min-height: 100%;
min-width: 100%;
background-size: cover;
width: 100%;
}
#home {
font-size : 50px;
color: white;
padding: 150px;
margin-left: 70px;
}
.heh {
margin: 0;
position: absolute;
top: 85%;
padding-left: 250px;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
#product{
color: white;
text-align: center;
padding: 30px;
margin-left: 20px;
}
#product {
background-image: url('https://wallpapers-hub.art/wallpaper-images/38138.jpg');
min-height: 100%;
min-width: 100%;
background-size: cover;
width: 100%;
position: absolute;
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36
Challenge: Product Landing Page - Build a Product Landing Page
Link to the challenge: