/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
}

/* Main Container */
.main-container {
  padding: 1rem;
  width: 100%;
  max-width: 900px;
}

/* Profile Card */
.profile-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
}

/* Avatar */
.avatar {
  margin-top: 1.5rem;
}
.avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1976d2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Profile Content */
.profile-content {
  text-align: center;
  padding: 1.5rem;
  width: 100%;
  max-width: 600px;
}

.user-name {
  font-size: 1.75rem;
  color: #111;
  margin-bottom: 0.5rem;
}

.bio {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Time Display */
.time {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Social Links */
.social-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.social-links a {
  color: #1976d2;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.social-links a:hover,
.social-links a:focus {
  color: #0d47a1;
  outline: none;
}

/* Hobbies & Dislikes */
section {
  margin-bottom: 1.25rem;
  display: inline-block;
  margin-left: 5%;
}
section h3 {
  font-size: 1.1rem;
  color: #1976d2;
  margin-bottom: 0.5rem;
}
section ul {
  list-style: circle;
  padding-left: 1.25rem;
  color: #444;
  text-align: left;
  display: inline-block;
}

/* Desktop View */
@media (min-width: 700px) {
  .profile-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 2rem;
  }

  .avatar {
    margin: 0 2rem 0 0;
  }

  .profile-content {
    padding: 0;
  }

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

  section ul {
    display: block;
  }

  section {
    float: left;
    margin-right: 17%;
  }

  nav{
    margin-left: 4%;
  }
}
