/** @format */

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=DM+Mono:wght@400;500&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --yellow: #ffff0e;
  --pink: #ff54b3;
}

::-webkit-scrollbar {
  width: 16px;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93) !important;
}

::-webkit-scrollbar-track {
  background-color: #f48acb;
}

::-webkit-scrollbar-track:hover {
  background-color: #f567ca;
}

/* scrollbar itself */
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--yellow) 0%, var(--pink) 100%);
  border-radius: 16px;
  border: 6px solid #f567ca;
}

::-webkit-scrollbar-thumb:hover {
  border: 5px solid #f567ca;
}

::-webkit-scrollbar-button {
  display: none;
}

html {
  scroll-behavior: smooth;
  font-family: "Poppins";
  background-color: #48263e;
}

p {
  font-family: "DM Mono";
  color: #f48f8f;
}

h1,
h2,
h3,
h4,
button,
a {
  font-family: "Poppins";
  color: #ed9191;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93) !important;
  border-radius: 12px;
}

header {
  height: 60px;
  margin: 10px 20px;
  background: rgba(239, 174, 209, 0.58);
  box-shadow: 0px 0px 50px #ed91ec;
  border-radius: 20px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 0px 12px;
  position: fixed;
  backdrop-filter: blur(6px);
  width: -moz-available;
  width: -webkit-fill-available;
  z-index: 50;
}

.ham,
.ham-expand {
  display: none;
}

header img {
  height: 40px;
  width: 40px;
}

header div {
  gap: 18px;
  display: flex;
  align-items: center;
}

.icon {
  gap: 0px;
}

header a {
  padding: 4px 12px;
  background: transparent;
}

header a:hover {
  opacity: 0.8;
  background-color: #eaeaea;
  color: #0f0f0f;
}

.lander {
  display: grid;
  grid-auto-flow: column;
  height: 70vh;
  padding: 8rem 5rem;
  padding-bottom: 0px;
  justify-content: space-between;
}
.lander img {
  height: 360px;
  width: 360px;
}

.lander div h1 {
  font-size: 50px;
  margin: 0px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.title {
  width: fit-content;
  font-family: "Poppins";
  font-weight: 700;
  background: -webkit-linear-gradient(
    to right,
    var(--yellow) 0%,
    var(--pink) 100%
  );
  background: -moz-linear-gradient(
    to right,
    var(--yellow) 0%,
    var(--pink) 100%
  );
  background: linear-gradient(to right, var(--yellow) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0px;
  font-size: 18px;
}

a {
  border: 0px none;
  background: #eaeaea2a;
  padding: 8px 34px;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93);
}

.projectButton:hover {
  transform: translateY(-2px);
  border-bottom: 4px solid #eaeaea2b;
}

.projectButton:active {
  transform: translateY(3px);
  border: 0px none;
}

.join {
  color: #0f0f0f;
  padding: 10px 38px;
  background: linear-gradient(to right, var(--yellow) 0%, var(--pink) 100%);
  font-size: 18px;
  border-radius: 18px;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93) !important;
  border: 0px solid transparent;
}

.join:hover {
  transform: scale(1.08);
  animation: colorShift 2s infinite forwards;
}

.join:active {
  transform: scale(0.9);
  opacity: 0.8;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 52px;
}

#line {
  width: 69vw;
  margin-left: auto;
  margin-right: auto;
  padding: 2px;
  background: linear-gradient(to right, var(--yellow) 0%, var(--pink) 100%);
  border-radius: 10px;
}

#creations,
#services {
  padding: 2rem 5rem;
}

.subdiv {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.subdiv h1 {
  font-size: 52px;
  margin: 0px;
  z-index: 2;
}

.backdrop {
  position: absolute;
  width: 98vw;
  height: 200vh;
  left: 0;
  z-index: 1;
  pointer-events: none;
  margin-top: -80px;
  background-image: radial-gradient(var(--yellow) 4px, transparent 0);
  opacity: 0.05;
  background-size: 90px 90px;
  background-position: -19px -19px;
  mask-image: linear-gradient(180deg, #000 1%, transparent);
}
.backdrop:after {
  content: "";
  width: 98vw;
  height: 200vh;
  background: linear-gradient(0deg, #0f0f0f 0%, transparent 50%, #0f0f0f 100%);
  display: block;
}

.projects {
  z-index: 2;
  padding: 10px 32px;
  border-left-width: 3px;
  border-style: solid;
  border-image: linear-gradient(var(--yellow) 0%, var(--pink) 100%) 1 100%;
  border-right-width: 0px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 84px;
  margin-bottom: 12rem;
}

.project {
  z-index: 3;
  padding-left: 20px;
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: center;
}

.project div::before {
  content: " ";
  background: #eaeaea;
  border-radius: 20px;
  padding: 3px;
  display: block;
  height: 4px;
  width: 4px;
  position: relative;
  top: 50px;
  left: -42px;
}

.project img {
  width: 180px;
  height: 180px;
  border-radius: 32px;
  margin-left: 24px;
}

.project div {
  max-width: 600px;
  padding-left: 48px;
}

.project div p {
  margin-bottom: 30px;
}

.invite {
  font-size: 18px;
  display: inline-block;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93);
}

.invite:hover {
  transform: scale(1.1);
  animation: inviteHover 1.2s;
}

.invite:active {
  transform: scale(0.85);
}

.future {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 52px;
  text-align: center;
}

.future h1 {
  font-size: 52px;
  margin: 0px;
}

#contact {
  margin: 58px 0px;
  margin-bottom: 64px;
}

.coloredBorder {
  padding: 4px;
  background: linear-gradient(var(--yellow) 0%, var(--pink) 100%);
  border-radius: 32px;
  display: flex;
  align-items: stretch;
}

.coloredBorder div {
  background: #3f4123;
  border-radius: 30px;
  padding: 52px;
  width: 100%;
}

.coloredBorder div h1 {
  font-size: 42px;
  margin: 0px;
}

.coloredBorder div p {
  margin-bottom: 38px;
}

.discord {
  background-color: #b1679a;
  color: #e58de46f;
  margin-right: 12px;
  display: inline-block;
}
.github {
  background-color: #ef8cc4;
  color: #eaeaea;
  margin-left: 12px;
  display: inline-block;
}

.discord:hover,
.github:hover {
  transform: scale(1.1);
}

.credit {
  text-align: center;
}

.credit h2 {
  margin-left: auto;
  margin-right: auto;
  background: -webkit-linear-gradient(
    to right,
    var(--yellow) 0%,
    var(--pink) 100%
  );
  background: -moz-linear-gradient(
    to right,
    var(--yellow) 0%,
    var(--pink) 100%
  );
  background: linear-gradient(to right, var(--yellow) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  font-weight: 700;
}

.credit h3 {
  font-family: "JetBrains Mono";
  font-weight: 500;
}

.credit h3 a {
  font-weight: 500;
  font-family: "JetBrains Mono";
  background: initial;
  padding: initial;
}

.credit h3:hover a {
  padding: 6px 12px;
  border: 3px solid #e1591f;
  animation: 4s shiftCredit infinite forwards;
}

/** --------- KEYFRAMES ------- */

@keyframes inviteHover {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes shiftCredit {
  0%,
  100% {
    border: 3px solid #e1591f;
  }
  33% {
    border: 3px solid #d21e1e;
  }
  66% {
    border: 3px solid #2063a2;
  }
}

@keyframes colorShift {
  0%,
  100% {
    box-shadow: 0px 0px 30px var(--yellow);
  }
  50% {
    box-shadow: 0px 0px 30px var(--pink);
  }
}
