body {
    font-family: Inter, sans-serif;
    background-color: hsl(0, 0%, 8%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: hsl(0, 0%, 12%);
    border-radius: 0.8em;
    padding: 2em 1.3em 1em 1.3em;
    width: 300px;
    margin-top: 0;
}

img {
    border-radius: 50%;
    width: 5em;
    margin-bottom: 1.2em;
}

.name {
    color: white;
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 -0.2em 0;
}

.location {
    color: hsl(75, 94%, 57%);
    font-size: 0.7em;
    font-weight: 600;
    margin-bottom: 1em;
}

.description {
    color: hsl(0, 0%, 80%);
    font-size: 0.7em;
    margin-bottom: 1.5em;
}

div.links {
    width: 93%;
}

div.links a {
    text-decoration: none;
    color: white;
    display: block;
    text-align: center;
    font-size: 0.7em;
    font-weight: 600;
    background-color: hsl(0, 0%, 20%);
    margin-bottom: 1em;
    padding: 1em;
    border-radius: 0.5em;
    transition: background 0.2s, color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

div.links a:hover {
    background-color: hsl(75, 94%, 57%);
    color: hsl(0, 0%, 12%);
}

.attribution {
    font-size: 11px;
    text-align: center;
    color: white;
    margin-top: 1.2em;
    text-decoration: none;
}
.attribution a {
    text-decoration: none;
    color: hsl(75, 94%, 57%);
}
@media (max-width: 375px) {
    .container {
        max-width: 80vw;
        padding: 1.5em 0.5em 1.2em 0.5em;
    }
    img {
        width: 60px;
    }
    .name {
        font-size: 1.4em;
    }
    .location,
    .description,
    div.links a {
        font-size: 0.8em;
    }
}

@media (min-width: 376px) and (max-width: 600px) {
    .container {
        max-width: 95vw;
        padding: 2em 1em 1.5em 1em;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 370px;
    }
}
