@font-face {
    font-family: "Inter";
    src: url(./assets/fonts/Inter-VariableFont_slnt\wght.ttf);
}

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

:root {
    --white: hsl(0, 0%, 100%);
    --green: hsl(75, 94%, 57%);
    --Grey700: hsl(0, 0%, 20%);
    --Grey800: hsl(0, 0%, 12%);
    --Grey900: hsl(0, 0%, 8%);
}

img {
    width: 100%;
    border-radius: 50%;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--Grey900);
}

.card {
    width: 90%;
    /* max-width: 360px; */
    margin: auto;
    background: var(--Grey800);
    border-radius: 10px;
}

.photo {
    width: 100px;
    margin: 2rem auto;
}

.name {
    color: var(--white);
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 0.25rem;
}

h1 {
    font-size: 24px;
    font-weight: 600;
}

.address {
    text-align: center;
    margin-bottom: 1.25rem;
}

h2 {
    color: var(--green);
    font-size: 16px;
    font-weight: 600;
}

.desc {
    text-align: center;
    margin-bottom: 1.25rem;
}

p {
    color: var(--white);
}

.links {
    margin: 1rem 1rem 2rem 1rem;
}

ul {
    list-style: none;
    padding-left: 0;
}

li a {
    display: block;
    background: var(--Grey700);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    margin: 0.75rem 0;
}

li a:hover {
    background: var(--green);
    color: var(--Grey900);
}

li a:active {
    background: var(--green);
    color: var(--Grey900);
}

@media (min-width: 567px) {
    .card {
        max-width: 400px;
    }
}
