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

* {
    margin: 0;
    padding: 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%);

    /* - Weights: 400, 600, 700 */
}
body {
    font-family: "Inter", sans-serif;
    background: var(--Grey-900);
    color: var(--White);
    font-weight: 400;
}
.main {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card {
    width: 389px;
    background: var(--Grey-800);
    padding: 2.5em;
    border-radius: 15px;
    text-align: center;
}
.user-info {
    .image {
        width: 90px;
        border-radius: 50%;
        margin-bottom: 1.5em;
        /* vertical-align: top; */
    }
    .name {
        font-size: 1.5em;
        font-weight: 500;
        margin-bottom: 0.4em;
    }
    .location {
        color: var(--Green);
        font-size: 0.9em;
        font-weight: 700;
        margin-bottom: 2em;
    }
    .description {
        font-size: 0.9em;
        margin-bottom: 1.85em;
    }

}
.grid-links {
    display: grid;
    gap: 15.6px;

    .link {
        font-size: 0.9em;
        font-weight: 600;
        background: var(--Grey-700);
        color: var(--White);
        text-decoration: none;
        padding: 1em;
        border-radius: 10px;

        &:hover {
            background: var(--Green);
            color: var(--Grey-800);
        }
    }
}

@media screen and (max-width: 375px){
    .card {
        margin: 2.5em;
        font-size: 0.83rem;
    }
}