@font-face {
  font-family: "GaramondCorporateBetaWeb-Medium";
  src: url("../webfonts/GaramondCorporateBetaWeb-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "EduDiatype-Medium";
  src: url("../webfonts/EduDiatype-Medium.woff2") format("woff2");
}
html, body {
  margin: 0;
  padding: 0;
  font-family: "GaramondCorporateBetaWeb-Medium";
}

h1 {
  font-weight: normal;
  line-height: 1em;
}

p,
a:link {
  font-weight: normal;
  line-height: 1.2em;
}

a:link,
a:visited {
  color: black;
  text-decoration: none;
}

.header {
  z-index: 10;
  position: fixed;
  top: 0;
  right: 0;
  padding: 2rem;
}
.header img {
  display: block;
  width: 75px;
}
.header img:hover {
  cursor: pointer;
}

.nav {
  z-index: 20;
  position: fixed;
  top: 0;
  left: 50%;
  width: 60vw;
  height: 100vh;
  transform: translate(-50%, 0);
  background-color: white;
  text-align: center;
  display: flex;
  align-items: center;
  box-shadow: 0 0 50px rgba(85, 52, 255, 0.5);
}
.nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav ul li {
  margin: 0;
  padding: 0;
}
.nav ul a:link,
.nav ul a:visited {
  text-decoration: none;
  font-size: 5vw;
}
.nav ul a:hover {
  color: #5534FF;
}

.footer {
  text-align: center;
  padding: 8rem 2rem 2rem;
  clear: both;
}
.footer img {
  display: inline-block;
  height: 40px;
  margin: 0 2rem;
}
.footer a:link {
  font-size: 0 !important;
}

.home .symbol-white,
.default .symbol-white,
.articles .symbol-white,
.article .symbol-white,
.experiments .symbol-white,
.experiment .symbol-white,
.tools .symbol-white,
.tool .symbol-white {
  display: none !important;
}

.projects .symbol-black,
.publication .symbol-black {
  display: none !important;
}

.home {
  background-color: #ff0;
}
.home a:link,
.home a:visited {
  font-family: "GaramondCorporateBetaWeb-Medium";
  font-size: 10vw;
  color: black;
}
.home .intro {
  background-color: #5534FF;
  padding-top: 2rem;
}
.home .intro p {
  font-size: 2vw;
  max-width: 800px;
}
.home .projects {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  grid-gap: 0;
}
.home .projects .project {
  position: relative;
  height: 33.333vh;
  width: 25vw;
}
.home .projects .project img {
  display: block;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home .projects .project a:link,
.home .projects .project a:visited {
  text-decoration: none;
  font-family: "GaramondCorporateBetaWeb-Medium";
}
.home .tool-library {
  position: relative;
}
.home .tool-library .tool {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.home .tool-library .tool .stl {
  height: 100% !important;
}
.home .tool-library .tool .stl div {
  height: 100% !important;
}

.projects {
  background-color: #5534FF;
  color: white;
}
.projects .intro {
  padding-bottom: 5em;
}
.projects .intro p {
  font-size: 2vw;
  max-width: 800px;
}
.projects .intro .submit {
  display: inline-block;
  border: 1px solid white;
  border-radius: 2em;
  padding: 0.5em 1em;
  margin-top: 1em;
  color: white;
}
.projects .intro .submit:hover {
  background-color: white;
  color: #5534FF;
  cursor: pointer;
}
.projects .list {
  display: flex;
  flex-flow: row wrap;
  padding: 1rem;
}
.projects .list .project {
  flex: 0 0 calc(33.333% - 2rem);
  position: relative;
  padding: 1rem;
  font-family: "EduDiatype-Medium";
  text-rendering: geometricPrecision;
  margin-bottom: 1rem;
}
.projects .list .project img {
  width: 100%;
  height: 35vh;
  object-fit: cover;
  object-position: center;
}
.projects .list .project a:link,
.projects .list .project a:visited {
  color: white;
  text-decoration: none;
  font-size: 2vw;
  font-family: "GaramondCorporateBetaWeb-Medium";
}
.projects .list .project a:hover {
  color: #ff0;
}

.experiments {
  background-color: #ff0;
}
.experiments .intro {
  color: black;
}
.experiment {
  background-color: #ff0;
}
.experiment .row {
  display: flex;
  flex-flow: row nowrap;
  padding: 0.5rem 1rem;
}
.experiment .row .col-2 {
  flex: 0 0 100%;
}
.experiment .row .col-1 {
  flex: 0 0 50%;
}
.experiment .row .col-1,
.experiment .row .col-2 {
  box-sizing: border-box;
  padding: 1rem;
}
.experiment .row .col-heading {
  padding: 10rem 0;
  display: flex;
  align-items: center;
}
.experiment .row .col-heading h1 {
  margin: 0 auto;
  font-size: 5vw;
  text-align: center;
}
.experiment .row .col-text {
  box-sizing: border-box;
  font-family: "EduDiatype-Medium";
}
.experiment .row .col-text p {
  max-width: 650px;
  padding-right: 3rem;
  margin: 0 0 1em;
}
.experiment .row .col-text strong {
  font-weight: normal;
  font-family: "EduDiatype-Medium";
  text-transform: uppercase;
}
.experiment .row .col-image img {
  display: block;
  width: 100%;
}

.articles .intro,
.article .intro {
  color: black;
}
.articles .intro,
.articles .content,
.article .intro,
.article .content {
  float: right;
  position: relative;
  max-width: 50%;
  padding: 2rem;
  margin-right: 6rem;
  box-sizing: border-box;
}
.articles .intro .block-heading,
.articles .intro .block-text,
.articles .intro .block-image,
.articles .intro .block-video,
.articles .content .block-heading,
.articles .content .block-text,
.articles .content .block-image,
.articles .content .block-video,
.article .intro .block-heading,
.article .intro .block-text,
.article .intro .block-image,
.article .intro .block-video,
.article .content .block-heading,
.article .content .block-text,
.article .content .block-image,
.article .content .block-video {
  margin: 0 0 1rem;
}
.articles .intro .block-heading h1,
.articles .content .block-heading h1,
.article .intro .block-heading h1,
.article .content .block-heading h1 {
  font-size: 2vw;
  color: #5534FF;
  margin: 0;
}
.articles .intro .block-heading a:link,
.articles .intro .block-heading a:visited,
.articles .content .block-heading a:link,
.articles .content .block-heading a:visited,
.article .intro .block-heading a:link,
.article .intro .block-heading a:visited,
.article .content .block-heading a:link,
.article .content .block-heading a:visited {
  color: #5534FF;
}
.articles .intro .block-text,
.articles .content .block-text,
.article .intro .block-text,
.article .content .block-text {
  font-family: "EduDiatype-Medium";
}
.articles .intro .block-text p,
.articles .content .block-text p,
.article .intro .block-text p,
.article .content .block-text p {
  max-width: 650px;
  margin: 0 0 1em;
}
.articles .intro .block-image img,
.articles .content .block-image img,
.article .intro .block-image img,
.article .content .block-image img {
  display: block;
  width: 100%;
}
.articles .intro .block-video video,
.articles .content .block-video video,
.article .intro .block-video video,
.article .content .block-video video {
  display: block;
  width: 100%;
}

.tools .intro {
  color: black;
  padding-bottom: 5em;
}
.tools .intro p {
  font-size: 2vw;
  max-width: 800px;
}
.tools .intro .submit {
  display: inline-block;
  border: 1px solid #5534FF;
  border-radius: 2em;
  padding: 0.5em 1em;
  margin-top: 1em;
  color: #5534FF;
}
.tools .intro .submit:hover {
  background-color: #5534FF;
  color: white;
  cursor: pointer;
}
.tools .list {
  display: flex;
  flex-flow: row wrap;
  padding: 1rem;
}
.tools .list .tool {
  flex: 0 0 calc(33.333% - 2rem);
  position: relative;
  padding: 1rem;
  font-family: "EduDiatype-Medium";
  text-rendering: geometricPrecision;
  margin-bottom: 1rem;
  overflow: hidden;
  text-align: center;
}
.tools .list .tool a:link,
.tools .list .tool a:visited {
  color: #5534FF;
  text-decoration: none;
  font-size: 2vw;
}
.tools .list .tool a:hover {
  color: #ff0;
}

.tool .intro {
  padding-bottom: 5em;
  color: black;
}
.tool .intro a:link,
.tool .intro a:visited {
  color: #5534FF;
}
.tool .intro p {
  font-size: 2vw;
  max-width: 800px;
}
.tool .intro .stl-download {
  display: inline-block;
  border: 1px solid #5534FF;
  border-radius: 2em;
  padding: 0.5em 1em;
  margin-top: 1em;
  color: #5534FF;
}
.tool .intro .stl-download:hover {
  background-color: #5534FF;
  color: white;
  cursor: pointer;
}

.publication {
  background-color: #5534FF;
}

.learning-nav {
  box-sizing: border-box;
  width: 25%;
  padding: 2rem;
  position: sticky;
  top: 0;
}
.learning-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.learning-nav ul li {
  margin: 0;
  padding: 0;
}
.learning-nav ul li a {
  font-size: 2vw;
}
.learning-nav ul li a:hover {
  color: #5534FF;
}
.learning-nav ul li.nav-active a:link,
.learning-nav ul li.nav-active a:visited {
  color: #5534FF;
}

.full-height {
  height: 100vh;
  transition: height 0.5s ease-in-out;
}

.full-height-squeezed {
  height: 50vh;
}

.default {
  background-color: #ff0;
}
.default .intro {
  color: black;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
}
.hero h1,
.hero a:link {
  font-size: 10vw;
  text-align: center;
  margin: 0 auto;
  z-index: 10;
  transition: font-size 0.5s ease-in-out;
}
.hero a:hover {
  color: #ff0;
}
.hero img, .hero video {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
.hero.full-height-squeezed h1 {
  font-size: 5vw;
}

.intro {
  color: white;
  text-rendering: geometricPrecision;
  font-family: "EduDiatype-Medium";
  padding: 2rem;
  padding-bottom: 5rem;
  box-sizing: border-box;
}
.intro.no-pt {
  padding-top: 0;
}
.intro p {
  margin: 0 0 1rem;
  font-size: 2.5vw;
  max-width: 800px;
}
.intro p:last-child {
  margin-bottom: 0;
}
.intro p a:link,
.intro p a:visited {
  color: #5534FF;
}
@media screen and (min-width: 1200px) {
  .intro p {
    font-size: 24px;
  }
}

@media screen and (max-width: 1024px) {
  .header {
    z-index: 30;
    padding: 1rem;
  }
  .header img {
    width: 50px;
  }

  .nav {
    left: 0;
    width: 100vw;
    height: 100vh;
    transform: translate(0%, 0);
  }
  .nav ul a:link,
.nav ul a:visited {
    font-size: 2rem;
  }

  .footer {
    padding: 4rem 2rem 2rem;
  }
  .footer img {
    display: block;
    height: 30px;
    margin: 2rem auto;
  }

  .home a:link,
.home a:visited {
    font-size: 2rem;
  }
  .home .intro {
    padding: 2rem;
  }
  .home .intro p {
    font-size: 1rem;
  }
  .home .projects {
    grid-template-columns: repeat(2, 1fr);
  }
  .home .projects .project {
    height: 16.666vh;
    width: 50vw;
  }

  .projects .intro {
    padding-bottom: 0;
  }
  .projects .intro p {
    font-size: 1rem;
    max-width: 100%;
  }
  .projects .intro .submit {
    display: inline-block;
    margin: 2em auto;
  }
  .projects .list {
    display: block;
  }
  .projects .list .project {
    padding: 1rem;
    margin-bottom: 0;
  }
  .projects .list .project a:link,
.projects .list .project a:visited {
    font-size: 1rem;
  }

  .experiments {
    background-color: #ff0;
  }
  .experiments .intro {
    color: black;
  }
  .experiment {
    background-color: #ff0;
  }
  .experiment .row {
    padding: 1rem 2rem;
    display: block;
  }
  .experiment .row .col-1,
.experiment .row .col-2 {
    padding: 0;
  }
  .experiment .row .col-heading {
    padding: 5rem 0;
  }
  .experiment .row .col-heading h1 {
    font-size: 2rem;
  }
  .experiment .row .col-text p {
    max-width: 100%;
    padding-right: 0;
  }
  .experiment .row .col-text strong {
    font-weight: normal;
    font-family: "EduDiatype-Medium";
    text-transform: uppercase;
  }
  .experiment .row .col-image {
    padding: 1rem 0;
  }
  .experiment .row .col-image img {
    display: block;
    width: 100%;
  }

  .articles .intro,
.articles .content,
.article .intro,
.article .content {
    float: none;
    max-width: 100%;
    margin-right: 0;
  }
  .articles .intro .block-heading h1,
.articles .content .block-heading h1,
.article .intro .block-heading h1,
.article .content .block-heading h1 {
    font-size: 1rem;
  }

  .tools .list {
    display: block;
    padding: 1rem;
  }
  .tools .list .tool {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  .tools .list .tool a:link,
.tools .list .tool a:visited {
    font-size: 1rem;
  }

  .publication {
    background-color: #5534FF;
  }

  .learning-nav {
    width: 100%;
    padding: 2rem;
    position: relative;
  }
  .learning-nav ul li a {
    font-size: 1rem;
  }

  .hero h1,
.hero a:link {
    font-size: 10vw;
    text-align: center;
    margin: 0 auto;
    z-index: 10;
  }
  .hero a:hover {
    color: #ff0;
  }
  .hero img, .hero video {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }
  .hero.full-height-squeezed h1 {
    font-size: 2rem;
  }

  .full-height-mobile {
    height: auto;
  }

  .full-height-squeezed {
    height: 30vh;
  }

  .intro p {
    margin: 0 0 1rem;
    font-size: 1rem;
    max-width: 100%;
  }
}