/* ==========================================================================
   General Styles
   ========================================================================== */

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/Unbounded-Medium.woff2") format("woff2"),
    url("/fonts/Unbounded-Medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.woff2") format("woff2"),
    url("/fonts/Inter-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Color Palette */

:root {
  --color-primary: #0093ff;
  --color-secondary: #0a0b11;
  --color-complimentary: #0093ff;

  --color-white: #fff;
  --color-black: #0a0b11;

  --color-messageError: #ff2840;
  --color-messageSuccess: #009aff;
  --color-fieldError: #ff2840;

  --font-title: "obviously-variable", sans-serif;
  --font-text: "Inter", sans-serif;
  --font-weight: "ital" 0, "wdth" 200, "wght" 500;
}

/* Main */

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  font-family: var(--font-text);
  background: var(--color-black);
  color: var(--color-white);
  margin: 0;
}

body {
  width: 100%;
}

.main {
  background: #07080e;
}

/* Titles */
h1,
h2,
h3,
h4,
h5 {
  margin: 0px;
  font-variation-settings: var(--font-weight);
  font-family: var(--font-title);
  text-transform: uppercase;
}

h1 {
  font-size: 68px;
  line-height: 86px;
}

h2 {
  font-size: 68px;
  line-height: 86px;
}

h3 {
}

h4 {
}

h5 {
  font-size: 24px;
}

p {
  font-size: 20px;
  line-height: 22px;
  letter-spacing: 1px;
  margin-top: 0px;
}

a {
  text-decoration: none;
  color: var(--color-white);
}

.big-type {
  font-size: 32px;
  line-height: 36px;
  color: var(--color-white);
  text-transform: uppercase;
}

.subtitle {
  text-transform: uppercase;
  background: linear-gradient(90deg, #0093ff 2.23%, #00d1ff 60.83%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.loading {
  background: var(--color-secondary);
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  z-index: 99999;
}

.loading img {
  width: 100px;
}

.pagination {
  position: absolute;
  height: 200vh;
  width: 3px;
  background: var(--grey-cold-400);
  left: 5%;
  z-index: 9;
}

.pagination::before {
  content: "";
  width: 3px;
  height: 20vh;
  background: var(--color-complimentary);
  position: absolute;
  border-radius: 2px;
}

.pagination::after {
  content: "";
  width: 22px;
  height: 15px;
  margin-left: -9px;
  background: url(/images/pagination-top.svg) no-repeat;
  position: absolute;
}

/***********************
        SECTION 1
***********************/

.hero {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  max-width: 1920px;
  margin: 0px auto;
  position: relative;
  background: url("/images/hero.svg") no-repeat;
  background-size: cover;
}

.title-animation {
  display: flex;
  flex-direction: column;
}

.title-animation span {
  width: 100%;
  float: left;
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 100%);
  transform: translateY(-0px);
  opacity: 0;
  animation-name: titleAnimation;
  animation-timing-function: ease;
  animation-duration: 2s;
}

.title-animation span {
  -webkit-animation-fill-mode: forwards;
}
.title-animation span:nth-child(1) {
  animation-delay: 1s;
}

.title-animation span:nth-child(2) {
  animation-delay: 1.2s;
}

.title-animation span:nth-child(3) {
  animation-delay: 1.4s;
}

.text {
  opacity: 0;
  animation-name: titleAnimation;
  animation-timing-function: ease;
  animation-duration: 2s;
  animation-delay: 1.6s;
  -webkit-animation-fill-mode: forwards;
}

@keyframes titleAnimation {
  0% {
    transform: translateY(-50px);
    opacity: 0;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
  }
  20% {
    transform: translateY(0);
    opacity: 1;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0%);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0%);
  }
}

.blob {
  position: absolute;
  right: 0;
  max-width: 800px;
  mix-blend-mode: lighten;
  z-index: 2;
}

.hero-vid {
  position: absolute;
  width: 100%;
  mix-blend-mode: luminosity;
  opacity: 0.3;
  z-index: 3;
}

#liquid {
  position: absolute;
  bottom: 5%;
}

.drop-source svg {
  position: absolute;
}

#drip-container {
  height: 65px;
  width: 290px;
  position: relative;
  filter: url(#goo);
  margin-bottom: 5vh;
}

/* #drip-container .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  color: white;
} */

#drip-container .drop {
  height: 15px;
  width: 15px;
  border-radius: 15px;
  background-color: white;
  position: absolute;
  top: 50%;
  left: 87%;
  transform: translate(120%, -1500%) scaleX(0.5);
  animation: move 6s cubic-bezier(1, 0.04, 0.74, 0.2) infinite;
}

@keyframes move {
  0% {
    transform: translate(120%, -1500%) scaleX(0.2);
    height: 40px;
  }
  30% {
    transform: translate(120%, -200%);
    height: 15px;
  }
  70% {
    transform: translate(120%, 100%);
    height: 15px;
  }
  100% {
    transform: translate(120%, 1500%) scaleX(0.2);
    height: 40px;
  }
}

/***********************
        SECTION 2
***********************/

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #14141b;
  border-radius: 20px;
  margin-bottom: 30px;
  padding: 30px 30px 25px 30px;
  text-transform: uppercase;
  font-family: var(--font-text);
  cursor: pointer;
  border: 1px solid var(--grey-cold-400);
  transition: 0.3s all;
}

.feature-hover {
  display: flex;
  flex-direction: column;
  height: 160px;
  width: 160px;
  position: relative;
  margin-bottom: 20px;
}

.feature-image {
  width: 160px;
  position: absolute;
  z-index: 2;
  transition: 0.3s all;
}

.feature-video {
  position: absolute;
  mix-blend-mode: lighten;
  width: 160px;
  height: 160px;
  z-index: 1;
  opacity: 0;
}

.feature p {
  margin: 0px;
  font-family: var(--font-title);
  font-variation-settings: var(--font-weight);
  font-size: 12px;
}

.number {
  position: absolute;
  top: 30px;
  left: 30px;
  color: var(--grey-cold-400);
}

.feature:hover {
  border: 1px solid white;
}

.feature:hover .feature-image {
  opacity: 0;
}

.feature:hover .feature-video {
  opacity: 1;
}

.feature:hover .number {
  color: var(--color-white);
}

/***********************
        SECTION 3
***********************/

.networks {
  display: grid;
  grid-template-columns: 32% 32% 32%;
  justify-items: center;
  align-items: center;
  background: radial-gradient(
    76.25% 60.42% at 50% 130.61%,
    #0093ff 0%,
    rgba(0, 147, 255, 0) 100%
  );
  border-radius: 40px;
  padding: 50px;
  box-sizing: border-box;
}

.ecosystem {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #202020;
  height: 150px;
  position: relative;
}

.ecosystem::before,
.ecosystem::after,
.whitespace::before,
.whitespace::after {
  content: url("/images/grid.svg");
  width: 12px;
  height: 12px;
  display: block;
  position: absolute;
}

.ecosystem::before {
  left: -8px;
  top: -10px;
}

.ecosystem::after {
  right: -8px;
  top: -10px;
}

.whitespace {
  width: 100%;
  position: relative;
}

.whitespace::before {
  left: -8px;
  bottom: -2px;
}

.whitespace::after {
  right: -8px;
  bottom: -2px;
}

.ecosystem:nth-child(1)::after,
.ecosystem:nth-child(2)::after,
.ecosystem:nth-child(4)::after,
.ecosystem:nth-child(5)::after,
.whitespace:nth-child(1)::after,
.whitespace:nth-child(2)::after {
  display: none;
}

.ecosystem a {
  width: 60%;
  cursor: pointer;
  transition: 0.3s all;
}

.ecosystem a img {
  width: 100%;
}

.ecosystem a:hover {
  filter: drop-shadow(0px 0px 20px white);
}

/***********************
        SECTION 4
***********************/

.footer {
  position: relative;
  background: radial-gradient(
    52.37% 44.29% at 50.03% 100%,
    #0093ff 0%,
    rgba(0, 147, 255, 0) 100%
  );
}

.footer .right {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  background: var(--color-secondary);
  border-radius: 40px;
  padding: 50px;
  box-sizing: border-box;
}

.footer-col ul {
  padding: 0;
  margin-left: 0;
}

.footer-col li {
  list-style: none;
  margin-bottom: 20px;
}

.footer-col img {
  width: 50%;
  margin-bottom: 20px;
}

.copyright {
  width: 80%;
  position: absolute;
  bottom: 5%;
  z-index: 4;
}
