@import url("https://fonts.googleapis.com/css?family=Manrope:700|Manrope:400");
:root {
  --text: hsl(0, 0%, 99%);
  --textDim: hsl(0, 0%, 60%);
  --background: hsl(0, 0%, 7%);
  --primary: hsl(155, 100%, 65%);
  --primaryBg: hsla(155, 100%, 65%, 1%);
  --primaryHi: hsla(155, 100%, 75%, 25%);
  --primaryFg: hsl(155, 100%, 85%);
  --secondary: hsl(156, 51%, 14%);
  --secondaryFg: hsl(156, 51%, 75%);
  --secondaryBg: hsla(156, 51%, 14%, 5%);
  --secondaryHi: hsla(156, 51%, 30%, 50%);
  --accent: hsl(155, 100%, 94%);
  --accentBg: hsla(155, 100%, 94%, 1%);
  --accentHi: hsla(155, 100%, 100%, 25%);
}
#bubbles {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  background-color: var(--background);
  color: var(--text);
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

#bubbles .background-grid {
  position: relative;
  height: 400px;
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  z-index: 999;
  bottom: 10px;
}

#bubbles .grid-svg-container {
  height: 80%;
  width: 80%;
  position: relative;
  z-index: 1;
}

#bubbles .blur-effect {
  height: 12rem;
  width: 12rem;
  background-color: var(--primary);
  filter: blur(100px);
  border-radius: 100px;
  z-index: 0;
  position: absolute;
  top: 150px;
}

#bubbles .main-title {
  font-size: 15rem;
  font-weight: 700;
  letter-spacing: -0.8rem;
  display: flex;
  flex-direction: column;
  position: absolute;
  justify-content: center;
  align-self: center;
  height: 100%;
  z-index: 1000;
  bottom: 5%;
}

#bubbles .main-title > span {
  margin: 0;
  line-height: 10rem;
  width: auto;
}

#bubbles .main-title > span:nth-child(1) {
  align-self: flex-start;
}

#bubbles .main-title > span:nth-child(2) {
  color: var(--primary);
  align-self: flex-end;
}

#bubbles .main-title > span:nth-child(3) {
  align-self: flex-end;
}

#bubbles .icon-material {
  display: none;
  fill: var(--text);
}

#bubbles .action-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 50px;
  width: 160px;
  z-index: 9999;
}

#bubbles .action-button {
  height: 50px;
  width: 160px;
  clip-path: path(
    "M 0 25 C 0 -5, -5 0, 80 0 S 160 -5, 160 25, 165 50 80 50, 0 55, 0 25"
  );
  border: none;
  border-radius: 13px;
  background-color: var(--primaryBg);
  box-shadow: 0px -3px 15px 0px var(--primaryHi) inset;
  color: var(--primaryFg);
  font-family: "Manrope";
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  transform: translateY(0px);
  transition: all 0.2s ease;
}

#bubbles .highlight {
  width: 100px;
  height: 60px;
  background-color: var(--primaryHi);
  border-radius: 100%;
  filter: blur(20px);
  position: absolute;
  bottom: -10%;
  transition: all 0.2s ease;
}

#bubbles .action-link:hover > .highlight {
  opacity: 60%;
}

#bubbles .action-link:hover > .action-button {
  transform: translateY(5px);
}

#bubbles .action-link-first {
  top: 12%;
  right: 20%;
}

#bubbles .action-link-second {
  bottom: 13%;
  right: 11%;
}

#bubbles .action-link-second > .action-button {
  background-color: var(--accentBg);
  box-shadow: 0px -3px 15px 0px var(--accentHi) inset;
  color: var(--accentFg);
}

#bubbles .action-link-second > .highlight {
  background-color: var(--accentHi);
}

#bubbles .action-link-third {
  bottom: 25%;
  left: 15%;
}

#bubbles .action-link-third > .action-button {
  background-color: var(--secondaryBg);
  box-shadow: 0px -3px 15px 0px var(--secondary) inset;
  color: var(--secondaryFg);
}

#bubbles .action-link-third > .highlight {
  background-color: var(--secondaryHi);
}

#bubbles .decoration-top-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 50%;
}

#bubbles .decoration-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  opacity: 50%;
}

#bubbles header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  color: var(--textDim);
  width: 100%;
  box-sizing: border-box;
  z-index: 9999;
}

#bubbles .nav-item:hover {
  color: var(--text);
  cursor: pointer;
}

#bubbles .site-title {
  font-weight: bold;
}

@media screen and (max-width: 1000px) {
  #bubbles .main-title {
    font-size: 4rem;
  }

  #bubbles .main-title > span {
    line-height: 5rem;
    letter-spacing: -0.3rem;
  }

  #bubbles header > :not(.site-title, .icon-material) {
    display: none;
  }

  #bubbles header {
    justify-content: space-between;
  }

  #bubbles .icon-material {
    display: flex;
    align-items: center;
  }
}
