@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    font-family: Inter, sans-serif;
    background-color: hsl(0, 0%, 8%);
    text-align: center;
    display: grid;
    place-content: center;
    min-height: 100vh;
    color: white;
}

.social_link_container {
    width: 100%;
    max-width: 375px;  
    margin: 0 auto;
    background-color: hsl(0, 0%, 12%);
    padding: 2rem;
    border-radius: 0.75rem;
}

.profile_img img {
    border-radius: 100%;
    width: 40%; 
    max-width: 120px;        
}

.profile_img h4 {
    font-size: 1.25rem;
    margin-top: 1rem;
}

.profile_img p {
    color: hsl(75, 94%, 57%);
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.about p {
    font-weight: 300;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.profile_links ul {
    padding: 0;
    margin: 0;
}

.profile_links ul li {
    list-style: none;
}

.profile_links ul li a {
    display: block;
    text-decoration: none;
    color: white;
    background-color: hsl(0, 0%, 20%);
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 9px;
    transition: all 0.3s ease;
}

.profile_links ul li a:hover {
    background-color: hsl(75, 94%, 57%);
    color: hsl(0, 0%, 8%);
}


/* Mobile Responsiveness */

@media (max-width: 480px) {
  .social_link_container {
    width: 90%;
    padding: 1rem; 
    margin: 0 auto;
  }

  .profile_img img {
    width: 30%; 
    max-width: 80px;
  }

  .profile_img h4 {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .profile_img p {
    font-size: 0.75rem;
  }

  .about p {
    font-size: 0.8rem;
    margin-top: 0.5rem;
  }

  .profile_links ul li a {
    font-size: 0.85rem;
    padding: 0.6rem;
    margin-top: 0.6rem;
  }
}
