* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  width: 100%;
  margin: 0;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  background-color: #FFFEF9;
  color: #314050;
}

p, a, i {
  font-size: 1em;
  color: #314050;
  font-weight: 300;
}

p {
  line-height: 1.6rem;
}

a {
  text-decoration: none;
  position: relative;
}

/* skip nav link */
a#skip-nav {
  position: absolute;
  -webkit-transform: translateY(-120%);
          transform: translateY(-120%);
  text-align: center;
  opacity: 0;
  font-size: 0.85rem;
  left: 47%;
}

a#skip-nav:focus {
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  -webkit-transform: translateY(0%);
          transform: translateY(0%);
  opacity: 1;
}

a.text-link::before, nav a::before, #about a.contact::before,
#about .resume a::before, a#skip-nav::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 5px;
  background-color: #314050;
  bottom: -5px;
  left: 0;
  -webkit-transform-origin: right;
          transform-origin: right;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

a.text-link::before, nav a:hover::before, #about a.contact:hover::before,
#about .resume a:hover::before, a#skip-nav:focus::before {
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

img, video {
  width: 100%;
  height: auto;
}

figure {
  margin: 5rem 0;
}
figure figcaption {
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.25rem;
  color: #8D8D8D;
}

nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  margin-top: 14rem;
  font-size: 0.85rem;
  position: sticky;
  top: 14rem;
}
nav a {
  margin-left: 1.5rem;
}
nav a:first-child {
  margin-left: 0;
}
nav .mobile-logo {
  text-transform: uppercase;
  display: none;
}

.active::before, .in-text::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 5px;
  background-color: #314050;
  bottom: -5px;
  left: 0;
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.in-text:hover::before {
  -webkit-transform-origin: right;
          transform-origin: right;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
}

h1, h2, h3, h4 {
  font-family: "Work Sans", Helvetica, Arial, sans-serif;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2.5rem;
  margin: 0.25rem 0;
}

.tag {
  font-weight: 400;
  font-size: 0.875rem;
  margin: 0.25rem 0;
}

.button {
  border: 1px solid #314050;
  border-radius: 50px;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10rem;
  z-index: -2;
}
.button:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #314050;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  border-radius: 10rem;
  z-index: -1;
}
.button:hover, .button:active, .button:focus {
  color: #FFFEF9;
}
.button:hover:before, .button:active:before, .button:focus:before {
  width: 100%;
}

.body-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.body-wrapper .left-area, .body-wrapper .right-area {
  width: 6rem;
  padding: 0 2rem;
}
.body-wrapper .left-area {
  border-right: solid 1px #314050;
}
.body-wrapper .right-area {
  border-left: solid 1px #314050;
}
.body-wrapper .body-area {
  padding: 4.5rem 0 0 0;
  width: 100%;
}
.body-wrapper .general.wrapper {
  margin: 0 5rem;
  min-height: 90vh;
}
.body-wrapper .general.wrapper #about {
  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-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: auto;
}
.body-wrapper .general.wrapper #about .headshot-container .headshot {
  max-width: 20rem;
}
.body-wrapper .general.wrapper #about .headshot-container h1 {
  display: none;
  white-space: nowrap;
}
.body-wrapper .general.wrapper #about .intro {
  max-width: 51ch;
  min-width: 44ch;
  margin: 0 0 0 3rem;
}
.body-wrapper .general.wrapper #about .intro h1 {
  margin: 1rem 0;
}
.body-wrapper .general.wrapper #about .intro h2 {
  font-size: 1.2rem;
  margin: 2.5rem 0 0.75rem 0;
}
.body-wrapper .general.wrapper #about .intro i {
  margin-right: 0.5rem;
}
.body-wrapper .general.wrapper #about .intro .contact {
  margin-top: 3rem;
}
.body-wrapper .general.wrapper #about .intro .resume {
  display: table;
  margin-top: 0.5rem;
}
.body-wrapper .general.wrapper #about .intro .mailto-link {
  position: relative;
  padding: 8px 0 0 0;
}
.body-wrapper .general.wrapper #about .intro .mailto-message {
  top: 1px;
  left: 50%;
  margin-bottom: -5px;
  -webkit-transform: translate(-50%, -100%);
          transform: translate(-50%, -100%);
  position: absolute;
  display: none;
  width: auto;
  white-space: nowrap;
  font-size: 12px;
  background-color: #314050;
  color: #FFFEF9;
  padding: 5px 10px;
  border-radius: 15px;
}
.body-wrapper .general.wrapper #about .intro .mailto-message:after, .body-wrapper .general.wrapper #about .intro .mailto-message:before {
  content: "";
}
.body-wrapper .general.wrapper #about .intro .mailto-message:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(0, 0, 0, 0);
  border-top-color: #314050;
  border-width: 4px;
  margin-left: -4px;
}
.body-wrapper .general.wrapper #about .intro .mailto-link:hover .mailto-message,
.body-wrapper .general.wrapper #about .intro .mailto-link:focus .mailto-message,
.body-wrapper .general.wrapper #about .intro .mailto-link:focus-within .mailto-message {
  display: block;
}
.body-wrapper .body-area.landing {
  margin: 0 auto;
  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: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.body-wrapper .body-area.landing .hero.wrapper {
  margin: 0 5rem 10rem 5rem;
  position: relative;
  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: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.body-wrapper .body-area.landing .hero.wrapper #intro {
  position: relative;
  z-index: 5;
  margin: auto 0;
  width: 40ch;
}
.body-wrapper .body-area.landing .hero.wrapper #intro h1 {
  margin: 0.5rem 0;
}
.body-wrapper .body-area.landing .hero.wrapper #intro h1 span {
  background-color: #FFFEF9;
  border-radius: 20px;
  padding-right: 1rem;
}
.body-wrapper .body-area.landing .hero.wrapper #intro .subtitle {
  font-size: 1.25rem;
  max-width: 34ch;
  margin: 0.5rem 0;
  background-color: #FFFEF9;
}
.body-wrapper .body-area.landing .hero.wrapper .hero-image-container {
  width: 80%;
  height: 30rem;
  border: solid 1px #314050;
  margin-left: -50%;
  position: relative;
}
.body-wrapper .body-area.landing .hero.wrapper .hero-image-container #hero-anim {
  position: absolute;
  -webkit-transform-origin: center;
          transform-origin: center;
  top: 10%;
}
.body-wrapper .body-area.landing .project-container .wrapper {
  padding: 2.75rem 5rem 0 5rem;
  border-top: solid 1px #314050;
  position: relative;
}
.body-wrapper .body-area.landing .project-container .wrapper .header {
  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: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 2rem;
}
.body-wrapper .body-area.landing .project-container .wrapper img {
  width: 100%;
  height: auto;
}
.body-wrapper .body-area.landing .project-container .wrapper .arrow {
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  width: auto;
  margin-right: 5px;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
.body-wrapper .body-area.landing .project-container .wrapper .button.coming {
  -ms-flex-item-align: end;
      align-self: flex-end;
  background-color: #314050;
  color: #FFFEF9;
}
.body-wrapper .body-area.landing .project-container .mockup {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  -webkit-transition: 0.35s;
  transition: 0.35s;
  -webkit-clip-path: inset(0 5rem);
          clip-path: inset(0 5rem);
  margin-bottom: 2.25rem;
}
.body-wrapper .body-area.landing .project-container .mockup img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: 0.35s;
  transition: 0.35s;
}
.body-wrapper .body-area.landing .project-container:hover .arrow {
  -webkit-transform: rotate(-1deg);
          transform: rotate(-1deg);
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: -webkit-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}
.body-wrapper .body-area.landing .project-container:hover .button.coming {
  color: #314050;
}
.body-wrapper .body-area.landing .project-container:hover .button.coming:before {
  background-color: #FFFEF9;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  border-radius: 10rem;
  width: 100%;
  z-index: -1;
}
.body-wrapper .body-area.landing .project-container:hover .mockup {
  -webkit-clip-path: inset(0 0%);
          clip-path: inset(0 0%);
}
.body-wrapper .body-area.project .header {
  text-align: center;
}
.body-wrapper .body-area.project .header img {
  margin-top: 2rem;
}
.body-wrapper .body-area.project .header h1 {
  margin: 0.4rem 0;
}
.body-wrapper .body-area.project .section {
  margin: 3.75rem 10%;
}
.body-wrapper .body-area.project .section .text {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.75fr 3rem 7fr;
  grid-template-columns: 1.75fr 7fr;
  grid-column-gap: 3rem;
  margin: 0.25rem 0;
}
.body-wrapper .body-area.project .section .text h2, .body-wrapper .body-area.project .section .text .filler {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  max-width: 13ch;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1/2;
  margin-top: 6px;
}
.body-wrapper .body-area.project .section .text p {
  margin: 0;
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2/3;
}
.body-wrapper .body-area.project .section .text .project-link, .body-wrapper .body-area.project .section .text .line-break {
  margin-top: 1.5rem;
}
.body-wrapper .body-area.project .section.img {
  margin-bottom: 0;
}
.body-wrapper .body-area.project .section.after-img {
  margin-top: 0;
}
.body-wrapper .body-area.project .multi-img {
  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;
  margin: 5.5rem 0 6rem 0;
}
.body-wrapper .body-area.project .multi-img figure {
  margin: 0;
}
.body-wrapper .body-area.project .multi-img figure:first-child {
  margin-right: 0.5rem;
}
.body-wrapper .body-area.project .multi-img figure:last-child {
  margin-left: 0.5rem;
}
.body-wrapper .body-area.project .multi-img img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.body-wrapper .body-area.project .center-img-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.body-wrapper .body-area.project .center-img-container .half-img {
  max-width: 60%;
}
.body-wrapper .body-area.project .pagination {
  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: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 2rem;
}
.body-wrapper .body-area.project .pagination .arrow.left {
  margin-right: 0.5rem;
}
.body-wrapper .body-area.project .pagination .arrow.right {
  margin-left: 0.5rem;
}
.body-wrapper .body-area.project .pagination.right {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.body-wrapper .right-area {
  position: relative;
}
.body-wrapper .right-area .btt {
  position: fixed;
  bottom: 2rem;
  width: 2.5rem;
  -webkit-transform-origin: center top;
          transform-origin: center top;
  right: 1.5rem;
}
.body-wrapper footer {
  border-top: solid 1px #314050;
  padding: 1rem 5rem;
  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: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.body-wrapper footer p {
  font-size: 0.8em;
}

#maintenance {
  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;
  height: 80vh;
  margin: 2rem;
}
#maintenance h1 {
  font-size: 2.5rem;
  text-align: center;
  margin: 0;
  line-height: 2.75rem;
}
#maintenance i {
  font-size: 5rem;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.slides {
  display: none;
}
.slides img {
  width: 100%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #314050;
  font-weight: bold;
  font-size: 25px;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: #314050;
  color: #FFFEF9;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  -webkit-transition: background-color 0.6s ease;
  transition: background-color 0.6s ease;
}

.slide-active, .dot:hover {
  background-color: #314050;
}

/* Fading animation */