/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
  scroll-behavior: smooth;
  box-sizing: border-box;
}
/* 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;
}

i, em{
  font-style: italic;
}

body{
  font-size: 36px;
  font-family: Helvetica;
  font-weight: 400;
  background-color: black;
  overflow-x: hidden;
  height: 100vh;
  width: 100vw;
}

html{
  overflow-x: hidden;
}

/* Selection Highlighting */
::-moz-selection {
  color: white;
  background: black;
}
::selection {
  color: white;
  background: black;
}

/* Invert Selection Highlighting for Captions */
.caption ::-moz-selection {
  color: black;
  background: white;
}
.caption ::selection {
  color: black;
  background: white;
}

/* Typography */

p{
  margin-bottom: 1em;
}


h1{
  font-size: 25vw;
  font-family: Helvetica;
  font-weight: 400;
  letter-spacing: -1vw;
  color: white;
}

#normaltitle{
  position: fixed;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

li{
  font-size: 36px;
  font-family: Helvetica;
  font-weight: 400;
  color: white;
}

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

a:hover, button:hover{
  text-decoration: underline;
}

/* Work */

#scroll{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  overflow-x: hidden;
}

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

.bg-wrap {
    clip: rect(0, auto, auto, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.bg {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: 0;
    background-image: var(--background-image_desktop);
    background-color: black;
    background-repeat: repeat-x;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

.bg_video {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: difference;
}


.slide:first-of-type{
  height: 200vh;
}

iframe {
  z-index: 0;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  position: fixed;
  height: 56.25vw;
  width: 177.77777778vh;
}

.video{
  opacity: 0;
}

.visible{
  opacity: 1;
}

.slide h1{
  text-align: center;
  vertical-align: middle;
  line-height: 100vh;
  user-select: none;
  position: relative;
}

.caption{
  font-size: 20px;
  position: absolute;
  bottom: 20px;
  left: 20px;
  mix-blend-mode: difference;
}

.caption p{
  margin-bottom: 0;
  color: white;
}

/* Info */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
}

/* Modal Content/Box */
.modal-content {
  background-color: white;
  width: 100vw;
  height: 100vh;
  color: black;
  display: flex;
  flex-direction: row;
}


.modal-content li{
  color: inherit;
}

.close{
  text-decoration: none;
}
.close:hover{
  text-decoration: underline;
  text-decoration-color: black;
}

.close:hover,
.close:focus {
  cursor: pointer;
}

.left {
  flex: 0 0 60%;
  padding-top: 20px;
  padding-left: 20px;
  overflow-y: scroll;
  scrollbar-width: none;
}
.right {
  flex: 0 0 40%;
  overflow: auto;
  padding: 0 10px 0 20px;
}

.right::-webkit-scrollbar {
  display: none;
}

.navigation{
  mix-blend-mode: difference;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10;

}

#scroll_arrow{
  mix-blend-mode: difference;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 11;
  width: 40px;
  cursor: unset;
}


button{
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

/* Client List */
.clients{
   margin-bottom: 20px;
}

.clients ul li{
  display: inline;
}

.biography{
  margin-top: 20px;
}

.notes{
  font-size: 20px;
  padding-top: 10px;
}

/* Media Queries */

@media only screen and (max-width: 1120px) {
  body, li{
    font-size: 24px;
  }
  .notes{
    font-size: 18px;
    padding-top: 10px;
  }
}

@media only screen and (max-width: 1120px) {
  .modal-content{
    flex-direction: column;
    overflow: auto;
  }
  .left, .right{
    overflow: unset;
    margin: 20px;
    padding: 0px;
    flex: 1;
  }
  .right, .biography{
    margin-top: 10px;
  }
  .note{
    font-size: 16px;
  }

}

@media only screen and (max-width: 800px) {
  .slide:first-of-type{
    height: 100vh;
  }
  .bg, .bg_video{
    position: relative;
  }
  .slide{
    background-image: var(--background-image_mobile);
  }
  iframe{
    position: relative;
  }
}

@media (min-aspect-ratio: 10/4) {
  .notes{
    color: whiteel;
    z-index: 1000;
    left: 40px;
    mix-blend-mode: difference;
  }
}