* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
.home,
.pests {
  min-height: 100vh;
  width: 100%;
}
a {
  text-decoration: none;
}
nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
}
nav a {
  z-index: 2;
}
.logo {
  height: 40px;
  margin: 10px;
}
.ham-menu {
  height: 40px;
  width: 40px;
  position: absolute;
  top: 0px;
  right: 10px;
  margin: 20px;
  cursor: pointer;
  z-index: 2;
  visibility: hidden;
}
.ham-menu span {
  height: 4px;
  width: 100%;
  position: absolute;
  background-color: #222;
  border-radius: 25px;
  top: 50%;
  transition: 0.3s ease;
}
.ham-menu span:nth-child(1) {
  top: 25%;
}
.ham-menu span:nth-child(3) {
  top: 75%;
}
.ham-menu.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
  opacity: 0;
}
.ham-menu.active span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}
.off-screen-menu {
  background-color: #009fe3;
  height: 100vh;
  width: 110%;
  position: fixed;
  transform: translate(100%, 75px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 32px;
  transition: 0.3s ease;
  z-index: 1;
  visibility: hidden;
}
.off-screen-menu.active {
  transform: translate(-10%, 75px);
}
.off-screen-menu ul {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 20px;
}
.off-screen-menu ul li {
  display: flex;
  margin: 20px;
  font-size: 48px;
}
.off-screen-menu ul li a {
  color: #ffffff;
}
@media (max-width: 700px) {
  .logo {
    height: 30px;
  }
  .ham-menu {
    height: 30px;
    width: 30px;
  }
  .ham-menu span {
    height: 3px;
  }
  .off-screen-menu {
    transform: translate(100%, 64px);
  }
  .off-screen-menu.active {
    transform: translate(-10%, 64px);
  }
}
.navbar ul {
  position: absolute;
  top: 0;
  right: 0;
  margin: 16px;
}
.navbar ul li {
  display: inline-block;
  font-weight: bold;
  margin: 20px;
  position: relative;
}
.navbar ul li a {
  color: #222;
}
.navbar ul li a:hover {
  color: #009fe3;
}
.navbar ul li:not(:last-child)::after {
  content: "";
  border: solid #000;
  border-width: 2px 2px 0 0;
  position: absolute;
  right: -25px;
  top: -2px;
  height: 100%;
}
@media (max-width: 919px) {
  .ham-menu,
  .off-screen-menu {
    visibility: visible;
  }
  .navbar {
    visibility: hidden;
  }
}
.background {
  height: 90vh;
  overflow: hidden;
}
.background img {
  height: 100%;
}
.basis-prompt {
  position: absolute;
  width: 100px;
  max-height: 65px;
  bottom: 80px;
  left: 20px;
}
.intro {
  position: absolute;
  top: 5%;
  right: 10%;
  text-align: left;
}
.intro h3 {
  position: relative;
  top: 150px;
  right: 20px;
  margin: 10px;
  font-size: 64px;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}
.intro h3 span {
  color: #009fe3;
}
.intro p {
  position: relative;
  top: 150px;
  right: 20px;
  margin: 10px;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}
.phones {
  display: flex;
  flex-direction: column;
  width: 320px;
}
.intro a {
  position: relative;
  top: 150px;
  right: 20px;
  margin: 10px;
  font-size: 36px;
  color: #ffffff;
  letter-spacing: 0px;
  background-color: #009fe3;
  padding: 10px;
  border-radius: 20px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}
.intro-footer {
  background: #009fe3;
  color: #ffffff;
  padding: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
  font-size: 18px;
}
@media (max-width: 700px) {
  .intro h3 {
    top: 50px;
    right: 0;
    font-size: 24px;
  }
  .intro p {
    top: 50px;
    right: 0;
    font-size: 12px;
  }
  .intro a {
    top: 50px;
    right: 0;
    font-size: 24px;
    padding: 5px;
    margin: 5px;
    width: 200px;
  }
  .basis-prompt {
    left: 5px;
    bottom: 60px;
    width: 50px;
    max-height: 30px;
  }
  .intro-footer {
    padding: 10px;
    font-size: 12px;
  }
}
.about {
  align-items: center;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 50px auto 50px auto;
  width: 100%;
  max-width: 1000px;
}
.about h2 {
  font-size: 48px;
  color: #009fe3;
  margin: 20px;
}
.about-text {
  margin: 20px;
  font-size: 18px;
}
.about-text p {
  margin: 20px;
}
.about-img {
  margin: 20px;
}
.about-img img {
  max-width: 800px;
}
.about figure {
  padding: 5px 5px 1px 5px;
  background: #000;
  border-radius: 25px;
}
.about figure a img {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
}
@media (max-width: 1000px) {
  .about-img {
    margin: 10px;
  }
  .about-img img {
    width: 100%;
  }
}
.pests {
  background: #009fe3;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 20px;
}
.pests h2 {
  font-size: 36px;
  color: #ffffff;
  margin: 60px 0 50px 0;
}
.pests-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.pests figure {
  width: 270px;
  margin: 0px 10px 0px 10px;
}
.pests figure img {
  width: 100%;
  border-radius: 20px;
}
.pests figure figcaption {
  position: relative;
  bottom: 60px;
  font-size: 42px;
  color: #ffffff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}
#testimonials {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.review-heading {
  letter-spacing: 1px;
  margin: 120px 0 60px 0;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
}
.review-heading h1 {
  font-size: 2.2rem;
  font-weight: 500;
  background-color: #202020;
  color: #fff;
  padding: 10px 20px;
}
.review-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.review-box {
  width: 500px;
  box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 10px;
  margin: 15px;
}
.profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
}
.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.profile {
  display: flex;
  align-items: center;
}
.username {
  display: flex;
  flex-direction: column;
}
.username strong {
  color: #3d3d3d;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}
.username span {
  color: #979797;
  font-size: 0.8rem;
}
.review-text {
  color: #f9d71c;
}
.box-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.client-comment {
  font-size: 0.9rem;
  color: #4b4b4b;
}
@media (max-width: 500) {
  .review-box {
    width: 100%;
  }
}
footer {
  margin: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.links {
  text-decoration: none;
  list-style: none;
  text-align: left;
}
.links ul {
  list-style: none;
}
.links ul li {
  margin-bottom: 10px;
}
.links ul li a {
  color: #009fe3;
  font-size: 18px;
  letter-spacing: 1px;
  margin: 20px;
}
