I dont know how make the text on hero image centerd and how to get the box with tea sorted to the flex box
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./Resources/css/style.css">
<title>Tea Cozy</title>
</head>
<body>
<!--Hlavicka-->
<header class="head">
<img src="https://content.codecademy.com/courses/freelance-1/unit-4/img-tea-cozy-logo.png">
</div>
<nav class="menu">
<a href="mission">Mission</a>
<a href="Featured_Tea">Featured Tea</a>
<a href="Locations">Locations</a>
</nav>
</header>
<!--Obsah-->
<div id="mission" class="flex-container">
<div class="content">
<h1>Our Mission</h1>
<h2>Handpicked, Artisanally Curated, Free Range, Sustainable, Small Batch, Fair Trade, Organic Tea</h2>
</div>
</div>
<!--Store-->
<div id="store">
<h2>Tea of the month</h2>
<h3>What's stepping in the Tea Cozy</h3>
<div class="items">
<div class="item">
<img src="https://content.codecademy.com/courses/freelance-1/unit-4/img-berryblitz.jpg" alt="">
<span>Fall Berry Blitz Tea</span>
</div>
<div class="item">
<img src="https://content.codecademy.com/courses/freelance-1/unit-4/img-spiced-rum.jpg" alt="">
<span>Spiced Rum Tea</span>
</div>
<div class="item">
<img src="https://content.codecademy.com/courses/freelance-1/unit-4/img-donut.jpg" alt="">
<span>Reasonal Donut</span>
</div>
<div class="item">
<img src="https://content.codecademy.com/courses/freelance-1/unit-4/img-myrtle-ave.jpg" alt="">
<span>Myrthle ave</span>
</div>
<div class="item">
<img src="https://content.codecademy.com/courses/freelance-1/unit-4/img-bedford-bizarre.jpg" alt="">
<span>Bedford Bizzare Tea</span>
</div>
</div>
</div>
<!--Location-->
<div id="locations">
<h2>Locations</h2>
<div class="locations">
<div class="location">
<h3>Downtown</h3>
<p>384 west st.</p>
<p>Suite 108</p>
<p>Portland, Maine</p>
</div>
<div class="location">
<h3>Downtown</h3>
<p>384 west st.</p>
<p>Suite 108</p>
<p>Portland, Maine</p>
</div>
<div class="location">
<h3>Downtown</h3>
<p>384 west st.</p>
<p>Suite 108</p>
<p>Portland, Maine</p>
</div>
</div>
</div>
<!--Paticka-->
<footer>
</footer>
</body>
</html>
body {
margin: 0;
font-family: Helvetica, sans-serif;
font-size: 22px;
color: seashell;
background-color: black;
opacity: 0.9;
text-align: center;
}
a {
color: seashell;
}
h1,
h2,
h3,
h4 {
margin: 0;
padding: 10px;
}
.head {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
header {
width: 100%;
z-index: 1;
height: 70px;
background-color: black;
border-bottom: 1px solid seashell;
align-items: center;
}
header img {
height: 50px;
padding: 10px;
}
nav {
text-align: right;
flex-grow: 1;
}
nav a {
margin: 20px;
}
#mission {
background-image: url("https://content.codecademy.com/courses/freelance-1/unit-4/img-mission-background.jpg");
max-height: 700px;
padding-top: 700px;
}
#mission .content {
margin: auto;
background-color: black;
width: 100%;
}
#store {
height: 700px;
width: 1000px;
margin: auto;
padding-top: 70px;
}
.item {
padding: 5px;
}
.item img {
height: 200px;
margin: 10px;
}
.item span {
padding: 5px;
font-weight: bold;
text-align: center;
}