@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

html, body {
  height: 100vh;
  width: 100vw;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}

html {
  background: url("/assets/images/backgrounds/bio.jpg") #2a2a2a;
  background-size: cover;
  background-repeat: no-repeat;
}

body {
	/*backdrop-filter: blur(12px) brightness(0.8);*/
}

* {
  text-shadow: 0px 0px 0.4em #fffc;
  font-family: "Nunito";
  user-select: none;
  -webkit-user-drag: none;
}

#grain {
	height: 100vh;
	width: 100vw;
	position: fixed;
	left: 0px;
	top: 0px;
	background: url("/assets/images/backgrounds/grain.jpg");
	opacity: 0.3;
	filter: brightness(0.2);
	backdrop-filter: contrast(2);
  z-index: -1;
}

#center {
	/* width: 50vw; */
	height: 50vh;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	/*! background-color: rgba(255, 255, 255, 0.04); */
	backdrop-filter: blur(8px);
	aspect-ratio: 4 / 3;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border-radius: 24px;
	border: solid 2px rgba(255, 255, 255, 0.03);
	box-shadow: 0px 12px 24px 6px rgba(0,0,0,0.5);
	color: #fff;
	align-items: center;
	justify-content: center;
}


#pfp {
  /* flex: 1; */
  /* margin-bottom: 48px; */
  aspect-ratio: 1 / 1;
  height: calc(100% - 7em);
  border-radius: 9999px;
  box-shadow: 0px 0px 12px #fff;
  background-color: #fff;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
  max-height: 290px;
}

#pfp:hover {
  transform: scale(1.1);
}
#username {
  font-size: 48px;
  background: url("/assets/images/animated/sparkle_white.gif");
  /* height: fit-content; */
}

#effect {
  z-index:-1;
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0px;
  top: 0px;
}

#backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100vh;
  width: 100vw;
}

#caption {
  font-size: 24px;
}

#cover {
	height: 100vh;
	width: 100vw;
	position: fixed;
	left: 0px;
	top: 0px;
	margin: 0px;
	z-index: 9998;
	backdrop-filter: blur(24px);
	background-size: cover;
}

#cover-title {
	position: absolute;
	left: 50vw;
	top: 50vh;
	font-size: var(--name-size);
	animation: textSizeCover 2s linear infinite;
	color: var(--text-color);
	text-shadow: var(--text-glow);
  transform: translate(-50%, -50%);
  font-weight: 800;
}

#animatedText {
  font-family: "Nunito";
	font-size: 48px;
	display: inline-block;
	background: linear-gradient(-80deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 47.9%, #fff 48%, #fff 50%, rgba(255, 255, 255, 0.7) 50.1%, rgba(255, 255, 255, 0.7) 100%);
	background-position-x: 50%;
	background-clip: text;
	color: transparent;
	z-index: 9999;
	background-size: 300% 100%;
	animation: shine 2s infinite;
	text-shadow: none !important;
  font-weight: 800;
} 

#animatedText::after {
	content: "";
	position: absolute;
	top: -6px;
	left: -6px;
	height: calc(100% + 12px);
	width: calc(100% + 12px);
	backdrop-filter: blur(3px);
}

@keyframes shine {
  0% {
    background-position-x: 79%;
  }

  100% {
    background-position-x: 25%;
  }
}


#link-bar {
  display: flex;
  position: fixed;
  left: 50vw;
  bottom: 24px;
  transform: translateX(-50%);
  height: fit-content;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
}
.link-button {
  height: 6vh;
  width: 6vh;
  padding: 12px;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.link-button img {
  height: 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  /*! filter: invert(1); */
}
.link-button:hover {
  transform: scale(1.2);
  background-color: rgba(255, 255, 255, 0.06);
}