
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
   
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;


    /* scroll-behavior: smooth; */
    /*-webkit-overflow-scrolling: touch;*/
    
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 5em;
    margin: 1em 0; /* 1.3em 0; */
    font-weight: normal;
  }

  h2 {
    color: #404040;
    font-size: 3em;
    font-weight: normal;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    line-height: 1.7em;
    margin: auto;

  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
    max-width: 100%;
    min-height: 100%;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }

  
/*                  */
/* END OF NORMALIZE */
/*                  */


@font-face{
    font-family: 'YiBaiti';
    src: url('msyi.ttf') 
}

html, body {
    font-family: 'YiBaiti', sans-serif;
    font-size: 12px;
    background-color: #bcbcbc;
}

a:link {
  color: aqua;
  text-decoration: none;
}

p{
  margin: 9vw 9vw 2vw;
  color: white;
  font-size: 2em;
  height: 100%;
  transition: height 0.3s, margin 0.6s;
}

iframe{
  border: none;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  
}

h3{
  margin: 0vw 10vw;
  color: black;
  font-size: 2em;
  
}

.block{
    
    height: 200px;
    transition: height 0.4s;
    cursor: pointer;
}

.block p {
  height: 0%;
  overflow: hidden;
  margin: 0vh;
  transition: height 0.3s, margin 0.5s;
}

.backBody {
  overflow: hidden;
  background-color: black;
}

.open{
  height: 100% !important;
  overflow: hidden;
  margin-top: 5vh !important;
  margin-bottom: 0px !important;
  background-color: black;
  position: relative;
}

.open .preambule {
  height: 0%;
  overflow: hidden;
  transition: height 0.5s;
}

.open .project{
  height: 100%; /*vh; */
  width: 100%;
  background: #212121;
  overflow: visible;
  transition: height 0.5s;
  -webkit-overflow-scrolling: touch;
  /* margin-top: 12vh; */
}

.preview{
  height: 600px;
  transition: height 0.5s, overflow 0.5s;
  cursor: pointer;
}

.preview .preambule{
  height: auto;
  
}

.preambule{
  height: 0px;
  transition: height 0.5s;
}

.hidden{
  height: 0px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.hidden h1 {
  height: 0px;
  -webkit-margin-before: 0px;
  -webkit-margin-after: 0px;
}

.project{
  height: 0px;
  overflow: auto;
  -webkit-overflow-scrolling: touch !important;
  overflow-y: scroll;
  transition: height 0.5s;

}

.return{
  height: 6vh;
  background-color: black;
  /*position: absolute;
  bottom: 0px; */
  width: 100%;
}

.viewport{
    height: 100vh;
    overflow-y: scroll;

    /*-webkit-overflow-scrolling: touch;*/
    width:100%;
    position: absolute;

}

.panel{
  width: 100%;
  height: 80px;
  float: left;
  transition: width 0.5s;
}

.panelNavigation{
  width: 80%;
}

.menu{
  width: 20%;
  float: left;
}

.goBack{
  float: left;
  width: 0%;
  height: 100%;
  background-color: #2b2b2b;
  transition: width 0.5s;
  overflow: hidden;
  cursor: pointer;
}

.goForth{
  float: right;
  width: 0%;
  height: 100%;
  background-color: #2b2b2b;
  transition: width 0.5s;
  overflow: hidden;
  cursor: pointer;
}

.show{
  width: 10%;
}

.debug{
    height: 80px;
    width: 100vw;
    color:grey;
    background-color: black;
    font-size: 2.5em;
    position:fixed;
    line-height: 2.4;
    text-align: center;
    overflow: hidden;
}


.item{
    font-family: 'YiBaiti', sans-serif;
    
    width:100%;
    color: #ff003A;
    text-align: center;
    vertical-align: middle;
    /* line-height: 3em; */
    float: left;
    margin-top: 250px;
    margin-bottom: 250px;
    overflow: hidden;
    position: static;

    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
}


#FLOMASTER{
    background-image: url('FLOMASTER/CoverLG.jpg');
}

#DESIGENCE{
    background-image: url('DESIGENCE/CoverLight.jpg');
}

#DISCIPLINARY_ENTROPY{
    background-image: url('DISCIPLINARY_ENTROPY/CoverLG.jpg');
}

#OBLIQUE_FIGURATION{
    background-image: url('OBLIQUE_FIGURATION/CoverLG.jpg');
}

#REFLAXING{
    background-image: url('REFLAXING/CoverLG.jpg');
}

#VOIDING{
    background-image: url('VOIDING/CoverLG.jpg');
}

#DYNAMIC_MATERIAL_CULTURE{
    background-image: url('DYNAMIC_MATERIAL_CULTURE/CoverLG.jpg');
}

#MESH_FARM{
    background-image: url('MESH_FARM/CoverLG.jpg');
}

#HOLOCON{
  background-image: url('HOLOCON/cover.jpg');
}

#myVideo {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  max-height: 120%;
  display: none;
  z-index: -1;
}

#background{
  position: fixed;
  z-index: -5;
}

@media screen and (max-width: 1100px){ 
  /* iPhone and smaller */
  .item{
    /*color: aqua;*/
    background-attachment: local;
  }

  .viewport{
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }
}

@media screen and (min-width: 1100px){
  .project img{
    max-width: 80%;
    min-height: 100%;
  }
  #myVideo {
    display: block;
  }
}

@media screen and (min-width: 1601px) {
  /* VERY LARGE SCREEN */
  .project img{
    max-width: 65%;
    max-height: 80%;
  }
  #myVideo {
    display: block;
  }
}

