/* Reset  */

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;
}

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;
}

img, iframe {
  vertical-align: bottom;
  max-width: 100%;
}

input, textarea, select {
  font: inherit;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Reset end  */


/* Document Styling */

@font-face {
  font-family: 'Diatype';
  src: url(/assets/fonts/ABCDiatypeVariableEdu.ttf) 
  format("ttf"), url(/assets/fonts/ABCDiatypeVariableEdu.woff) 
  format("woff"), url(/assets/fonts/ABCDiatypeVariableEdu.woff2) 
  format("woff2");

  font-variation-settings: "wght" 500, "ital" 0;
  -webkit-font-feature-settings: "ss07" 1;
       -moz-font-feature-settings: "ss07" 1;
         -o-font-feature-settings: "ss07" 1;
            



}

/* Video background */

#background-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -3;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
}

html {
    font-family: 'Diatype';
    font-feature-settings: "zero" 1;
    scroll-behavior: smooth;
    
}

body {
  background-color: rgb(34, 35, 30);

}

main {
  background-color: rgb(34, 35, 30);
}

/* Navigation Elements */

nav {
    position: fixed;
    width: 100%;
    height: auto;
    z-index: 2;
    top: 0;
    mix-blend-mode: difference;
    font-size: 1.25em;
}

.works {
    position: absolute;
    top: 1em;
    left: 1em;
}

.about {
    position: absolute;
    top: 1em;
    right: 1em;
}

#artists {
  display: block;
}

/* Typography */

.hero {
    display: flex;
    flex-direction: column;
    position: fixed;
    margin: 0 auto;
    top: 40%;
    width: 100%;
    justify-content: center;
    z-index: -1;
    text-align: center;
    mix-blend-mode: difference;
    /* text-shadow: 0 0 10px rgba(193, 227, 199, 1); */
}

.hero h1 {
  cursor: default;
  font-size: 4em;
  line-height: 100%;
}

.hero p {
  font-size: 1.5em;
}

h1, p {
    color: rgb(193, 227, 199);
    line-height: 150%;
}

.body {
  padding: 0.5em 0;
  margin: 0;
}

div.title {
  padding: 0.5 0;
}

.subheading {
  font-size: 1.5em;
  color: rgb(193, 227, 199);
  padding-bottom: 0.5em;
  line-height: 100%;
}


li {
  padding-top: 1em;
}

/* Entry page */

body.no-scroll {
  overflow: hidden;
  position: fixed;
}

.entry {
  width: 100vw;
  height: 100vh;
  position: absolute;
  background:rgb(34, 35, 30);
  z-index: 3;
  opacity: 1;
  transition: all 0.5s ease-in;
}

.entry > * {
  margin: 0 auto;
  text-align: center;
  position: relative;
  justify-content: center;
  top: 40%;
  width: 30%;
  padding: 1em;
}

h1.enter {
  cursor: pointer;
}

.entry.hide {
  opacity: 0;
  cursor: default;
  z-index: -2;
}


/* Links glow on hover */

a {
  text-decoration: none;
  cursor: pointer;
  color: rgb(193, 227, 199);
  font-feature-settings: "ss07" 1; 
}

.glow:visited {
  color: rgb(193, 227, 199);
}

.glow {
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}


@media (hover: hover) {  
  .glow:hover {
    color: rgb(34, 35, 30);
    text-shadow: 0 0 10px rgb(193, 227, 199);
  }
}


/* Section styling */

header.top {
  width: 100vw;
  height: 100vh;
  position: relative;
}

#about {
  padding-top: 6em;
  display: block;
  width: 60%;
}

section {
  width: 100vw;
  height: auto;
  position: relative;
  opacity: 0;
  transition: opacity 1.5s;
}

/* Fade in sections */

section.visible {
  opacity: 1;
}

.container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-column-gap: 1em;
  padding: 4em 1em;
  grid-template-rows: auto;
}

/* Portrait image on right */

.text--portrait--right { 
  grid-column: 2 / 3; 
  width: 100%;
  padding-right: 1em;
  padding-top: 2em;

}

.img--portrait--right { 
  padding-top: 4em;
  width: 100%;
  grid-column: 3 / 5; 
}

.caption--portrait--right {
  padding-top: 1em;
  grid-column: 3 / 5; 
}


/* Portrait image on left */

.img--portrait--left { 
  width: 100%;
  grid-column: 2 / 4; 
  padding-top: 4em;
}

.caption--portrait--left { 
  width: 100%;
  grid-column: 2 / 4; 
  padding-top: 1em;
}

.text--portrait--left { 
  grid-column: 4 / 6; 
  width: 100%;
  padding-right: 1em;
  padding-top: 2em;

}

/* Landscape image on right */

.img--landscape--right { 
  width: 100%;
  grid-column: 2 / 5; 
  padding-top: 1em;
}

.caption--landscape--right { 
  width: 100%;
  grid-column: 2 / 5; 
  padding-top: 1em;
}

.text--landscape--right { 
  grid-column: 2 / 3; 
  width: 100%;
  padding-right: 1em;
}

span {
  font-family: 'Diatype';
  font-variation-settings: 'wght' 400, 'ital' 12;
  font-feature-settings: "ss01" 1; 
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 2em;
  }
  .entry > * {
    top: 30%;
    width: 80%;
    padding: 1em;
  }

  .img--portrait--right, .img--portrait--left, .img--landscape--right,  .text--portrait--left, .text--portrait--right, .text--landscape--right {
    padding: 1em 0;
    padding-top: 3em;
  }

  .caption--portrait--left, .caption--portrait--right, .caption--landscape--right {
    padding-top: 0;
    font-size: 0.8em;
  }


  #about {
    width: 100%;
  }

  .container {
    display: block;
    padding: 3em 1em;
  }

  .works {
    left: 1em;
  }

  .about {
    right: 1em;
  }

}