@import url("https://rsms.me/inter/inter-ui.css");

body {
  position: relative;
  margin: 0;
  padding: 0;
  font-family: "Inter UI", sans-serif;
  text-align: center;
  color: white;
}

.titan-background {
  position: absolute;
  width: 100%;
  background-image: linear-gradient(-180deg, #000000 0%, #200835 100%);
  overflow: hidden;
  z-index: 1;
  /* Make the rubber band scroll not show empty white space */
  top: -10%;
  height: 120%;
  min-height: 120vh;
  margin-bottom: -20%;
}

.stars {
  position: absolute;
  top: 0;
  width: 300vw;
  height: 100vh;
  transform: translate(0%, 0%);
  background-size: contain;
  background-repeat: repeat;
  transform-origin: top left;
}

.stars-L {
  background-image: url("assets/stars-L.svg");
  background-size: 890px;
  height: 750px;
  animation: panning-stars 200s linear infinite alternate;
}

.stars-M {
  background-image: url("assets/stars-M.svg");
  height: 530px;
  animation: panning-stars 300s linear infinite alternate;
}

.stars-S {
  background-image: url("assets/stars-S.svg");
  height: 370px;
  animation: panning-stars 400s linear infinite alternate;
}

@keyframes panning-stars {
  from {
    transform: translate(-20%, 0%);
  }
  to {
    transform: translate(-80%, -40%);
  }
}

.marvellous-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 95%;
  max-width: 600px;
  margin: auto;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(155, 0, 245, 0.6);
  margin-bottom: 32px;
}

h1 {
  display: block;
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

@media (max-width: 500px) {
  h1 {
    font-size: 10vw;
  }
}

h2 {
  font-weight: 400;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 40px 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 28px;
  border: 1px solid rgba(155, 0, 245, 0.6);
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  background: rgba(155, 0, 245, 0.25);
  border-color: #9b00f5;
}
