* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #f8633e;
  --secondary-color: #093375;
  --social-links: #ff3f7f;
  --bg-color: #08867c;
  --border-circle: #ff0040bb;
  --profile-card-bg: #ffffff;
  --profile-name-color: #000000;
  --profile-bio-color: #475569;
}
body {
  font-family: "Sora", sans-serif;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1.5rem;
}

/* ********* CARD CONTAINER ********* */
.profile-card-container {
  background-color: var(--profile-card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 950px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ********* HEADER SECTION ********* */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* background: linear-gradient(135deg, #4d081f, #f83868);
  border-radius: 5px; */
}

.profile-header .avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--border-circle);
  object-fit: cover;
  margin-bottom: 1rem;
  cursor: pointer;
}

.profile-header .name {
  font-size: 1.5rem;
  font-weight: 700;
  word-wrap: break-word;
  color: var(--profile-name-color);
}

/* ********* INFO SECTION ********* */
.profile-info {
  text-align: center;
}

.profile-info .bio {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--profile-bio-color);
  word-wrap: break-word;
}

.profile-info .time-stamp {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* ********* SOCIAL LINKS SECTION ********* */
.profile-social-links {
  /* padding: 1.5rem 2rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-social-links h2 {
  text-align: center;
  margin-bottom: 0.75rem;
  color: #000;
}

.profile-social-links h2::after {
  content: "";
  display: block;
  width: 50%;
  margin: auto;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 5px;
}

.profile-social-links ul {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  flex-wrap: wrap;
  cursor: pointer;
}
.profile-social-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-social-links a {
  color: var(--social-links);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.5s ease;
}

.profile-social-links a:hover,
.profile-social-links a:focus {
  color: #1e40af;
  outline: 2px dashed #1e3a8a;
  outline-offset: 3px;
}

.fa-brands {
  color: var(--social-links);
}

/* ********* HOBBIES & DISLIKES SECTION ********* */
.hobbies,
.dislikes {
  padding: 1.5rem;
}

.hobbies h2,
.dislikes h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.hobbies ul,
.dislikes ul {
  list-style: disc inside;
  padding-left: 0.5rem;
  line-height: 1.6;
  word-break: break-word;
  text-align: left;
  display: inline-block;
  line-height: 1.5;
}

.profile-right {
  background-color: #eeeeee;
  border-radius: 10px;
}

@media (min-width: 600px) {
  .profile-card-container {
    padding: 2.5rem;
  }

  .bio {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 900px) {
  .profile-card-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }

  .profile-left {
    margin-top: 10%;
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .profile-left .bio {
    text-align: center;
    white-space: wrap;
  }

  .profile-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .profile-social-links ul {
    justify-content: flex-start;
  }

  .name {
    font-size: 2rem;
  }

  .bio {
    font-size: 1.05rem;
  }

  .profile-social-links h2,
  .hobbies h2,
  .dislikes h2 {
    font-size: 1.3rem;
  }
}

.contact {
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #093375;
}

footer {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.contact {
  padding: .5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.contact:hover {
  background-color: #f8633e;
  color: #ffffff;
}