body {
  font-family: 'Playfair Display', serif;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
}
p {
  margin: 0;
}

.header {
  align-items: center;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  font-family: helvetica;
  justify-content: center;
  padding: 2rem;
  -webkit-tap-highlight-color: transparent;
}

.header img {
  height: 150px;
}
.title {
  align-items: center;
  display: flex;
  font-size: 36px;
  font-weight: bold;
  justify-content: center;
}
.sub-title {
  align-items: center;
  display: flex;
  font-size: 16px;
  justify-content: center;
}

nav {
  align-items: center;
  background-color: white;
  display: flex;
  font-size: 18px;
  justify-content: center;
  padding: 0 1rem;
  text-transform: uppercase;
}
nav.desktop {
  /* placeholder */
}
nav.mobile {
  display: none;
  flex-direction: column;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 273px;
  transition: opacity 1s;
}
@media screen and (max-width: 750px) {
  nav.desktop {
    display: none;
  }
}
.nav-item {
  border-bottom: 1px solid transparent;
  cursor: pointer;
  margin: 0 2rem;
  padding: 1rem 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-item.active, .nav-item.hover {
  border-bottom: 1px solid gray;
}

.mobile-menu {
  align-items: center;
  display: none;
  cursor: pointer;
  justify-content: center;
  padding-bottom: 1rem;
  transition: opacity 1s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu:hover {
  opacity: 0.5;
}
.mobile-menu .menu-icon {
  height: 32px;
  width: 32px;
}
@media screen and (max-width: 750px) {
  .mobile-menu {
    display: flex;
  }
}

.page {
  align-items: center;
  display: none;
  left: 0;
  justify-content: center;
  opacity: 0;
  padding: 2rem;
  position: absolute;
  right: 0;
  transition: opacity 1s;
}
@media screen and (max-width: 750px) {
  .page {
    padding: 1rem 2rem;
    top: 321px;
  }
}
.page h2 {
  font-family: sans-serif;
  padding-bottom: 1rem;
  text-align: center;
}

/* Home Page */
.page.home {
  flex-direction: column;
}
.home-photos {
  display: flex;
  justify-content: center;
  width: 100%;
}
.home-photos img {
  max-height: 500px;
  max-width: 100%;
  object-fit: contain;
}
.home-photos .img-spacer {
  flex: 0 0 auto;
  width: 1rem;
}
.home .email {
  padding: 3rem 0;
}

.about.page {
  padding: 2rem 8rem;
}
@media screen and (max-width: 750px) {
  .about.page {
    padding: 1rem;
  }
}

/* Styled Photoshoots Page */
.photoshoots {
  text-align: justify;
  width: 680px;
}
@media screen and (max-width: 450px) {
  .photoshoots {
    text-align: left;
  }
}

.photoshoot-title {
  font-weight: bold;
  text-align: center;
}
.photoshoot-caption {
  text-align: center;
}

.photoshoots-header {
  text-align: center;
}
.photoshoot-img-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 2rem;
  max-width: 100%;
}
.photoshoot-img-container img {
  max-height: 400px;
  max-width: 100%;
}
.photoshoot-img-container .spacer {
  flex: 0 0 1rem;
  width: 1rem;
}

@media screen and (max-width: 450px) {
  .photoshoot-img-container {
    align-items: center;
    flex-direction: column;
  }
  img.photoshoot1 {
    padding-right: 0;
  }
}

.photoshoot-img-container.style-4 {
  padding-top: 12px;
}
.photoshoot-img-container.style-4 img {
  max-height: 333px;
}


/* Workshops */
.workshops {
  min-height: 1080px;
  width: 680px;
}
.workshops-header {
  text-align: center;
}

.about {
  display: flex;
  margin: 2rem 6rem;
}
.about-img-container {
  flex: 0 0 auto;
}
.about img {
  margin-left: 2rem;
  max-height: 500px;
  max-width: 100%;
}
.about .text {
  margin-left: 2rem;
}
@media screen and (max-width: 750px) {
  .about {
    display: block;
    margin: 1rem;
  }
  .about-img-container {
    text-align: center;
  }
  .about img {
    height: 400px;
    margin: 0 auto;
  }
  .about .text {
    margin-top: 2rem;
    margin-left: 0;
  }
}

.contact-page {
  text-align: center;
}

.contact-page .email {
  margin-top: 2rem;
}

.contact-page .instagram {
  height: 50px;
  margin-top: 2rem;
}

.text-align-center {
  text-align: center;
}

.photo-container {
  position: relative;
}
.photographer {
  background: hsla(0, 0%, 100%, 0.5);
  bottom: 4px;
  color: gray;
  font-size: small;
  font-style: italic;
  padding: 0 2px;
  position: absolute;
  right: 0px;
  text-align: right;
}

/* Logo */

svg#logo {
  height: 140px;
  width: auto;
}

.main-stem {
  transition: stroke-dashoffset 3s;
  stroke-dasharray: 1000px, 1000px;
  stroke-dashoffset: 1000px;
}
.main-stem-grow {
  stroke-dashoffset: 770px;
}

.stem-1 {
  transition: stroke-dashoffset 1.5s;
  stroke-dasharray: 100px, 100px;
  stroke-dashoffset: 100px;
}
.stem-1-grow {
  stroke-dashoffset: 78px;
}

.stem-2 {
  transition: stroke-dashoffset 1s;
  stroke-dasharray: 100px, 100px;
  stroke-dashoffset: 100px;
}
.stem-2-grow {
  stroke-dashoffset: 66px;
}

.leaf-1 {
  transition: transform 1s;
  transform: rotate(-23deg) scale(0.2);
  transform-origin: 52px 108px;
  visibility: hidden;
}
.leaf-1-grow {
  transform: rotate(0deg) scale(1);
  visibility: visible;
}

.leaf-2 {
  transition: transform 1s;
  transform: rotate(36deg) scale(0.2);
  transform-origin: 40.5px 43.6px;
  visibility: hidden;
}
.leaf-2-grow {
  transform: rotate(0deg) scale(1);
  visibility: visible;
}

.leaf-3 {
  transition: transform 1s;
  transform: rotate(14deg) scale(0.2);
  transform-origin: 38.7px 39px;
  visibility: hidden;
}
.leaf-3-grow {
  transform: rotate(0deg) scale(1);
  visibility: visible;
}

.leaf-4 {
  transition: transform 1s;
  transform: rotate(-14deg) scale(0.2);
  transform-origin: 38.7px 39px;
  visibility: hidden;
}
.leaf-4-grow {
  transform: rotate(0deg) scale(1);
  visibility: visible;
}

.flower-1 {
  transition: transform 2s;
  transform: scale(0.1);
  transform-origin: 43px 69.45px;
  visibility: hidden;
}
.flower-1-grow {
  transform: scale(1);
  visibility: visible;
}

.flower-2 {
  transition: transform 2s ease-out;
  transform: scale(0.1);
  transform-origin: 67.9px 40.2px;
  visibility: hidden;
}
.flower-2-grow {
  transform: scale(1);
  visibility: visible;
}
