* {
    box-sizing: border-box;
}

h1, p, body {
    margin: 0
}

body {
    height: 100vh;
}

img {
    max-width: 100%;
}

ul, li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

:root {
    --color-white: hsl(0 0 100%);
    --color-green:  hsl(75, 94%, 57%);
    --color-grey: hsl(0, 0%, 20%);
}

.inter-font {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: .5rem;
}

.container {
    display: grid;
    place-content: center;
    height: 100%;
    background-color: hsl(0, 0%, 8%);
}

.card {
    background-color: hsl(0, 0%, 12%);
    padding: 1.5rem;
    border-radius: .5rem;
}

@media screen and (width <= 500px){
    .card {
        width: 60vw;
    }
}

.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-block-end: .75rem;
    color: var(--color-white);
}

.user-name {
    font-size: .875rem;
    font-weight: 700;
    color: hsl(0, 0%, 100%);
    margin-bottom: .25rem;
}

.user-info {
    text-align: center;
}

.user-photo {
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
}

.social-website {
    background-color: var(--color-grey);
    padding-block: .5rem;
    margin-bottom: .5rem;
    border-radius: .25rem;
    &:last-child{
        margin: 0;
    }
    &:is(:hover, :active, :focus){
        background-color: var(--color-green);
        color: var(--color-grey);
        cursor: pointer;
    }
}

.social-links {
    text-align: center;
    color: var(--color-white);
    font-weight: 600;
}

.user-location {
    color: var(--color-green);
    font-weight: 600;
}

.user-status {
    font-weight: 400;
}