:root {
    --clr-bg: hsl(0, 0%, 8%);
    --clr-card: hsl(0, 0%, 12%);
    --clr-link: hsl(0, 0%, 20%);
    --clr-accent: hsl(75, 94%, 57%);
    --clr-white: hsl(0, 0%, 100%);
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-white);
    font-family: "Inter", sans-serif;
}

main {
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
}

p {
    font-size: 14px;
}

.card {
    background-color: var(--clr-card);
    padding: 24px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
}

.personal-information {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar {
    height: 90px;
    border-radius: 50%;
}

.name-and-location {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

h1 {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 24px;
}

.location {
    margin: 0;
    color: var(--clr-accent);
    font-weight: 700;
}

.socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-link {
    background-color: var(--clr-link);
    width: 100%;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    line-height: 100%;
}

.social-link:hover {
    color: var(--clr-link);
    background-color: var(--clr-accent);
}
