/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  opacity: 0.8;
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/* Custom Styles */
:root {
  --font-color: #E1E1E1;
  --primary-color: #F6DF00;
  --secondary-color: #97979a;
  --box-font-color: #F6DF00;
  --bg-color: #282831;
  --opacity-default: 0.7;
  --opacity-hover: 1;
}

[data-theme="light"] {
  --font-color: #000;
  --box-font-color: #000;
  --primary-color: #CC0000;
  --secondary-color: #000;
  --bg-color: #FFF;
  --opacity-default: 1;
  --opacity-hover: 0.6;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  position: relative;
  margin: 0 auto;
  max-width: 70em;
  padding: 1em 0;
  background: #282831;
  background: var(--bg-color);
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-style: normal;
  color: #E1E1E1;
  color: var(--font-color);
  transition: 0.5s;
}

/* Text styles */
a {
  color: #F6DF00;
  color: var(--primary-color);
  text-decoration: none;
  opacity: 0.7;
  opacity: var(--opacity-default);
  transition: 0.5s;
}

a.full-opacity {
  opacity: 0.7;
  opacity: var(--opacity-default);
}

a:hover, a:focus {
  opacity: 1;
  opacity: var(--opacity-hover);
}

h1 {
  margin: 0 auto;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6em;
  line-height: 1.6em;
  font-weight: 500;
}

h3 {
  margin: 0 auto;
  font-size: 16px;
  font-weight: 300;
}

img {
  max-width: 100%;
}

.hidden {
  display: none;
}

/* Navbar */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 5%;
}

.nav-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 1em;
  gap: 1em;
}

.logo {
  height: 65px;
}

.invert {
  filter: invert(1);
}

a.contact-link {
  color: #97979a;
  color: var(--secondary-color);
  text-align: right;
  font-weight: 500;
  font-size: 1.15em;
  line-height: 29px;
  text-align: right;
  text-transform: uppercase;
}

a.contact-link:hover {
  color: #F6DF00;
  color: var(--primary-color);
}

/* Header on project pages */
.project-header {
  text-align: center;
  margin-bottom: 2em;
}

/* Content of all pages */
.content {
  margin: 0 10% 10%;
}

/* Grid */
.grid {
  margin-top: 3.5em;
  display: grid;
  grid-template-columns: repeat(auto-fill, 274px);
  grid-gap: 20px;
  justify-content: center;
  align-content: flex-start;
}

/* Project box in homepage grid */
.project-box {
  position: relative;
  width: 274px;
  height: 274px;
}

.project-box img {
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s;
}

.project-box-title {
  color: #F6DF00;
  color: var(--box-font-color);
  font-weight: 800;
  font-size: 30px;
  font-style: normal;
  line-height: 41px;
  text-align: left;
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
  width: 7em;
  padding: 0 0 0.6em 0.8em;
  transition: 0.3s;
  opacity: 0;
}

/* Project box overlay */
.project-box:hover .project-box-title {
  z-index: 2;
  opacity: 1;
}

.project-box:hover img {
  filter: grayscale(100%);
  opacity: 0.2;
}

.down-chevron {
  padding: 20px;
}

.overlay-close {
  text-align: center;
  cursor: pointer;
}

/* Project Image Grid */
.project-image-grid {
  margin-bottom: 2.5em;
  margin-top: 2em;
  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  grid-gap: 20px;
  justify-content: center;
  align-content: flex-start;
}

.featurebox1+.featurebox2 {
  grid-column-start: 1;
}

/* Project image box in project grid */
.project-image-box {
  position: relative;
  width: 150px;
  height: 150px;
}

.project-image-box img {
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s;
}

/* Slider (feature boxes) */
.slide-wrap {
  position: relative;
  margin: 0 auto;
  transition: 300ms;
  margin-bottom: 5%;
}

.slideshow {
  position: relative;
}

.slide-content img {
  max-height: 27em;
}

.slide-content a {
  z-index: 50;
}

.slide-entry {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: 300ms;
}

.slide-entry.active {
  opacity: 1;
  visibility: visible;
}

.slide-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 0;
  top: 50%;
  transform: translateY(-60%);
  width: 100%;
  list-style: none;
  padding: 0;
  pointer-events: none;
}

.slide-nav li {
  cursor: pointer;
  pointer-events: auto;
}

.slideshow a {
  opacity: 1;
}

/* Video slides */
.embed-container {
  position: relative;
  padding-bottom: 40%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.embed-container iframe {
  max-height: 25em;
}

/* Slider chevron hover styles */
.icon svg {
  transition: 0.5s;
}

.icon.large-chevron svg {
  stroke: #D0D0D0;
  stroke-opacity: .3;
  stroke-width: 6;
}

.icon.down-chevron svg {
  stroke: #D0D0D0;
  stroke-opacity: .3;
  stroke-width: 4;
}

.icon.overlay-close svg {
  stroke: #D0D0D0;
  stroke-opacity: .3;
  stroke-width: 4;
}

.icon svg:focus, .icon svg:hover {
  stroke-opacity: 1;
}

.icon img:focus, .icon img:hover {
  filter: brightness(0) saturate(100%) invert(99%) sepia(0%) saturate(0%) hue-rotate(22deg) brightness(105%) contrast(100%);
}

/* Video feature */
.video-feature {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 10%;
}

.video-feature iframe, .video-feature object, .video-feature embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* PDF feature */
.pdf-feature {}

/* Overlay */
.under-overlay {
  transition: 0.5s;
}

.overlay {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 100%;
  overflow-y: hidden;
  left: 0;
  transition: 0.5s;
  z-index: 100;
  margin-top: -40px;
}

.overlay-wrapper {
  width: 100%;
  position: relative;
}

.overlay-content {
  margin: 0 auto;
  padding-top: 1.5em;
  width: 40%;
}

/* Project description */
div.project {
  margin: 0 15% 0 15%;
}

/* Contact page */
.biography-wrapper {
  display: block;
}

.exhibition-record {
  font-size: 1.1em;
  font-weight: 400;
}

.contact-text {
  margin: 2em;
}

/* 404 page */
.error-wrapper {
  text-align: center;
  display: block;
  margin: 2em;
}

/* Start Toggle Switch */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  opacity: 0.7;
  opacity: var(--opacity-default);
  transition: 0.5s;
  position: absolute;
  top: 2.43em;
  right: 1em;
}

.theme-switch-wrapper:hover {
  opacity: 1;
  opacity: var(--opacity-hover);
}

.theme-switch {
  display: inline-block;
  height: 1.2em;
  position: relative;
  width: 2.3em;
}

.theme-switch input {
  display: none;
}

.switch {
  background-color: #E1E1E1;
  background-color: var(--font-color);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.switch:before {
  background-color: #282831;
  background-color: var(--bg-color);
  bottom: 0.184em;
  content: "";
  height: 0.8em;
  left: 0.2em;
  position: absolute;
  transition: .4s;
  width: 0.8em;
}

input:checked+.switch {
  background-color: #E1E1E1;
  background-color: var(--font-color);
}

input:checked+.switch:before {
  transform: translateX(1.05em);
}

.switch.round {
  border-radius: 35px;
}

.switch.round:before {
  border-radius: 50%;
}

/* End Toggle Switch */
/* Desktop */
@media only screen and (min-width: 768px) {
  .biography-wrapper {
    display: flex;
    width: 100%;
    margin-top: 3em;
  }

  .contact-text {
    flex-basis: 60%;
    margin: 0;
    padding-right: 6em;
  }

  .contact-image {
    flex-basis: 40%;
    align-self: flex-start;
    min-width: 0;
  }
}

@media only screen and (min-width: 600px) and (max-width: 1000px) {
  .contact-text, .contact-image {
    flex-basis: 50%;
  }
}

/* Tablet */
@media only screen and (max-width: 768px) {
  div.project {
    margin: 0 5% 0 5%;
  }

  .contact-text {
    flex-basis: 50%;
  }

  .contact-image {
    flex-basis: 50%;
  }

  .theme-switch-wrapper {
    position: relative;
    top: 0;
  }
}

/* Mobile */
@media only screen and (max-width: 600px) {
  .nav {
    flex-direction: column;
    margin-bottom: 10%;
  }

  .nav-left {
    align-items: center;
    padding-bottom: 1rem;
  }

  .theme-switch-wrapper {
    right: 0;
  }

  .logo {
    width: 100%;
    height: auto;
  }

  .project-header {
    display: none;
  }

  .mobile-project {
    display: inline-block;
    margin: 1em 3em;
  }

  .project-image-grid {
    grid-template-columns: repeat(auto-fit, 100px);
    grid-gap: 20px;
    margin-bottom: 1.5em
  }

  .project-image-box {
    width: 100px;
    height: 100px;
  }

  div.project {
    display: none;
  }

  /* Project box overlay */
  .project-box .project-box-title {
    z-index: 2;
    opacity: 1;
  }

  .project-box img {
    filter: grayscale(70%);
    opacity: 0.4;
  }

  .content {
    margin: 0 auto;
  }

  .slide-content img {
    max-height: none;
    height: auto;
    width: 100%;
  }

  .video-feature {
    padding-top: 20%;
    margin-bottom: 0;
  }

  .multiple-slides::after {
    padding-top: 10%;
    font-size: .7em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    text-align: center;
    flex-basis: 1%;
    content: "Swipe to advance";
    color: #E1E1E1;
  }
}

.gscrollbar-fixer {
  margin-right: auto !important;
}

/* XXS Mobile and up  */
@media only screen and (min-width: 340px) {
  .featurebox2 {
    margin-top: 1.5em;
  }
}

/* Touchscreen Devices */
@media (hover: none) and (pointer: coarse) {

  /* Project box overlay */
  .project-box .project-box-title {
    z-index: 2;
    opacity: 1;
  }

  .project-box img {
    filter: grayscale(70%);
    opacity: 0.4;
  }
}