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

body {
    background-color: hsl(0, 0%, 8%);
    font-family: "Inter", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 2.5rem 0.9375rem;
}

.container {
    background-color: hsl(0, 0%, 12%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    max-width: 327px;
    width: 100%;
    height: auto;
    padding: 2.5rem;
    border-radius: 0.625rem;
}

.container img {
    width: 88px;
    height: auto;
    border-radius: 50%;
}

.name {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(0, 0%, 100%);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.location, 
.bio {
    font-size: 0.875rem;
}

.location {
    font-weight: 600;
    color: hsl(75, 94%, 57%);
    margin-top: 0.625rem;
    margin-bottom: 1rem;
}

.bio {
    font-weight: 400;
    color: hsl(0, 0%, 100%);
    margin-top: 0.875rem;
    margin-bottom: 1.625rem;
}

.social-links {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a {
    display: block;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    color: hsl(0, 0%, 100%);
    background-color: hsl(0, 0%, 20%);
    padding: 0.9375rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    background-color: hsl(75, 94%, 57%);
    color: hsl(0, 0%, 20%);
}

.attribution { 
    font-size: 0.6875rem; 
    text-align: center; 
    white-space: nowrap;
    margin-top: 1rem;
}
    
.attribution a { 
    color: hsl(228, 45%, 44%); 
}

@media (min-width: 750px) {
    .container {
        max-width: 384px;
        width: 100%;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 1.5rem;
    }
}
