body {
  display: grid;
  grid-template-areas: "description content-area";
  grid-template-columns: 1fr 2fr;
  gap: 1px;
  overflow-x: hidden;
  background: #f2f2f0;;
  padding-top: 4vh;
}

.content-area {
  grid-area: content-area;
  margin-right: 4vw;
}

a {
  color: #592020;
  text-decoration-thickness: .3px;
}

a:hover,
a:focus {
  text-decoration: none;
}

hr {
  border-top: .5px solid #592020;
}

button {
  border-radius: 1px;
}

.wordmark {
  max-height: 6vh;
  padding: 15px;
}

/** Main navigation styles **/

#navBar {
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  background-color:#f2f2f0;
}

nav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  color:#592020;
  padding: 15px;
  font-family: "neue-haas-grotesk-text", sans-serif;
}

nav a:hover, 
nav a:focus {
  color: #f2f2f0;
  background-color: #40363D60;
}

.dropdown {
  background-color: inherit;
}

.dropdown .dropbtn {
  position: relative;
}

.dropdown-content {
  display: none;
  position:absolute;
  background-color: #f2f2f0;
  /*margin-top: 15px;*/
  box-shadow: 29px 21px 30px -4px rgba(64,54,61,0.6);
}

.dropdown-content a {
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content,
.dropdown:focus .dropdown-content {
  display: block;
}

.mobilenav {
  display: none
}

/** Left column description styles **/

.description {
  display: flex;
  flex-flow: column nowrap;
  align-content: space-around;
  padding: 15px;
  margin-left: 2vw;
  min-height: 90vh;
  max-width: 25vw;
  position:fixed;
  top: 10;
}

.description-text {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

.description-text p {
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.description-button {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  margin-bottom: 25px;
}

.description-button button {
  display: flex;
  color: #40363D;
  transition: 0.25s;
  height: 2rem;
  width: 7rem;
  border-radius: 10%;
  color: white;
  align-items: center;
  margin: auto;
}

.description-button button:hover, 
.description-button button:focus {
  animation: pulse 1s;
  box-shadow: 0 0 0 2em transparent;
  border-color: #40363D;
  background-color:#40363D;
  color: #fff;
}

@keyframes pulse {
  0% { 
    box-shadow:inset 0 0 0 0 #40363D40;
    border-radius: 10%;
  }
  20% { 
    box-shadow:inset 0px 0px 120px 50px #40363D60;
    border-radius: 20%;
    padding: 10px;
  }
  40% { 
    box-shadow:inset 0px 0px 120px 70px #40363D40;
    border-radius: 20%;
    padding: 10px;
  }
  60% { 
    box-shadow:inset 0 0 120px 90px #40363D20;
    border-radius: 10%;
    padding: 12px;
  }
  80% { 
    box-shadow:inset 0 0 120px 120px #40363D20;
    border-radius: 10%;
    padding: 12px;
  }
}

.description-button button a {
  text-decoration: none;
  background-color: transparent;
  color:#40363D;
  font-size: 1.4rem;
  margin: auto;
  padding-bottom: 5px;
}

.description-button button a:hover, 
.description-button button a:focus {
  color: #fff;
}

.section-head-container {
  height: auto;
}

.section-head  h3{
  font-size: 1.5rem;
  background: transparent;
  min-width: 20vw;
}

.section-head-container a:hover { background: #f2f2f0; }
    .section-head-container a.active {
      /*background: linear-gradient(to right, #592020, #59202090, transparent);
      color: #f1efe8;*/
      border-bottom: .3px solid #592020;
      text-decoration: none;
      padding: .3em;
      min-width: 24vw;
      display: inherit;
    }

.section-text {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease-out 0.05s,
              transform 0.35s ease 0.05s,
              visibility 0s linear 0.35s,
              max-height 0s linear 0.35s; /* collapses only after fade completes */
  pointer-events: none;
}

.section-text.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 500px; /* larger than any text block will ever be */
  transition: opacity 0.35s ease-out 0.05s,
              transform 0.35s ease 0.05s,
              visibility 0s linear 0s,
              max-height 0s linear 0s; /* expands immediately on reveal */
  pointer-events: auto;
}

/** Gallery Card styles **/

.card-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 6vw;
  margin-top: 6vh;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
}

.card {
  align-items: center;
  flex-basis: 20%;
  position: relative;
  padding: 15px;
}

.card:hover {
  animation: pulse .8s;
  box-shadow:inset 0 0 120px 100px #40363D20;
  border-radius: 10%;
  padding: 12px;
}

.card img {
  max-width: 100%;
}

.card-mb {
  margin-bottom: 4vh;
}

.card-text {
  display: flex;
  justify-content: space-between;
  align-content: flex-start;
  border-top: .5px solid #592020;
  padding-top: .5rem;
}

.card-text  h4{
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
}

.card-text p {
  font-size: .8rem;
  margin-top: 0;
  margin-bottom: 0;
  align-self: flex-end;
}

.card-text a {
    text-decoration: none;
}

/** Footer styles **/

footer {
  border-top: .5px black solid;
  margin-top:auto;
}

footer p {
  font-size: .9rem;
  margin-left: .5vw
}

@media screen and (min-width: 600px) {
  .mobile-footer {
   display: none;
  }

  .mobile-area {
    display: none;
  }
}

/** Magazine Article Page Styles **/

.article-title-container {
  display: block;
}

.article-title {
  width: 100vw;
  margin-top: 6vh;
  margin-left: -1vw ;
  padding-top: 1vh;
  padding-bottom: 1vh;
  padding-left: 1.5vw;
  display: flex;
}

@media screen and (min-width:901px) {
    .article-lead-img {
      mask-image: linear-gradient(-70deg, black 50%, transparent 80%);
     margin-left: -9vw;
  }
}

.article-area {
  display: flex;
  flex-direction: column;
  width: 50vw;
  margin-left: 25vw;
  margin-right: 25vw;
}

.article-area h3 {
  color: #b659a2;
}

.article-area h4 {
  color: #b659a2;
}

.article-area figure {
  position: relative;
  display: inline-block;
}

.article-img::before {
  content: "";
  background-color: #b659a2;
  position: absolute;
  top: -30px;
  left: -40px;
  bottom: 30px;
  right: -60px;
  z-index: -1;
}

.pull-quote {
  font-size: 2rem;
  font-family: "orpheuspro", sans-serif;
  font-weight: 600;
  font-style: italic;
  color: #b659a2;
}

.article-area p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.article-area h4 {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.article-carousel {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1vw;
}

.article-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
}

@media screen and (max-width: 900px) {
  .article-title {
    flex-direction: column;
  }
  .article-title img {
    max-width: 90vw;
    margin: auto;
  }
  .article-lead-img {
    max-width: 90vw;
    margin: auto;
  }
  .article-area {
    width: 100vw;
    margin-left: 1vw;
    margin-right: 1vw;
  }
}

/** Type and font info **/

h1 {
  font-size: 3em;
  color: #592020;
  font-family: "orpheuspro", sans-serif;
  font-weight: 700;
  font-style: normal;
}

h2 {
  font-size: 2.5rem;
  color: #40363D;
  font-family: "orpheuspro", sans-serif;
  font-weight: 500;
  font-style: normal;
}

h3 {
  font-size: 2rem;
  color: #592020;
  font-family: "orpheuspro", sans-serif;
  font-weight: 700;
}

h4 {
  font-size: 2rem;
  color: #592020;
  font-family: "orpheuspro", sans-serif;
  font-weight: 500;
}

h5 {
  font-size: 1rem;
  color: #403F3E;
  font-family: "orpheuspro", sans-serif;
  font-weight: 400;
  margin-top: 0;
}

p {
  color:#403F3E;
  font-family: "neue-haas-grotesk-text", sans-serif;
  line-height: 1.6;
}

.dropCap {
  font-size: 3.5rem;
  line-height: 1;
  float: left;
  margin-right: 0.1em;
  font-family: "orpheuspro", serif;
  font-weight: 500;
  font-style: normal;
}

.orpheus-pro-regular {
  font-family: "orpheuspro", serif;
  font-weight: 400;
  font-style: normal;
}

.orpheus-pro-italic {
  font-family: "orpheuspro", serif;
  font-weight: 400;
  font-style: italic;
}

.orpheus-pro-bold {
  font-family: "orpheuspro", serif;
  font-weight: 700;
  font-style: normal; 
}

.neue-haas-grotesk-text {
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.neue-haas-grotesk-text-italic {
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.neue-haas-grotesk-text-bold {
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/** Scroll indicator and tooltip info

#content {
  position: absolute;
}

h2, .indicator-tooltip {
  margin-top: 0;
}

.indicator {
  display: inline-block;
  right: 1em;
  padding: 0.3em;
  background: #592020;
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.5s;
}
.indicator--passed, .indicator--upcoming {
  position: fixed;
}
.indicator--passed { 
  top: 0 !important;
}
.indicator--upcoming { 
  bottom: 0 !important;
}
.indicator--active {
  position: absolute;
}
.indicator--viewing, .indicator:hover {
  opacity: 1;
}

.indicator-tooltip {
  position: absolute;
  right: 2em;
  width: 0;
  margin-top: -1em;
  background-color: #592020;
  color: #f2f2f0;
  white-space: nowrap;
  border-radius: 3px;
  overflow: hidden;
  z-index: -1;
}
.indicator-tooltip:after {
  display: block;
  content: '';
  position: absolute;
  right: -0.9em;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -0.4em;
  border: 0.4em solid transparent;
  border-left: 0.5em solid #806973;
}
.indicator:hover .indicator-tooltip {
  width: auto;
  padding: 0.5em;
  overflow: visible;
  z-index: 1;
} **/

/** Project Pages body section **/

.project-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /*margin-top: 6vh;*/
  padding: 20px;
}

.project-image-container {
  display: flex;
  max-width: 70vw;
  justify-content: center;
  margin-top: 10vh;
  margin-bottom: 10vh;
  min-height: 60vh;
  align-items: center;
}

.project-imgs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5vw;
  margin-top: 5vh;
}

.project-imgs {
  display: flex;
  max-height: 40vh;
  max-width: 15vw;
  box-shadow: 29px 21px 30px -4px rgba(64,54,61,0.6);
}

.project-single-img {
  display: flex;
  max-height: 70vh;
  max-width: 50vw;
}

.project-imgs-three {
  display: flex;
  max-height: 40vh;
  max-width: 11vw;
  box-shadow: 29px 21px 30px -4px rgba(64,54,61,0.6);
}

.brief {
  display: flex;
  flex-direction: row;
  max-height: 40vh;
  max-width: 20vw;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px); /* Start 50px to the right */
  }
  to {
    opacity: 1;
    transform: translateX(0); /* End at original position */
  }
}

.fade-in-right {
  animation: fadeInRight 1.5s ease-out forwards;
}

@keyframes fadeInBottom {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
}
}

.scroll-arrow {
  position: fixed;
  bottom: 0;
  right: 1vw;
  z-index: 99;
  margin-bottom: 3vh;
  animation: fadeInBottom alternate .75s ease-out 3s 3;
  font-size: 3em;
  color:#40363D
}

.drop-shadow {
    box-shadow: 29px 21px 30px -4px rgba(64,54,61,0.6);
}

/** Page Layout for Smaller Screens **/ 

@media screen and (max-width: 600px) {
  body {
    display: block;
  }

  #navBar {
    display: none;
  }

  .mobilenav {
    display: flex;
    position: fixed;
    top: 0;
    left: 4vw;
    align-items: center;
    z-index: 99;
    min-height: 10vh;
    width: 100%;
    background-color:#f2f2f0;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding-left: 15px;
  }
  .hamburger span {
    width: 30px;
    height: 2px;
    background: #403F3E;
    transition: 0.3s; 
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 99;
    min-width: 80vw;
    top: 55px;
    left: -100vw;
    background: #f2f2f0;
    transition: 0.5s;
    box-shadow: 29px 21px 30px -4px rgba(64,54,61,0.6);
  }

  #menu-toggle { 
    display: none; 
  }

  #menu-toggle:checked ~ .nav-links {
    left: 1vw;
  }

  .mobilenav .wordmark {
    max-height: 3vh;
    padding: 0;
    margin-left: 2vw;
  }

  .description {
    display: none;
  }

  .mobile-description {
    display: flex;
    min-width: 100%;
    padding: 15px;
    margin-top: 0;
    position: relative;
    min-height: auto;
  }

  .content-area {
    display: none;
  }

  .mobile-content-area {
    display: flex;
    flex-direction: column;
    margin-top: 5vh;
  }

  .mobile-content {
    display: flex;
    flex-direction: column;
    margin-left: 3vw;
  }

  .mobile-content p {
    margin-left: 2vw;
  }

  .brief {
    max-height: 100%;
    max-width: 100%;
  }

  .project-image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 90vw;
    min-height: 0;
    align-items: center;
    margin-top: 1vh;
    margin-bottom: 2vh;
  }

  .project-img-col {
    display: flex;
    flex-direction: column;
  }

  .project-imgs {
  display: flex;
  max-height: 40vh;
  max-width: 70vw;
  margin-bottom: 2vh;
  box-shadow: 29px 21px 30px -4px rgba(64,54,61,0.6);
}

.project-single-img {
  display: flex;
  max-width: 90vw;
  margin-bottom: 2vh;
  margin-left: 5vw;
}

  .card-container {
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    padding-bottom: 5vh;
  }

  .card {
   display: flex;
   flex-direction: column;
   flex-basis: auto;
   align-items: normal;
  }

  .card img {
    max-width: 60vw;
  }

  .description-text {
    max-width: 80vw;
  }

  footer {
    display: none;
  }

  .mobile-footer {
    border-top: .5px black solid;
    margin-top:auto;
  }

  .mobile-footer p {
    font-size: .9rem;
    margin-left: .5vw
  }
}
