#container {
  width: 85%;
  min-height: 800px;
  margin: auto;
  box-shadow: 0px 0px 5px silver;
  background: #f0f0f0;
}

#img {
  width: 100%;
  border: 3px solid #f0f0f0;
}

#img img {
  width: 100%;
  height: auto
}

#about {
  width: 95%;
  margin: auto;
  padding: 0 60px;
  margin-bottom: 50px;
  padding-bottom: 30px;
  text-align: justify;
}

#about h2 {
  color: #bbb;
  width: 100%;
  margin: auto;
  padding-top: 50px;
  padding-bottom: 20px;
  text-shadow: 2px 2px 2px white;
  text-align: center
}

#about p,
#about ul {
  width: 70%;
  margin: 20px auto;
  color: #484848;
  font-weight: 300;
  line-height: 1.5
}

#about li {
  margin-left: 20px
}

#why-us {
  width: 100%;
  height: 230px;
  text-align: center;
  color: gray;
  padding: 25px 0;
}

.marketing {
  width: 33.3%;
  float: left
}

.marketing p {
  margin-bottom: 10px;
}

#testimonials {
  width: 100%;
  height: 390px;
  background-image: url(../photographies/happy.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: lighten;
  border: 5px solid silver;
}

#overlay {
  position: relative;
  width: 100%;
  height: 380px;
  background: rgba(0, 0, 0, 0.4);
}

#testimonials h1,
#testimonials p {
  background: none;
  text-shadow: 2px 2px 2px #484848;
  z-index: 2;
  color: whitesmoke;
}

#testimonials h1 {
  padding: 1.5%;
  text-align: center;
}

#opinion {
  padding: 2% 15%;
  text-align: center;
  font-size: 1.2em;
  font-style: italic;
  font-stretch: expanded;
  width: 100%;
  margin: auto;
  background: rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

#thought {
  text-align: justify;
  padding-top: 2%;
}

#important-clients {
  width: 99%;
  margin: 20px auto;
  background: white;
  text-align: center
}

#important-clients h2 {
  color: #bbb;
  width: 100%;
  background: whitesmoke;
  padding-top: 20px;
  padding-bottom: 20px;
  text-shadow: 2px 2px 2px white;
  text-align: center;
  margin-bottom: 25px
}

.client {
  height: 150px;
  /* margin: 30px 35px; */
  /* display: inline-block; */
  color: #484848;
}

.clients-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.client img {
  height: 80px;
  filter: drop-shadow(0 0 1px #bababa);
}

#leeboy {
  height: 50px;
  margin-top: 5px
}

#contact {
  width: 100%;
  padding-top: 5%;
  box-shadow: 0px 0px 5px silver;
  background: white;
}

.media {
  display: inline-block;
  width: 32%;
  color: #484848;
  text-align: center;
  border-left: 1px solid silver;
}

.media:nth-child(1) {
  border: 0;
}

.media h3 {
  color: #456be8;
  margin: 5%;
}

.media img,
.media p {
  display: inline-block;
}

#quick-nav {
  list-style-type: none;
  width: 100%;
  text-align: center;
  margin-top: 7%;
  padding: 7px 0;
  background: #00d228;
  box-shadow: 0px 0px 5x silver;
}

#quick-nav li {
  display: inline-block;
  width: 23%;
}

#quick-nav li:hover {
  background: whitesmoke;
  color: #00d228;
}

#quick-nav a {
  color: white;
}

footer {
  width: 85%;
  margin: auto;
  padding: 7px 0;
  background: #456be8;
  text-align: center;
  color: white;
  box-shadow: 0px 0px 5px silver;
}

@media only screen and (min-width: 1400px) {
  #container,
  footer,
  header {
    width: 70%;
    margin: auto
  }
}

@media only screen and (max-width:1080px) {
  header,
  #container,
  footer {
    width: 90%;
    margin: auto;
    border: 0;
    box-shadow: 0;
  }
}

@media only screen and (max-width:960px) {
  #about p,
  #about h1 {
    width: 90%;
    margin: auto;
  }
  #contact {
    width: 100%;
    padding-top: 0;
  }
  #contact ul {
    margin: 0;
    padding: 25px;
    padding-bottom: 5px;
  }
  .media {
    width: 100%;
    min-height: 150px;
    text-align: center;
    margin: 0;
    padding: 0;
    border: 0
  }
  .media:nth-child(odd) {
    background: white;
  }
  .media:nth-child(even) {
    background: whitesmoke;
  }
  .media {
    padding-bottom: 25px;
  }
  .media p {
    display: block;
  }
  .media h3 {
    margin: 20px;
  }
  .media:nth-child(3) img {
    padding-bottom: 20px;
  }
}

@media only screen and (max-width:768px) {
  header,
  #container,
  footer {
    width: 95%;
    margin: auto;
  }
  #headline img {
    max-width: 100%;
    margin: 10px 0px
  }
  header ul {
    display: none;
  }
  #menu {
    display: block;
    padding-top: 10px;
    text-align: center;
    width: 100%;
    min-height: 50px;
    color: white;
    background: #484848;
    box-shadow: 0px 0px 5px silver;
    cursor: pointer;
  }
  #menu li {
    float: none;
    width: 100%;
    border: 0;
  }
  #menu li:hover {
    background: #00d228;
  }
  #about {
    width: 90%;
    margin: auto;
    padding: 0 50px;
    margin-bottom: 50px;
  }

  footer {
    font-size: 0.7em;
  }
  #quick-nav li {
    font-size: 0.8em;
  }
  .clients-list {
    grid-template-columns: repeat(1, 1fr);
  }
  #about h2 {
    padding: 10px 0px
  }
  #leeboy {
    margin-top: 0px
  }
}

@media only screen and (max-width: 660px) {
  #img {
    height: 300px;
  }
}

@media only screen and (max-width: 600px) {
  #about {
    width: 100%;
    padding: 0 50px;
    margin-bottom: 50px;
  }
  #about p {
    width: 100%;
    margin: auto;
    padding: 0 20px;
  }
}

@media only screen and (max-width: 580px) {
  #img {
    height: 250px;
  }
  #testimonials {
    width: 100%;
    height: 300px;
  }
  #overlay {
    height: 290px;
  }
  #testimonials h1 {
    font-size: 24px;
  }
  #opinion {
    padding: 2% 15%;
    font-size: 16px;
  }
  #thought {
    padding-top: 2%;
  }
  #important-clients h2 {
    font-size: 14px
  }
  .client img {
    margin-right: 0px
  }
}

@media only screen and (max-width: 480px) {
  header,
  #container,
  footer {
    width: 100%;
  }
  #about {
    padding: 0 20px;
    margin-bottom: 50px;
  }
  #about h2 {
    font-size: 18px;
    margin: 10px auto;
    padding: 0;
  }
  #about p {
    padding: 0 20px;
  }
  #why-us {
    min-height: 405px;
    padding: 10px 0;
    margin-top: 30px;
  }
  .marketing {
    float: none;
    width: 100%;
    margin-bottom: 25px;
  }
  .marketing img {
    width: 72px;
    height: 72px;
  }
  #testimonials {
    width: 100%;
    height: 230px;
  }
  #testimonials img {
    width: 16px;
    height: 16px;
  }
  #overlay {
    height: 220px;
  }
  #testimonials h1 {
    font-size: 20px;
  }
  #opinion {
    padding: 2% 10%;
    font-size: 13px;
  }
  #thought {
    padding-top: 2%;
  }
  #important-clients h2 {
    font-size: 16px
  }
}

@media only screen and (max-width: 440px) {
  #img {
    height: 200px;
  }
}

@media only screen and (max-width:386px) {
  #quick-nav li {
    font-size: 0.6em;
    padding: 5px;
  }
  footer {
    font-size: 0.6em;
  }
}

@media only screen and (max-width: 350px) {
  #about h2,
  h1 {
    font-size: 18px;
  }
  #about {
    font-size: 12px
  }
  #opinion {
    padding: 2% 5%;
    font-size: 11px;
  }
  #thought {
    padding-top: 1%;
  }
}

@media only screen and (max-width: 330px) {
  #img {
    height: 150px;
  }
}

@media only screen and (max-width:285px) {
  #quick-nav {
    font-size: 0.6em;
  }
}
