@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');

:root {
  --bgColor: #223344;
  --bgColor2: #090a0f;
  --accentColor: #FFF;
  --highlightColor: #00FF80;
  --font: 'Karla', sans-serif;
  --delay: .3s;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: 1s ease-out var(--delay) 1 transitionAnimation;
  animation-fill-mode: forwards;
}

.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  max-width: 675px;
  width: 100%;
  z-index: 1;
  margin-top: 80px;
}

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

#profilePicture {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 20px 0;
  box-shadow: 0 0 15px var(--highlightColor);
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.social-link {
  color: var(--accentColor);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  color: var(--highlightColor);
  transform: scale(1.2);
}

#userName {
  color: var(--accentColor);
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

#links {
  width: 100%;
  margin: 0;
}

.link {
  background-color: transparent;
  color: var(--accentColor);
  border: solid var(--accentColor) 2px;
  border-radius: 10px;
  font-size: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  padding: 10px;
  text-decoration: none;
  box-shadow: 0 0 10px var(--highlightColor);
  transition: box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.link i {
  margin-right: 10px;
}

.link:hover {
  box-shadow: 0 0 20px var(--highlightColor);
  background-color: var(--highlightColor);
  color: #000;
}

.link:active {
  background-color: var(--highlightColor);
  color: #000;
}

#hashtag {
  color: var(--highlightColor);
  font-size: 1rem;
  text-align: center;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--bgColor), var(--highlightColor), var(--bgColor));
  background-repeat: no-repeat;
  background-size: 80%;
  animation: animate 3s linear var(--delay) infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
}

.header-text {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.header-text h1 {
  font-size: 3rem;
  color: var(--accentColor);
  text-shadow: 0 0 10px var(--highlightColor);
  margin: 0;
  text-align: center;
}

.header-text h1 span {
  color: var(--highlightColor);
}

@keyframes transitionAnimation {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes animate {
  0% { background-position: -500%; }
  100% { background-position: 500%; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  body {
    justify-content: flex-start;
    padding-top: 20px;
  }

  .content-container {
    margin-top: 100px;
    padding: 10px;
    max-width: 90%;
  }

  .header-text h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  #profilePicture {
    width: 80px;
    height: 80px;
    margin: 15px 0;
  }

  .social-icons {
    gap: 15px;
  }

  .social-link {
    font-size: 1.2rem;
  }

  #userName {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .link {
    font-size: 0.9rem;
    padding: 8px;
    margin: 8px 0;
  }

  #hashtag {
    font-size: 0.9rem;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .header-text h1 {
    font-size: 1.5rem;
  }

  .content-container {
    margin-top: 80px;
    max-width: 95%;
  }

  #profilePicture {
    width: 70px;
    height: 70px;
  }

  .social-icons {
    gap: 10px;
  }

  .social-link {
    font-size: 1rem;
  }

  .link {
    font-size: 0.8rem;
    padding: 6px;
  }

  #hashtag {
    font-size: 0.8rem;
  }
}