@font-face {
    font-family: 'Inter Local';
    src: url(assets/fonts/Inter-VariableFont_slnt\,wght.ttf) format('truetype');
}
@font-face{
    font-family: 'Inter Local';
    src: url(assets/fonts/static/Inter-Bold.ttf) format('truetype');
    font-weight: 700;
}

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

@font-face {
    font-family: 'Inter Local';
    src: url(assets/fonts/static/Inter-SemiBold.ttf) format('truetype');
    font-weight: 600;
}

:root{
    --background-color: hsl(0, 0%, 8%);
    --font-color: hsl(0, 0%, 100%);
    --h1-color: hsl(75, 94%, 58%);
    --card-color: hsl(0, 0%, 20%);
    --grey-color: hsl(0, 0%, 12%);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Inter Local', sans-serif;
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card{
    background-color: var(--grey-color);
    max-width: 23.4375rem;
    border-radius: 0.625rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.profile{
    width: 5.625rem;
    height: 5.625rem;
    border-radius: 50%;
    margin-top: -0.9375rem;
}

.social{
    background-color: var(--card-color);
    border-radius: .4375rem;
    padding: 0.625rem;
    width: 100%;
    font-weight: 600;
    text-align: center;
    color: var(--font-color);
    border: none;
    cursor: pointer;
}
.social:hover{
    background-color: green;
}

.name{
    color: var(--font-color);
    font-size: 1.4375rem;
    text-align: center;
    font-weight: 700;
}

.address{
    color: var(--h1-color);
    font-size: 0.875rem;
    text-align: center;
    font-weight: 600;
}

.job{
    color: var(--font-color);
    font-size: 0.875rem;
    text-align: center;
    margin: 1.25rem 0;
}

.attribution{
    font-size: 0.6875rem;
    color: var(--font-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 0.625rem;
    cursor: pointer;
}

.attribution a{
    color: Green;
    cursor: pointer;
}
.attribution a:hover{
    color: blue;
}

.social-links-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: -0.9375rem;
}

@media (min-width: 90rem){
    .card{
        padding: 3rem;
        max-width: 28.125rem;
        gap: 1.25rem;
    }

    .social-links-container{
        gap: .9375rem;
    }
}