* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

strong, b {
  font-weight: bold;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 300;
  margin: 0;
}

h2 {
  font-size: 100%;
  text-align: center;
}

h3, h4 {
  font-weight: normal;
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #fcfcfc;
  height: 3000px;
}

.title {
  background-color: pink;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 1.5;
  -ms-flex-positive: 1.5;
  flex-grow: 1.5;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-image: url("stockdocdarkblue.jpg");
  font-size: 2em;
  color: white;
}

.title a {
  text-decoration: none;
  color: white;
}

.top-nav {
  background-color: #fcfcfc;
  display: flex;
  justify-content: center;
}

.top-nav a {
  color: #232322;
  text-align: center;
  padding: 0.9rem;
  text-decoration: none;
  font-size: 1.1rem;
}

.top-nav a:hover:not(:first-child) {
  background-color: #557a95;
  color: #fffef2;
}

.top-nav a:not(:first-child) .active {
  background-color: #137da0;
  color: white !important;
}

.top-nav a img {
  max-width: 10vh;
}

.top-nav .icon {
  display: none;
}

.nav-item a {
  font-size: 1em;
  background-color: transparent;
}

.about {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: white;
  padding-right: 30em;
  padding-left: 30em;
  font-weight: normal;
}

.about img {
  min-width: 20vh;
  border-radius: 50%;
  padding-left: 0em;
}

.about-item {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1em;
  margin-bottom: 1em;
}

.services {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-flex: auto;
  -ms-flex-positive: auto;
  flex-grow: auto;
  background-color: #fcfcfc;
  padding-right: 30em;
  padding-left: 30em;
  margin: 3em;
}

.services-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #fcfcfc;
  padding: 1em;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
}

.services-item:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.services-item img {
  max-width: 20vh;
}

.testimonials-wrapper {
  padding: 3em 30em 3em 30em;
  color: white;
  background-color: #557a95;
}

.testimonials-item {
  padding-top: 3em;
	text-align: center;
}

.contact {
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.contact-item {
  border-color: white;
  border-style: solid;
}

.footer {
  background-color: #557a95;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: white;
}

@media screen and (max-width: 1024px) {
  .about, .services, .contact, .policy {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .title {
    padding-right: 2em;
    padding-left: 2em;
    font-size: 1em;
  }

  .about, .testimonials-wrapper, .services {
    padding-right: 3em;
    padding-left: 3em;
    font-size: 1rem;
  }

  .about-item {
    margin: 0em;
  }

  .about-item p {
    padding: 1em;
  }

  .about img {
    padding-top: 1em;
    max-width: 10vh;
  }

  .services {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .services-item h2 {
    text-align: center;
  }

  .policy {
    padding-right: 1em;
    padding-left: 3em;
    font-size: 1rem;
  }

  .policy-item {
    margin: 0em;
  }

  .nav-img {
    max-width: 20vh;
  }

  .top-nav a {
    display: none;
  }

  .top-nav a.icon {
    float: right;
    display: block;
  }

  .top-nav.responsive {
    display: flex;
    flex-direction: column;
  }

  .top-nav.responsive .icon {
    position: relative;
  }

  .top-nav.responsive a {
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 375px) {
  .services {
    padding-right: 3em;
    padding-left: 3em;
  }

	.services-item {
		max-width: 15vh;
	}
}
