* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background-color: black;
  color: seashell;
  font-size: 22px;
  opacity: 0.9;
  width: 100%;
  height: 100%;
}

nav {
  border-bottom: 1px solid seashell;
  width: 100%;
}

.logo {
  height: 50px;
  margin: 9.5px 10px;
}

ul {
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 15px;
}

li {
  display: inline-block;
}

a {
  color: seashell;
}

a:hover {
  color: gold;
}

.background {
  height: 700px;
  width: 90%;
  background-image: url("https://content.codecademy.com/courses/freelance-1/unit-4/img-mission-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  margin: 10px auto;
}

.background #mission {
  background-color: black;
  position: absolute;
  width: 90%;
  top: 400px;
}

#featured-tea {
  text-align: center;
  width: 80%;
  margin: 50px auto;
}

#featured-tea h2 {
  margin-bottom: 20px;
}

.items img {
  width: 300px;
  height: 200px;
  margin-bottom: 10px;
}

.items {
  margin: 15px;
}

.conteiner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin-top: 50px;
}

#locations {
  text-align: center;
  background-image: url("https://content.codecademy.com/courses/freelance-1/unit-4/img-locations-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 60%;
  width: 90%;
  margin: 30px auto;
  padding: 50px;
}

.blocks {
  margin-top: 15px;
  display: inline-flex;
  flex-shrink: 2;
}

.block {
  width: 30%;
  background-color: black;
  margin: 20px;
}

.block h3,
.block h4 {
  margin: 30px;
}

footer {
  text-align: center;
}

footer h5 {
  margin: 40px;
}

#copyrights {
  text-align: left;
}

@media only screen and (max-width: 480px) and (min-width: 320px) {
  * {
    margin: 0;
  }
  main {
    width: 100%;
  }
  nav {
    display: none;
  }
  footer {
    display: none;
  }
  .blocks {
    flex-wrap: wrap;
    justify-content: center;
  }
  .block h3,
  .block h4 {
    font-size: 12px;
  }
  .background {
    width: 100%;
  }
}
