.social-media i {
  color: var(--FONT-COLOR);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  font-size: var(--LARGE);
  margin: 0 30px 60px 0;
}

.social-media i:hover {
  color: var(--RED);
}

.hero, .overview {
  padding: 0 50px;
}

.overview {
  padding-bottom: 50px;
}

.hero-content h1, .overview h1 {
  font-size: var(--LARGE);
  font-weight: var(--NORMAL);
  line-height: 1.5;
  margin: 250px auto 0 0;
  max-width: min(1200px, 80%);
}

.overview h1 {
  margin: 50px auto 0 0;
  max-width: calc(100vw - (2 * 50px));
  font-size: var(--X-LARGE);
}

hr {
  width: 100px;
  color: var(--FONT-COLOR);
  margin: 5px auto 25px 0;
}

.hero-content p, .overview p, .overview li {
  font-size: var(--MEDIUM);
  font-weight: var(--THIN);
  opacity: 0.8;
  line-height: 1.3;
  margin: 25px auto 40px 0;
  max-width: min(1000px, 70%);
}

.overview li, .overview p {
  opacity: 1;
  margin: 5px 0;
  max-width: calc(100vw - (2 * 5px));
}

.overview a {
  color: var(--RED);
  text-decoration: none;
}

.network-node {
  position: absolute;
  color: var(--FONT-COLOR);
  font-size: var(--X-SMALL);
  font-weight: var(--THIN);
  white-space: nowrap;
  letter-spacing: 0.5px;
  animation: float 3s ease-in-out infinite;
}

.node-1 { top: 40%; right: 5%; animation-delay: 0s; }
.node-2 { top: 65%; right: 15%; animation-delay: 0.5s; }
.node-3 { top: 25%; right: 40%; animation-delay: 1s; }

.network-node::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--RED);
  border-radius: 50%;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.background {
  position: absolute;
  top: 175px;
  right: 50px;
  z-index: -1;
}

.background > img {
  opacity: 0.25;
  box-shadow: 0 0 20px 20px var(--BACKGROUND-COLOR) inset;
  width: min(1000px, 80vw);
  mask-image: radial-gradient(
    ellipse closest-side,
    var(--BACKGROUND-COLOR) 85%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse closest-side,
    var(--BACKGROUND-COLOR) 85%,
    transparent 100%
  );
}

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 60px 50px;
  border-top: 1px solid var(--FADED-COLOR);
  border-bottom: 1px solid var(--FADED-COLOR);
}

.stat-item {
  text-align: left;
  min-width: max-content;
}

.stat-value {
  font-size: var(--LARGE);
  font-weight: var(--NORMAL);
  margin-bottom: 5px;
}

.stat-label {
  opacity: 0.8;
  font-size: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
  border-top: 1px solid var(--FADED-COLOR);
}

footer p {
  opacity: 0.8;
  margin: 5px 0;
}

footer a {
  margin-top: 25px;
  display: block;
  text-decoration: none;
  color: var(--FONT-COLOR);
}

.red {
  color: var(--RED);
}

@media (max-width: 1024px) {
  h1 {
    font-size: var(--MEDIUM) !important;
  }

  p, li {
    font-size: var(--SMALL) !important;
  }

  .hero, .stats, .stat-value {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero p, .hero h1 {
    margin-left: auto;
    max-width: 100vw;
  }

  .hero h1 {
    margin-top: 50px;
  }

  .network-center, .network-node {
    display: none;
  }

  .stats {
    justify-content: center;
  }

  .social-media {
    text-align: center;
  }

  .social-media i {
    margin: 0 15px 60px 15px;
  }

  .overview {
    padding-left: 10px;
    padding-right: 10px;
  }

  .overview h1 {
    font-size: var(--MEDIUM);
    text-align: center;
    margin-left: auto;
  }

  .overview hr {
    margin-left: auto;
  }
}
