@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter-VariableFont_slnt\,wght.ttf') format('truetype-variations');
    font-weight: 400 700;
    font-style: oblique -10deg 0deg;
    font-display: swap;
}

@font-face {
    font-family: 'Inter-Regular';
    src: url('../assets/fonts/static/Inter-Regular.ttf') format('truetype-variations');
    font-weight: 400;
    font-display: swap;
}

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

:root {
    --green: hsl(75, 94%, 57%);
    --white: hsl(0, 0%, 100%);

    --grey-700: hsl(0, 0%, 20%);
    --grey-800: hsl(0, 0%, 12%);
    --grey-900: hsl(0, 0%, 8%);

    --font-inter: 'Inter', 'Inter-Regulara', sans-serif;
}

body {
    background-color: var(--grey-900);
    font-family: var(--font-inter);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--grey-800);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 1rem;
}

.card__avatar {
    width: 30%;
    height: auto;
    border-radius: 50%;
    margin: 0 1rem 1rem;
}

.card__name {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--white);
}

.card__location {
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
    margin: 0.5rem 0 2rem;
}

.card__description {
    color: var(--white);
    font-size: 14px;
    margin: 0 0 1rem;
}

.social-links__ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.social-links__a {
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    background-color: var(--grey-700);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 0.5rem;
    width: 19rem;
    text-align: center;
    border-radius: 7px;
}

.social-links__a:hover {
    color: var(--grey-900);
    background-color: var(--green);
}