/* -- Reset -- */
@import url("https://fonts.googleapis.com/css?family=Nunito:400,500,700");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

ul {
  list-style: none;
}

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

/* -- Base -- */
html,
body {
  height: 100%;
  background-color: #050505;
}

body {
  overflow: hidden;
  font-family: "Nunito", sans-serif;
  font-weight: 500;
  color: #999999;
}

/* -- 3D scene -- */
#scene {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  height: 100dvh;
}

/* -- Content overlay -- */
.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 6vh 6vw;
  pointer-events: none;
}

@media (max-height: 640px) {
  .content {
    padding-block: max(16px, env(safe-area-inset-bottom));
  }

  .slide-dots {
    margin-top: 12px;
  }

  .network {
    margin-top: 16px;
  }
}

.slide-dots {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  pointer-events: auto;
}
.slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #444444;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}
.slide-dot:hover {
  background: #999999;
}
.slide-dot.is-active {
  background: #eaeaea;
  transform: scale(1.25);
}

.network {
  margin-top: 32px;
  pointer-events: auto;
}
.network ul {
  display: flex;
  gap: 0;
  justify-content: center;
}
.network ul li a {
  display: inline-block;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.network ul li a .svg-icon {
  padding: 4px;
  width: 22px;
  height: 22px;
  margin: 0;
  display: block;
}
.network ul li a .svg-icon path {
  fill: #999999;
  transition: fill 0.3s;
}
.network ul li a:hover .svg-icon path {
  fill: #ffffff;
  transition: fill 0.1s;
}
