@import url("https://use.typekit.net/niu4lak.css");
@font-face {
  font-family: "Lyon Text";
  src: url("LyonText-Regular.woff2") format("woff2"), url("LyonText-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lyon Text";
  src: url("LyonText-RegularItalic.woff2") format("woff2"), url("LyonText-RegularItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
:root {
  --bg: #fff;
  --border: rgba(100,100,100,0.3);
  --blue: #228cf0;
  --pink: #eb80ff;
  --peach: #EF879F;
  --text: #373737;
  --text-invert: rgb(234, 234, 234);
  --text-light: #6e6e6e;
  --gray-lightest: rgb(241, 241, 241);
  --gray-lighter: rgb(234, 234, 234);
  --gray-light: rgb(166, 166, 166);
  --gray: rgba(0, 0, 0, 0.4);
  --gray-darker: rgba(0, 0, 0, 0.5);
  --link: rgba(0,0,0,0.5);
  --opacity-light: 0.8;
  --opacity-lighter: 0.6;
  --opacity-lightest: 0.2;
  --font-serif: $serif;
  --font-display: $serif-display;
  --font-sans: "helvetica-neue-lt-pro", sans-serif;
  --font-mono: "Courier New", "Courier", monospace;
  --font-accent: $accent;
  --leading-tight: 1.1;
  --leading: 1.5;
  --text-xxs: 0.5rem;
  --text-xs: 0.65rem;
  --text-sm: 0.75rem;
  --text-base: 0.8rem;
  --text-md: 1rem;
  --text-lg: 1.1rem;
  --text-xl: 1.25rem;
  --text-xxl: 1.5rem;
  --z-top: 20;
  --z-top-nav: 15;
  --z-decor: 9;
  --z-nav: 8;
  --z-main: 0;
  --nav-width-normal: 264px;
  --nav-width-wide: 264px;
  --strip-nav-width: var(--nav-width-normal);
  --top-height: 80px;
  --padding-nav: 1rem;
  --padding-top-page-nav: 80px;
  --padding-top-page: 40px;
}

* {
  box-sizing: border-box;
}

:root {
  --cell-size: 32;
  --cellW: calc(100vw / var(--cell-size));
}

@media only screen and (min-width: 1400px) {
  :root {
    --cell-size: 56;
  }
}
@media only screen and (min-width: 1100px) {
  :root {
    --cell-size: 40;
  }
}
@media only screen and (max-width: 600px) {
  :root {
    --cell-size: 20;
  }
}
/*


index page
hi - don't copy plz or i will die.


*/
#cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #A6A7AB;
  z-index: var(--z-top);
  background-size: cover;
  display: none;
  pointer-events: none;
}
#cover .wrapper {
  padding: 1rem;
}
#cover .piece {
  display: flex;
  color: #121212;
}

#nav {
  top: 0;
  left: 0;
  background: linear-gradient(to right, var(--bg), var(--bg) 60%, rgba(255, 255, 255, 0));
  z-index: var(--z-nav);
}
#nav .about {
  line-height: 130%;
  width: 240px;
}
#nav iframe {
  width: 100%;
  height: 100%;
  margin: 0;
}

#subnav {
  top: 0;
  right: 0;
  background: linear-gradient(to left, var(--bg), var(--bg) 60%, rgba(255, 255, 255, 0));
}

#grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow: hidden;
}
@media only screen and (max-width: 680px) {
  #grid {
    position: relative;
    width: 100%;
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    overflow: visible;
  }
}

/*
main nav
*/
#info {
  position: fixed;
  width: 100%;
  height: var(--top-height);
  z-index: var(--z-top-nav);
  padding: var(--padding-nav);
  pointer-events: none;
  background: linear-gradient(to bottom, var(--bg), var(--bg) 30%, rgba(255, 255, 255, 0));
}
#info iframe {
  width: 100%;
  height: 100%;
}
#info a {
  pointer-events: auto;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  margin: -0.25rem -0.45rem;
  line-height: 120%;
}
#info .row {
  display: flex;
  justify-content: space-between;
}
#info .force-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#info .row div {
  display: block;
  height: auto;
  width: auto;
}
#info [row=info] {
  padding-top: 8px;
}
#info #title, #info #desc {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#info #title.title-pre-h1 {
  opacity: 0;
  visibility: hidden;
}
@media only screen and (max-width: 1200px) and (min-width: 681px) {
  #info #title, #info #desc {
    display: none;
  }
}
#info.info-head-hidden #desc {
  opacity: 0;
  visibility: hidden;
}

.strip {
  position: relative;
  height: 100vh;
  width: var(--strip-nav-width);
  z-index: var(--z-nav);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.strip iframe {
  width: 100%;
  height: 100%;
}
.strip .wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#nav.strip-collapsed {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

#subnav.strip-collapsed {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.strip-tab {
  position: fixed;
  top: 0;
  z-index: var(--z-nav);
  width: 30px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  font-size: var(--text-xs);
  color: var(--gray-light);
  writing-mode: vertical-rl;
  letter-spacing: 1px;
}
.strip-tab:hover {
  color: var(--text);
}

.strip-tab-left {
  left: 0;
}

.strip-tab-right {
  right: 0;
}

body.strips-collapsed .strip-tab {
  opacity: 1;
  pointer-events: auto;
}

@media only screen and (max-width: 680px) {
  .strip-tab {
    display: none !important;
  }
}
#centerpiece {
  display: block;
  min-height: 100vh;
  height: auto;
  flex-grow: 1;
  overflow-y: auto;
  z-index: var(--z-main);
}
#centerpiece iframe {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: block;
  overflow-y: visible;
}

#mobile-nav {
  display: none;
}

@media only screen and (max-width: 680px) {
  body {
    overflow: hidden;
    font-size: var(--text-base);
  }
  #grid {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
  }
  .strip {
    display: none;
  }
  #centerpiece {
    height: calc(100vh - 60px - 1rem);
    width: 100%;
    flex: 0 0 auto;
    order: 2;
    overflow: visible;
    height: auto;
    background: #fff;
  }
  #centerpiece iframe {
    width: 100%;
    background: #fff;
    display: block;
    overflow: hidden !important;
    border: none;
    height: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
  }
  #info p#title {
    max-width: 16ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }
}
#rainbow {
  position: absolute;
  left: 50%;
  z-index: var(--z-decor);
  opacity: 0.4;
  width: 400px;
  height: 300px;
  background-image: url(../image/rainbow.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

#rainbow-line {
  position: fixed;
  height: 120px;
  width: 100%;
  z-index: var(--z-decor);
  bottom: 0px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 60%, #F3BEBC 65%, #FB4201 70%, #F09318 75%, #E7C615 80%, #72BA3E 85%, #90C1E1 90%, #BAA991 95%, #BAA991 100%);
  pointer-events: none;
}
@media only screen and (max-width: 680px) {
  #rainbow-line {
    height: 60px;
  }
}

/*# sourceMappingURL=ecology.css.map */
