/* General Styles */
body {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;	
    font-size: 0.875rem;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    color: hsl(0, 0%, 100%);
    background-color: hsl(0, 0%, 8%);
}

/* Styles for the card */
.card {
    opacity: 0;
    transition: opacity 1s ease-out;
    background-color: hsl(0, 0%, 12%);
    padding: 2rem;
    text-align: center;
    border-radius: 1rem;
    max-width: 320px;
    width: min(90%, 320px);
    margin-top: 2rem;
}

.card.show {
    opacity: 1;
}

.profile-image {
    width: 30%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.location {
    color: hsl(75, 94%, 57%);
    font-weight: 600;
}

.description {
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.social-links {
    display: flex;
    list-style: none;
    padding: 0;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    text-decoration: none;
    display: block;
    background-color: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 100%);
    border-radius: 1rem;
    padding: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: hsl(75, 94%, 57%);
    color: hsl(0, 0%, 1%);
    transform: scale(1.05);
}

.btn:focus {
    outline: 2px solid hsl(75, 94%, 57%);
    outline-offset: 2px;
}

/* Styles for the attribution */
.attribution { 
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 0.65rem; 
    text-align: center; 
}

.attribution a { 
    color: hsl(228, 85%, 60%); 
}