* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: #111;
  background: #d9dadd;
}

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.profile-card {
  display: flex;
  width: 100%;
  max-width: 900px;
  background: white;
  justify-content: space-between;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(19, 24, 33, 0.06);
  background-color: #0f172a;
}

.profile-header {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.avatar-figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-figure img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(16, 24, 40, 0.06);
  background: #eef2ff;
}

.avatar-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  font-family: 'Playfair Display', serif;
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}
.btn:focus {
  outline: 3px solid #cfe0ff;
  outline-offset: 2px;
}

.avatar-controls input[type="file"] {
  display: none;
}

.url-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
.url-input input[type="url"] {
  min-width: 220px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #d7dbe6;
}

.label-text {
  color: #fff;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 100px;
  color: #fff;
}

.navigation {
  display: flex;
  padding: 20px;
  color: #fff;
  font-size: 20px;
  margin-top: -100px;
}  

.navigation li {
  display: inline;
  margin: 5px;
  font-weight: bolder;
  text-decoration: none;
}

.navigation li a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.navigation li a:hover {
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #fff;
}

.profile-meta h2 {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
}

#user-name {
  color: #fff;
  margin: 0 0 12px 0;
}

.bio {
  font-size: 16px;
  margin: 0 0 20px 0;
 color: #fff;
  line-height: 1.5;
  max-width: 60ch;
  word-wrap: break-word;
}

.time {
  margin: 30px 0 20px 0;
  color: #fff;
  font-weight: bolder;
}

.profile-lists {
  display: flex;
  flex-direction: column;
}

.list-section {
  padding: 10px;
  border-radius: 8px;
}

span {
  display: flex;
}

span > #heading {
  margin-top: 20px;
  font-size: 30px;
}

.pack {
  margin-left: -20px;
} 

.likes-list li, .dislikes-list li{
  padding: 5px;
}

.hobbies, .likes-list li::marker{
  color: blue;
}

.dislikes, .dislikes-list li::marker {
  color: red;
}

.social-links {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 10px;
  margin: 0 10px 8px 0;
}
.social-links a {
  color: #203a43;
  text-decoration: none;
  padding: 16px 25px;
  border-radius: 15px;
  border: 1px solid #e6eefc;
  background: #fff;
  font-size: 18px;
}
.social-links a:focus {
  outline: 3px solid #cfe0ff;
  outline-offset: 0;
}

a:hover {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  color: white;
}

a:focus,
button:focus,
input:focus {
  box-shadow: none;
}


/*  Responsiveness*/

@media (max-width: 375px) {
  .profile-card {
    flex-direction: column;
  }

  .navigation {
    font-size: 16px;
  }
}

@media (min-width: 760px) {
  .profile-card {
    padding: 20px;
  }
  .profile-main {
    flex-direction: row;
    align-items: flex-start;
  }
  .profile-meta {
    flex: 2;
  }
  .profile-lists {
    flex: 1;
    grid-template-columns: 1fr;
  }
  .avatar-figure img {
    width: 180px;
    height: 180px;
  }
}

/* visually-hidden */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}