body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}
body {
  background-color: #c0d8d8;
  font-family: "Arial", sans-serif;
  text-align: center;
  width: 100%;
  height: 100%;
  position: relative;
}
nav {
  display: flex;
  min-height: 8vh;
  top: 5px;
  flex-direction: row;
  position: absolute;
  width: 100%;
}
.nav-links {
  right: 0;
  height: 100vh;
  width: 50%;
  padding-top: 20px;
  background-color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  justify-content: space-evenly;
  transform: translateX(100%);
  transition: transform 0.5s ease-in;
  z-index: 1000;
}
.nav-links li {
  opacity: 1;
  display: block;
  list-style: none;
}
.nav-links a {
  color: #aaa;
  display: inline-block;
  text-decoration: none;
}
.nav-links a:hover {
  text-decoration: underline;
  text-decoration-color: #fdc300;
}
.burger {
  display: block;
  position: absolute;
  right: 1%;
  z-index: 1000;
}
.burger div {
  width: 35px;
  height: 2px;
  background-color: black;
  margin: 5px;
  transition: all 0.3s ease;
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

.pimg1 {
  background-image: url("/img/flowers.jpg");
  min-height: 30vh;
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ptext {
  position: absolute;
  top: 40%;
  width: 100%;
  text-align: center;
  color: #eee;
  font-size: 1.5rem;
  letter-spacing: 8px;
  text-transform: uppercase;
}

main {
  width: 90vw;
  margin: 0 auto;
  padding: 30px 20px;
}
.logo {
  float: left;
  top: 10px;
  left: 10px;
}

/* Home page */

header {
  text-align: center;
  width: 100%;
  height: 25vh;
  background-color: white;
  color: cadetblue;
  margin: auto;
}
.profile-block {
  display: block;
  position: relative;
}
.profile-text {
  background-color: #fff;
  display: block;
  z-index: 2;
  padding: 5%;
  margin-bottom: 5%;
}
.profile-img {
  display: block;
  left: 50px;
  z-index: 1;
}

/*Why doula?*/

.quote-block {
  height: 500px;
  width: 80vw;
}
.quote-text {
  background-color: #fff;
  display: flex;
  width: 80vw;
  padding: 5%;
}
.quote-image {
  padding-top: 10px;
}
.text-block1 {
  padding-top: 2vh;
}
.references-row {
  padding-top: 5vh;
  font-size: 12px;
}

/* About page */
.container {
  display: inline;
  width: 100%;
  flex-direction: column;
}
img.img-fluid.img-family {
  margin-top: 2%;
}

/* Contact page */

.contact__text {
  padding-top: 20px;
  margin: auto;
}
.contact__text a {
  text-decoration: none;
  color: black;
}
.contact-main {
  padding-top: 100px;
}
.container-body {
  min-height: 80vh;
  margin-bottom: -80px;
  flex: 1 0 auto;
}
.container-body::after {
  content: "";
  display: block;
  height: 80px;
}

/* Services page */
.services-row {
  padding-bottom: 2vh;
}
.services-img {
  margin-top: 2vh;
}

/* Testimonials page */

.text {
  text-align: left;
  width: 750px;
}
.card {
  margin-top: 30px;
}

/* Headers */

header h1 {
  padding-top: 50px;
}
h2 {
  color: cadetblue;
  margin: 10px 0 25px 0;
}
h1 {
  color: cadetblue;
  font-size: 2em;
  font-weight: bold;
  padding-bottom: 10px;
}
p {
  margin-top: 16px;
  line-height: 24px;
}

#page-container {
  position: relative;
  min-height: 100vh;
}
#page-container-contact {
  position: relative;
  min-height: 90vh;
}
#page-container-about {
  position: relative;
  min-height: 90vh;
}
#content-wrap {
  padding-bottom: 25vh; /* Footer height */
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  background-color: #90c0c0;
  color: #fff;
  display: inline-block;
  flex-direction: column;
  width: 100%;
  padding: 30px 45px 30px 45px;
  height: 25vh;
}
.footer-info {
  padding-bottom: 25px;
}
footer a {
  text-decoration-color: #eee;
  text-decoration-thickness: 0.125em;
  text-underline-offset: 2px;
  color: #eee;
  padding: 10px 0 10px 0;
}
a:hover {
  text-decoration-color: #fdc300;
  color: #eee;
}

@media (min-width: 768px) {
  /* Home page */

  /* About page */

  /* Why doula page */
  .quote-block {
    width: 60vw;
    margin: auto;
    height: 90vh;
  }
  .quote-text {
    background-color: #fff;
    display: flex;
    width: 60vw;
    padding: 5%;
    top: 200px;
    right: 100px;
    z-index: 2;
  }
  .quote-image {
    padding-top: 10px;
  }
  .quote-img {
    z-index: 1;
  }
  .references-row {
    padding-top: 5vh;
    font-size: 12px;
  }
}

@media (min-width: 1200px) {
  nav {
    display: flex;
    min-height: 8vh;
    top: 50px;
    flex-direction: row;
    position: absolute;
    width: 100%;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 60%;
    height: 8vh;
    transform: none;
    transition: none;
    position: absolute;
  }
  .nav-links li {
    /* display: inline-block; */
    list-style: none;
  }
  .nav-links a {
    color: #939597;
    /* display: block; */
    text-decoration: none;
  }
  .burger {
    display: none;
  }
  header {
    height: 20vh;
  }
  .welcome-img {
    height: 180px;
    width: 80%;
    margin: auto;
  }
  #content-wrap {
    padding-bottom: 15vh; /* Footer height */
  }
  footer {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    background-color: #90c0c0;
    color: #fff;
    display: inline-block;
    flex-direction: column;
    width: 100%;
    padding: 30px 45px 30px 45px;
    height: 15vh;
  }
  .footer-info {
    padding-bottom: 25px;
  }

  /* Home page */

  .profile-block {
    display: block;
    position: relative;
    padding: 50px;
  }
  .profile-text {
    background-color: #fff;
    display: block;
    position: absolute;
    width: 400px;
    top: 200px;
    left: 550px;
    padding: 5%;
    z-index: 2;
  }
  .profile-img {
    display: block;
    left: 150px;
    z-index: 1;
  }

  /* About page */
  #page-container-about {
    position: relative;
    min-height: 90vh;
  }
  #footer-about {
    height: 15vh;
  }

  /* Why doula page */
  .quote-block {
    height: 600px;
    width: 80vw;
  }
  .quote-text {
    position: absolute;
    display: flex;
    width: 40vw;
    top: 45vh;
    right: 2vw;
    z-index: 2;
  }
  .quote-image {
    position: absolute;
    left: 5vw;
  }
  .quote-img {
    z-index: 1;
  }
  .references-row {
    padding-top: 5vh;
    font-size: 12px;
  }
  .footer-info {
    padding: 25px 0 25px 0;
  }
  /* Services page */
  .services-row {
    padding-bottom: 5vh;
  }
  /* Contact page */
  #page-container-contact {
    position: relative;
    min-height: 90vh;
  }
  #footer-contact {
    height: 15vh;
  }
}

@media (min-width: 1900px) {
  header {
    height: 15vh;
  }
  #content-wrap {
    padding-bottom: 10vh; /* Footer height */
  }

  footer {
    height: 10vh;
  }
  /* About page */
  #page-container-about {
    position: relative;
    min-height: 90vh;
  }
  #footer-about {
    height: 10vh;
  }
  /* Contact page */
  #page-container-contact {
    position: relative;
    min-height: 90vh;
  }
  #footer-contact {
    height: 10vh;
  }
  /* Home page */
  .ptext {
    font-size: 3.5rem;
  }

  .profile-block {
    width: 50vw;
    margin: auto;
    padding: 50px;
  }
  .profile-text {
    width: 400px;
    top: 200px;
    left: 550px;
    padding: 5%;
  }
  .profile-image {
    width: 25vw;
    left: 10%;
  }
  .services-img {
    max-width: 30vw;
  }
  /* Why doula page */
  .quote-block {
    height: 45vh;
    width: 60vw;
  }
  .quote-text {
    width: 30vw;
    top: 22vh;
    right: 20vw;
  }
  .quote-image {
    left: 20vw;
  }

  /* Services page */
  .services-row {
    padding-bottom: 7vh;
  }
  /* testimonials page */
  .card-img-top {
    height: 250px;
    width: 350px;
  }
}
