@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css);
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root {
  --text-color: #ffffff;
  --link-border: rgba(255, 255, 255, 0.5);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-image: linear-gradient(160deg, #ff8a00 0%, #e52e71 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  overflow-y: auto;
}

/* Main container */
.container {
  max-width: 450px;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Header with profile pic, name, bio */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--text-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bio {
  font-size: 1rem;
  font-weight: 400;
}

/* Links section */
.links {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.link-item {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1.2rem 0;
  border-top: 1px solid var(--link-border);
  transition: transform 0.2s ease-in-out;
}

.link-item:last-child {
  border-bottom: 1px solid var(--link-border);
}

.link-item:hover {
  transform: scale(1.03);
}

/* Footer with social media icons */
.socials {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 1rem;
}

.socials a {
  color: var(--text-color);
  font-size: 1.8rem;
  text-decoration: none;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  opacity: 0.9;
}

.socials a:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .profile-pic {
    width: 100px;
    height: 100px;
  }

  .link-item {
    font-size: 1rem;
    padding: 1rem 0;
  }

  .socials a {
    font-size: 1.5rem;
  }
}
