@import url("https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&family=Fjalla+One&family=Lexend+Deca:wght@100..900&family=Manrope:wght@200..800&family=Nosifer&family=Oleo+Script:wght@400;700&family=VT323&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --Main-font: "poppins", sans-serif;
  --primary-font: "poppins", sans-serif;
  --primary-bg: rgba(7, 7, 8, 1);
  --secondary-color: rgba(87, 58, 238, 1);
  --primary-font-color: rgba(196, 196, 196, 1);
  --secondary-font-color: rgba(255, 255, 255, 1);
}
body {
  min-height: 100vh;
  background-color: var(--primary-bg);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-card {
  width: 60%;
  height: auto;
  /* border: 1px solid var(--primary-font-color); */
  border-radius: 15px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  background: linear-gradient(
    135deg,
    rgba(7, 7, 8, 1) 0%,
    rgba(20, 20, 21, 1) 100%
  );
  position: relative;
  margin: 0;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
}
.profile-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary-font-color);
}
.profile-links {
  margin: 40px 0;
}
.profile-links h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--secondary-font-color);
  font-family: var(--Main-font);
}
.profile-socials {
  margin: 5px 0;
}
.profile-socials ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
}
.profile-socials a {
  text-decoration: none;
  color: var(--primary-font-color);
  font-size: 1rem;
  transition: color 0.3s ease;
  font-family: var(--primary-font);
}
.profile-socials a:hover {
  color: var(--secondary-color);
}
.profile-bio {
  color: var(--primary-font-color);
  font-weight: 400;
  font-size: 1rem;
  line-height: 23px;
  font-family: var(--primary-font);
}
.profile-hobbies h3,
.profile-dislikes h3 {
  color: var(--secondary-font-color);
  margin-bottom: 10px;
  margin: 20px 0;
  font-size: 1.5rem;
  margin-bottom: 5px;
   font-family: var(--Main-font);
}
.profile-hobbies ul,
.profile-dislikes ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  color: var(--primary-font-color);
  font-family: var(--primary-font);
}
.profile-footer {
  margin-top: 20px;
  text-align: center;
  color: var(--primary-font-color);
  font-size: 0.9rem;
  font-family: var(--primary-font);
}
.profile-buttons{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.profile-buttons button{
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  background-color: var(--secondary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: var(--primary-font);
}
.profile-buttons button:hover{
  background-color: rgba(87, 58, 238, 0.8);
}
.profile-buttons a{
  text-decoration: none;
  color: var(--secondary-font-color);
  font-weight: 600;
}

@media (max-width: 900px) {
  .profile-card {
    max-width: 70%;
    padding: 18px;
  }

  .profile-header {
    gap: 16px;
  }

  .profile-header img {
    width: 72px;
    height: 72px;
  }

  .profile-links {
    margin: 24px 0;
  }

  .profile-links h2 {
    font-size: 1.25rem;
  }

  .profile-socials ul {
    gap: 12px;
    flex-wrap: wrap;
  }

  .profile-bio {
    font-size: 0.95rem;
    line-height: 22px;
  }

  .profile-hobbies ul,
  .profile-dislikes ul {
    gap: 12px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 24px 12px;
  }

  .profile-card {
    max-width: 100%;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .profile-header img {
    width: 64px;
    height: 64px;
  }

  .profile-links {
    margin: 12px 0;
  }

  .profile-links h2 {
    font-size: 1.125rem;
  }

  .profile-socials ul {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .profile-bio {
    font-size: 0.95rem;
    line-height: 20px;
    text-align: center;
  }

  .profile-hobbies h3,
  .profile-dislikes h3 {
    font-size: 1.125rem;
    text-align: center;
  }

  .profile-hobbies ul,
  .profile-dislikes ul {
    gap: 10px;
    justify-content: center;
  }

  .profile-footer {
    font-size: 0.85rem;
  }

  .profile-card:hover {
    transform: none;
  }
}
