/* Inter webfont import */

@import url("https://rsms.me/inter/inter.css");
html {
  font-family: "Inter", sans-serif;
}
@supports (font-variation-settings: normal) {
  html {
    font-family: "Inter var", sans-serif;
  }
}

/* Start of Reset code */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* End of Reset code */

html,
body {
  background: white;
  color: #172b4d;
  font-family: "Inter", sans-serif;
  font-size: 100%;
  font-weight: 300;
  line-height: 1.5;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-width: 320px;
  width: 100%;
}

i {
  font-style: italic;
}

/*** Globals ***/
span.wave {
  animation-delay: 3s;
  animation-name: wave-animation;
  animation-duration: 2.5s;
  animation-iteration-count: 1;
  transform-origin: 70% 70%;
  display: inline-block;
  cursor: none;
}

span.wave:hover {
  animation-delay: 0s;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-10deg);
  }
  20% {
    transform: rotate(12deg);
  }
  30% {
    transform: rotate(-10deg);
  }
  40% {
    transform: rotate(9deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.wrapper {
  background: #f4f5f7;
}

.bg__augment-blue {
  background-color: #0b235a;
}
.bg__augment-purple {
  background-color: #3c3eb4;
}

.bg__augment-dark {
  background: #00205b; /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #00205b 0%,
    #3b41ad 50%,
    #8d63ca 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #00205b 0%,
    #3b41ad 50%,
    #8d63ca 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #00205b 0%,
    #3b41ad 50%,
    #8d63ca 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00205b', endColorstr='#8d63ca',GradientType=0 ); /* IE6-9 */
}
.bg__augment-light {
  background: #84c1f9; /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #84c1f9 0%,
    #b2d3f5 25%,
    #ffffff 78%,
    #ffffff 83%,
    #ffe7d2 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #84c1f9 0%,
    #b2d3f5 25%,
    #ffffff 78%,
    #ffffff 83%,
    #ffe7d2 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #84c1f9 0%,
    #b2d3f5 25%,
    #ffffff 78%,
    #ffffff 83%,
    #ffe7d2 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#84c1f9', endColorstr='#ffe7d2',GradientType=0 ); /* IE6-9 */
}

.spacer-pb {
  padding-bottom: 6rem;
}

.spacer-mb {
  margin-bottom: 6rem;
}

.section__title {
  color: rgba(0, 24, 55, 0.6);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  text-align: center;
  /* border-bottom: 1px solid rgba(0, 24, 56, 0.1); */
  /* margin-bottom: 6rem; */
}

a {
  color: #172b4d;
  font-weight: 400;
  display: inline-block;
  position: relative;
  text-decoration: none;
  text-underline-offset: 0rem;
  text-decoration-color: rgba(0, 82, 204, 0);
  transition: color 0.2s, text-decoration 0.2s, text-underline-offset 0.2s,
    text-decoration-color 0.2s;
}

a:hover {
  color: #0052cc;
  text-decoration: underline;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.5rem;
  text-decoration-color: rgba(0, 82, 204, 1);
}

a:hover .tag {
  background: #0052cc;
}

/*** Header ***/

.main-header {
  position: fixed;
  top: 0;
  z-index: 9999;

  /* max-width: 1280px; */
  width: calc(100% - 3rem);
  padding: 1rem 1.5rem;
  /* margin: 0 auto; */

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header__back {
  font-size: 1.5rem;
  line-height: 3rem;
  text-align: center;
  vertical-align: middle;

  /* float: left; */
  /* flex-grow: 1; */
}
.header__back:hover {
  text-decoration: none;
}

.header__nav ul {
  /* margin: 1rem 0 0.5rem; */
  text-align: center;
}
.header__nav li {
  display: inline;
}
.header__nav a {
  font-size: 1.125rem;
  line-height: 3rem;
  display: inline-block;
  padding-left: 3rem;
}

/*** Intro ***/

.intro {
  font-size: 1.5rem;
  background: white;
  padding: 6rem 0 4.5rem 0;
}

.intro p {
  margin: 0 auto;
  margin-bottom: 2rem;
  width: 75%;
  max-width: 45rem;
  /* max-width: 75ch; */
}

.intro p:last-child {
  margin-bottom: 0;
}

/*** Work ***/

.work {
  margin: 0 auto;
  margin-bottom: 6rem;
  width: 75%;
  max-width: 45rem;

  font-size: 1.125rem;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
}

.work p {
  color: rgba(0, 24, 55, 0.6);
}

.work__project {
  grid-column: 1 / span 4;
  position: relative;
  top: 0;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}

.work__project:hover {
  text-decoration: none;
}

.work__project:hover > img {
  transition: all 0.2s ease;
  box-shadow: 0px -8px 32px 0px rgba(0, 0, 0, 0.15);
}

.work__description {
  font-size: 1.5rem;
  line-height: 2.5rem;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
}
.work__description-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
}
.work__description-link {
  transform: translateX(-0.125em);
  transition: 0.2s ease;
}
.work__project:hover .work__description-link {
  transform: translateX(0.125em);
}
.work__project-type {
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  border: 2px solid;
  border-radius: 2rem;
  padding: 0.2rem 0.75rem;
  position: relative;
  top: -0.1rem;
}
.work__project:hover .work__project-type {
  opacity: 1;
}
.work__icon-link {
  font-weight: 300;
}
.work__icon-link-external {
  font-weight: 300;
  position: relative;
  top: 0.125rem;
}
.work__description-subtitle {
  color: rgba(0, 24, 55, 0.6);
  font-size: 1.125rem;
  line-height: 1.3333;
  margin-bottom: 0.3125em;
}

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

.work__teaser {
  grid-column: span 2;
}

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

/*** News ***/

.highlights {
  padding: 6rem 0;
  padding-top: 4rem;
}

.news {
  margin: 0 auto;
  margin-bottom: 3rem;
  width: 75%;
  max-width: 45rem;
  /* max-width: 75ch; */

  /* display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem; */
}

.news:last-child {
  margin-bottom: 0;
}

.news__title {
  color: rgba(0, 24, 55, 0.6);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.3333;
  margin-bottom: 0.3125em;
}

.news__link {
  font-size: 1.5rem;
  /* font-weight: 400; */
}
.news__link:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.5rem;
}

.tag {
  background: rgba(0, 24, 56, 0.6);
  border-radius: 2rem;
  color: white;
  font-size: 1.125rem;
  letter-spacing: 0.0625rem;
  line-height: 1.3333;
  padding: 0.4rem 0.8rem;
  position: relative;
  top: -0.125rem;
  left: 0.6rem;
}

.strike {
  text-decoration: line-through;
}

/*** Project Page ***/

.project__meta {
  padding: 6rem 0 4.4rem 0;
  margin: 0 auto;
  width: 75%;
  max-width: 45rem;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  grid-template-areas:
    "title title title title"
    "overview overview overview overview"
    "info info info info";
}

.project__intro {
  grid-area: title;
}

.project__overview {
  grid-area: overview;
  font-size: 1.25rem;
  line-height: 1.8;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.project__info {
  grid-area: info;
  display: flex;
  flex-wrap: wrap;
}

.project__info > div {
  flex-grow: 1;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
}

.project__info > div:last-child {
  padding-right: 0;
}

.project__description {
  /* grid-area: description; */
  /* margin-bottom: 4rem; */
  margin: 0 auto;
  width: 75%;
  max-width: 45rem;
}

.project__description-timeline {
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  min-height: 100vh;
  padding: 0 3rem;
}
.project__description-timeline > figcaption {
  max-width: 45rem;
  margin-right: 3rem;
  flex-grow: 1;
  flex-basis: 0;
}

.project__description-timeline > div {
  position: relative;
  flex-grow: 1;
  flex-basis: 0;
  min-height: 100vh;
  max-width: 45rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  justify-content: space-between;
  background-image: url(../assets/images/augment/augment-timeline.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position-y: 100%; /* Animate this from 0% to 100% to create scrolling effect */
}

.project__description-timeline > div > img {
  width: 100%;
}

.project__description-timeline > div > picture > img {
  width: 100%;
  position: absolute;
  bottom: 0;
}

.project__description-timeline > div > img:first-of-type {
  visibility: hidden;
}

.project__description > p {
  margin-bottom: 2rem;
}

.project__image {
  margin: 0 auto;
  max-width: 45rem;
}

.project__image img {
  width: 100%;
}

.project__image-fullscreen {
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.project__image-centered {
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.project__image-centered img {
  width: 50%;
  max-width: 64rem;
}

.project__image-fullscreen img {
  width: 100%;
}

.project__triplet {
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  min-height: calc(100vh - 6rem);
  padding: 3rem 0;
}

.project__triplet figure {
  margin: 3rem 0;
  padding: 0 0.75rem;
}

.project__triplet img,
video {
  height: calc(90vh - 12rem);
}

.project__triplet video {
  padding-top: 1rem;
}

.project__triplet figcaption {
  color: #ffffff;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.title {
  font-size: 2.5rem;
  font-weight: 500;
}

.title__meta {
  font-size: 1.25rem;
}

.text {
  font-size: 1.25rem;
  /* line-height: 1.8; */
  line-height: 1.6;
}

.subtitle {
  font-size: 1.5rem;
  /* line-height: 1.8; */
  font-weight: 500;
  padding-bottom: 0.75rem;
}

.meta {
  color: rgba(0, 24, 55, 0.6);
  /* font-size: 1.125rem;
  line-height: 1.3333;
  margin-bottom: 0.3125em; */
  font-weight: 400;
}

.meta_subtitle {
  /* font-size: 1.25rem; */
  font-weight: 600;
}

.list-item {
  font-size: 1.25rem;
  line-height: 1.6;
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 1.25rem;
  margin-bottom: 1.25rem;
  padding-left: 0.625rem;
}

/*** Footer ***/

.footer {
  background: #f4f5f7;
  border-top: 1px solid rgba(0, 24, 56, 0.1);
  padding: 4rem 0;
}

.footer__up {
  font-size: 1.375rem;
  line-height: 1.375rem;
  text-align: center;
  color: rgba(0, 24, 55, 0.6);
  margin-left: 1.5rem;
  float: left;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.5rem;
  position: relative;
  left: -0.5rem;
}
.footer__up:hover {
  text-decoration: none;
}

.social__list {
  margin: 0 auto;
  width: 75%;
  max-width: 45rem;
  font-size: 1.5rem;
  list-style: none;
}

.social__item {
  display: inline;
  padding-right: 1.5rem;
}

.social__link {
  color: rgba(0, 24, 55, 0.6);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.3333;
}

/* Responsive Design */

@media only screen and (max-width: 720px),
  only screen and (min-device-width: 320px) and (max-device-width: 720px) and (orientation: portrait),
  only screen and (min-device-width: 320px) and (max-device-width: 720px) and (orientation: landscape) {
  /*** Globals ***/

  html {
    font-size: 14px;
  }

  .spacer-pb {
    padding-bottom: 4rem;
  }

  .spacer-mb {
    margin-bottom: 4rem;
  }

  /*** Header ***/

  .main-header {
    background-color: white;
    /* border-bottom: 1px solid rgba(0, 24, 56, 0.1); */
  }

  .header__nav a {
    padding-left: 1.5rem;
  }

  /*** Work ***/

  .work {
    margin-bottom: 4.5rem;

    width: calc(100% - 4rem);
    width: -webkit-calc(100% - 4rem);
    width: -moz-calc(100% - 4rem);
    width: -o-calc(100% - 4rem);
    width: -ms-calc(100% - 4rem);
  }
  .work__project-type {
    opacity: 1;
  }

  /*** Intro ***/

  .intro {
    padding: 4rem 0 0.75rem 0;
    padding: 6rem 0 3rem 0;
  }

  .intro p {
    width: calc(100% - 4rem);
    width: -webkit-calc(100% - 4rem);
    width: -moz-calc(100% - 4rem);
    width: -o-calc(100% - 4rem);
    width: -ms-calc(100% - 4rem);
  }

  /*** Highlight ***/

  .highlights {
    padding: 4rem 0;
  }

  .news {
    width: calc(100% - 4rem);
    width: -webkit-calc(100% - 4rem);
    width: -moz-calc(100% - 4rem);
    width: -o-calc(100% - 4rem);
    width: -ms-calc(100% - 4rem);
  }

  /*** Project Page ***/

  .project__meta {
    width: calc(100% - 4rem);
    width: -webkit-calc(100% - 4rem);
    width: -moz-calc(100% - 4rem);
    width: -o-calc(100% - 4rem);
    width: -ms-calc(100% - 4rem);
    padding: 4rem 0 0.75rem 0;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-areas:
      "title title"
      "overview overview"
      "info info";
  }

  .project__description {
    width: calc(100% - 4rem);
    width: -webkit-calc(100% - 4rem);
    width: -moz-calc(100% - 4rem);
    width: -o-calc(100% - 4rem);
    width: -ms-calc(100% - 4rem);
  }

  .project__description-timeline {
    flex-direction: column;
    padding: 4rem 0 0 0;
  }

  .project__description-timeline > figcaption {
    margin: 0 0 3rem 0;
    padding: 0 2rem;
  }

  .project__description-timeline > div {
    background-image: url(../assets/images/augment/augment-timeline-640.png);
    width: 100%;
    max-width: 100%;
  }

  .project__description-timeline > div > img:first-of-type {
    visibility: visible;
  }

  .project__image {
    margin: 0 2rem;
  }

  .project__triplet {
    flex-direction: column;
  }

  .project__triplet figure {
    font-size: 1rem;
    margin: 24px 0;
  }
  .project__triplet figure:first-child {
    margin-top: 48px;
  }
  .project__triplet figure:last-child {
    margin-bottom: 48px;
  }

  .project__triplet figcaption {
    margin-bottom: 0.5rem;
  }

  /*** Footer ***/

  .footer__up {
    float: none;
    margin-bottom: 1rem;
  }

  .social__list {
    width: calc(100% - 4rem);
    width: -webkit-calc(100% - 4rem);
    width: -moz-calc(100% - 4rem);
    width: -o-calc(100% - 4rem);
    width: -ms-calc(100% - 4rem);
  }

  .social__link {
    height: 1.5rem;
    margin-bottom: 0.75rem;
  }
}
