@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*,
*::before,
*::after
{
    padding: 0;
    box-sizing: border-box;
}

ul
{
    list-style: none;
}

: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%);
}

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

main
{
    background-color: var(--grey-800);
    padding: 1.75rem;
    text-align: center;
    border-radius: 8px;
    width: 22rem;
    max-width: 22rem;
}

.image-wrapper img
{
    display: block;
    width: 100px;
    border-radius: 50%;
    margin: 0 auto;
}

h1
{
    color: var(--white);
    margin: 10px 0;
    font-weight: 600;
    font-size: 1.5rem;
}

p
{
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 200;
}

p.address
{
    font-weight: 400;
    color: var(--green);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.link
{
    width: 100%;
    background-color: var(--grey-700);
    border-radius: 5px;
    margin-bottom: 10px;
}

li>a
{
    display: block;
    padding: 10px 12px;
    border-radius: 5px;
    color: var(--white);
    font-weight: 400;
    text-decoration: none;
}

li>a:hover
{
    background-color: var(--green);
    color: var(--grey-700);
}

@media (max-width:374px)
{
    main
    {
        max-width: 19rem;
    }
}