@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap");
@import url("./loader.css");

* {
  user-select: none;
}
*::selection,
*::-moz-selection {
  background: none;
}

html,
body {
  margin: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  /* height: -webkit-fill-available; */
}

/*       html {
        background-image: url('https://cdn.glitch.global/0c5dae87-ac06-4d96-883f-df9ead81e9c6/bgd1.jpg');
        background-size: cover;
      }
      body {
        background: radial-gradient(circle at 50%, rgba(6,6,6,0.25), rgba(0,0,0, 0.5) 100%);
      } */
div[data-vbg] {
  z-index: -1 !important;
}

.node {
  cursor: pointer;
}

.tag {
  opacity: 0.5;
  stroke-dasharray: 4;
  stroke-linecap: round;
  display: none;
}

.btn {
  border: 2px solid;
  padding: 0.25rem 1rem;
}

path {
  fill: none;
  stroke: white;
  stroke-width: 1;
  pointer-events: none;
}

.tag {
  pointer-events: all;
  cursor: pointer;
}

g.label {
  opacity: 0;
}

text {
  fill: white;
  font-family: "Poppins", sans-serif;
}

circle {
  /*   stroke: #fff; */
  /*   stroke-width: 1.5px; */

}

image {
  pointer-events: none;
}

#modal {
  display: none;
  width: 100%;
  height: 90vh;
  height: 90svh;
  z-index: 100000001;
  position: absolute;
  top: 5vh;
  flex-direction: column;
  max-width: 1280px;
  left: calc(0.5 * (100vw - 1280px));
  /*         overflow: auto; */
}


@media only screen and (max-width: 1280px) {
  #modal {
    left: 0;
  }
}

#modal>iframe {
  height: 100%;
  border: none;
  width: 100%;
  max-width: 1280px;
  /* border-radius: 0.25rem; */
  overflow: hidden;
  margin: auto;
  padding-bottom: 12px;
  background: #f5f2ef;
}

#modal>h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  text-align: center;
  border-top: solid 2px;
  border-bottom: solid 2px;
  margin-bottom: 0.5rem;
  width: 100%;
  max-width: 1280px;
  margin: auto;
  background: hsla(26, 24%, 95%, 1);
}

#modal h3 {
  margin: 0.25rem;
  padding: 0;
  font-family: "Poppins", sans-serif;
  text-align: center;
  text-transform: lowercase;
  /*         border-bottom: solid 1px; */
}

#modal>button {
  width: 2rem;
  height: 2rem;
  background: white;
  border-radius: 1rem;
  position: absolute;
  right: -0.5rem;
  border: none;
  top: -1rem;
  user-select: none;
  cursor: pointer;
  box-shadow: 0px 0.125rem 0.125rem rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  color: black;
}

foreignObject {
  pointer-events: none;
}

.tooltip {
  background: black;
  border: 1px solid white;
  padding: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  text-transform: lowercase;
  text-align: center;
  position: fixed;
  top: 0;
  color: white;
  display: none;
  pointer-events: none;
  z-index: 100000000;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  display: flex;
  justify-content: center;
  font-family: "Roboto", sans-serif;
  transform: translateY(100%);
  transition: transform 330ms ease-in-out;
  background: #E5E5E5;
  gap: 1rem;
  z-index: 100000;
}

footer p {
  font-size: 0.875rem;
  margin: 0;
  padding: 0;
}

footer p:first-of-type {
  text-align: center;
}

footer p:last-of-type {
  display: flex;
  gap: 0.5rem;
}

footer ul {
  list-style: none;
  font-size: 0.875rem;
  margin: 0;
  padding: 0;
}

footer ul h3 {
  margin: 0;
  font-size: 0.875rem;
}

footer a {
  color: initial;
  font-weight: 300;
}

footer>div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
}

footer > div > img {
  height: 4.5rem;
  width: 100%;
  object-fit: contain;
}

footer > div > section {
  display: flex;
  gap: 4rem;
}

footer>button {
  position: absolute;
  margin-top: -4rem;
  width: 7rem;
  height: 3.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.35rem;
  border-radius: 0.5rem;
  border: none;
  transform: rotate(0);
  transition: transform 330ms ease-in-out;
  cursor: pointer;
  background: none;
}

footer>button>svg {
  width: 7rem;
  height: 3.5rem;
}

footer.open {
  transform: translateY(0);
}

footer .base {
  fill: #E5E5E5;
}

footer .arrow {
  stroke: black;
}

footer a>img {
  height: 25px;
}

aside {
  position: fixed;
  right: 1rem;
  top: 1rem;
  bottom: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  transform: translateX(calc(1rem + 100%));
  transition: transform 330ms ease-in-out;
  background: #E5E5E5;
  gap: 1rem;
  z-index: 100001;
}

aside>h5 {
  margin-bottom: -.5rem;
}

#list_view {
  overflow: auto;
  flex: 1;
  padding-right: 1rem;
}

#list_view ul {
  margin: 0;
  margin-bottom: 1rem;
  list-style: none;
  padding-left: 1rem;
}

#list_view ul>li {
  cursor: pointer;
  margin: 0.25rem;
}

aside>button {
  position: absolute;
  margin-left: -5.05rem;
  width: 4.4375rem;
  height: 8.875rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transform: rotate(0);
  cursor: pointer;
  user-select: none;
  background: none;
}

aside>button>svg {
  width: 4.4375rem;
  height: 8.875rem;
}

.base {
  fill: black;
  stroke: none;
}

.arrow {
  fill: transparent;
  stroke: hsla(26, 24%, 95%, 1);
  stroke-width: 0.25rem;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50% 50%;
  transition: transform 330ms ease-in-out;
}

aside.open {
  transform: translateY(0);
}

.open .arrow {
  transform: rotate(180deg);
}

aside>ul {
  list-style: none;
  font-size: 0.875rem;
  margin: 0;
  padding: 0;
}

aside a {
  color: initial;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

aside details {
  border-bottom: 2px solid;
  padding: 0.5rem 0;
}

aside summary {
  font-size: 1.125rem;
  text-transform: uppercase;
  line-height: 1.75rem;
  cursor: pointer;
  margin-left: 0;
}

details>summary::-webkit-details-marker,
details>summary::marker {
  display: none;
  visibility: hidden;
  color: transparent;
}

.background {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.background>img {
  width: 100%;
  height: 100%;
  opacity: 0;
  --d: 10000ms;
  /*         //animation: fadeIn var(--d) infinite;  */
  animation-name: fadeIn;
  animation-duration: var(--d);
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  position: absolute;
  object-fit: cover;

}

.background>img:nth-of-type(1) {
  animation-delay: calc(0 * var(--d) * 0.5);
}

.background>img:nth-of-type(2) {
  animation-delay: calc(1 * var(--d) * 0.5);
}

.background>img:nth-of-type(3) {
  animation-delay: calc(2 * var(--d) * 0.5);
}

.background>img:nth-of-type(4) {
  animation-delay: calc(3 * var(--d) * 0.5);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/*       .background {
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
      }
      
      .background > img {
        width: 100%;
        height: 100%;
        animation-name: fadeInOut;
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
        animation-duration: 8s;
        position: absolute;
        top: 0;
        left: 0;
      }
    
      
      @keyframes fadeInOut {
        0% {
          opacity:1;
        }
        17% {
          opacity:1;
        }
        25% {
          opacity:0;
        }
        92% {
          opacity:0;
        }
        100% {
          opacity:1;
        }
      }

      .background > img:nth-of-type(1) {
        animation-delay: 6s;
      }
      .background > img:nth-of-type(2) {
        animation-delay: 4s;
      }
      .background > img:nth-of-type(3) {
        animation-delay: 2s;
      }
      .background > img:nth-of-type(4) {
        animation-delay: 0;
      } */

@media only screen and (max-width: 1312px) {
  #modal>button {
    right: 0;
  }
}

#modal.hide-nav>nav {
  display: none;
}

#modal>nav {
  background: hsla(26, 24%, 95%, 1);
  display: grid;
  grid-template-columns: 33% 33% 33%;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 1px;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 1280px;
  margin: auto;
}

#modal>nav>a {
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  color: black;
}

#modal>nav>a[href="#prev"] {
  margin-left: 0.5rem;
}

#modal>nav>a[href="#next"] {
  text-align: right;
  margin-right: 0.5rem;
}

/*   g[data-group="3"]:hover {
    transform: scale(1.7);
    transition: transform 100ms ease-in-out;
  } */

/*   g[data-group="3"] {
    opacity: 0.7;
  }
  
  g[data-group="3"]:hover {
    opacity: 1;
    transition: opacity 100ms ease-in-out;
  } */
#scroll-video {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
}

.invisible {
  user-select: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease-in;
  transition-delay: 100ms;
}

#intro {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: fixed;
  left: 0;
  top: 0;
  transition: opacity 330ms ease-out;
  opacity: 1;
  background-image: url('https://cdn.glitch.global/0c5dae87-ac06-4d96-883f-df9ead81e9c6/first-frame.png');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 300ms ease-in;
  z-index: 1;
}

#intro.hide {
  opacity: 0;
  pointer-events: none;
}

#set-height {
  display: block;
}

#skip {
  position: fixed;
  top: calc(50vh - 4rem);
  z-index: 100000;
  left: 0;
  right: 0;
  width: 100%;
  background: none;
  border: none;
  color: white;
  /*         text-decoration: underline; */
  font-family: Poppins, Roboto, sans-serif;
  transition: top 600ms ease-in-out;
  display: flex;
  align-items: center;
  flex-direction: column;
  opacity: 1;
  transition: opacity 300ms ease-in;
}

#skip>span {
  display: flex;
  gap: 4rem;
}

#skip button {
  cursor: pointer;
  width: 7rem;
  border: 1px solid white;
  color: white;
  background: none;
  padding: .5rem;
}

#skip button:hover {
  background: rgba(255, 255, 255, 0.5);
}

#skip button:active {
  background: rgba(255, 255, 255, 0.75);
}

#skip img {
  height: 5.75rem;
  margin-bottom: 4rem;
}

#skip.top {
  top: 0.25rem;
  font-size: 1.2rem;
}

#skip.top img,
#skip.top #play_btn {
  display: none;
}

img[data-href] {
  cursor: pointer;
}


@media only screen and (max-width: 639px) and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (max-width: 639px) and (-moz-min-device-pixel-ratio: 1.5),
only screen and (max-width: 639px) and (-o-min-device-pixel-ratio: 3/2),
only screen and (max-width: 639px) and (min-device-pixel-ratio: 1.5),
only screen and (min-width: 640px) and (max-width: 980px) {
  html {
    font-size: 42px;
  }

  aside > button {
    margin-left: -4.4375rem;
  }

  /* h1 {
              font-size: 2.5rem;
          }

          h2 {
              font-size: 2.25rem;
          }

          h3 {
              font-size: 2rem;
          }

          h4 {
              font-size: 1.75rem;
          }

          h5 {
              font-size: 1.5rem;
          }

          h6 {
              font-size: 1.25rem;
          } */

  button,
  span {
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
    justify-content: flex-start;
    max-height: 70vh;
  }

  footer>div {
    overflow: auto;
    flex-direction: column;
  }

  aside summary,
  aside li {
    font-size: 0.75rem;
  }

  footer>button {
    left: calc(50% - 3rem);
    top: 1rem;
    color: black;
    user-select: none;
  }

  footer p:first-of-type {
    max-width: initial;
  }

  footer a>img {
    height: 1rem;
  }

  #modal {
    z-index: 100000001;
  }

  #modal>h1 {
    font-size: 1.25rem;
  }

  ol>li {
    font-size: 1.75rem;
  }
}

/* * { 
        outline:1px blue solid;
      }  */