* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

:root {
    --Green: hsl(75, 94%, 57%);
    --White: hsl(0, 0%, 100%);
    --Grey700: hsl(0, 0%, 20%);
    --Grey800: hsl(0, 0%, 12%);
    --Grey900: hsl(0, 0%, 8%);

    --font-size: 14px;
    --font-weight-bold: 700;
    --font-weight-semibold: 600;
    --font-weight-regular: 400;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--Grey900);
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--Grey800);
    color: var(--White);
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    border-radius: 15px;
}

.card img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 1rem 0;
}

.card h1 {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
}

.card h2 {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--Green);
}

.card p {
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    text-align: center;
    line-height: 1.5;
    padding: 1rem 2rem;
}
@media (max-width: 400px) {
    .card p {
        padding: 1rem;
    }
    .card {
        padding: 1rem 2rem;
    }
}

.card a {
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    color: var(--White);
    background-color: var(--Grey700);
    padding: 0.7rem 3rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    min-width: 100%;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

.card a:hover {
    background-color: var(--Green);
    color: var(--Grey900);
}

.attribution {
    font-size: 12px;
    text-align: center;
    display: flex fixed;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 1rem;
    color: grey;
    margin-top: 1rem;
    bottom: 0;
  }
  .attribution a {
    color: hsl(228, 45%, 44%);
  }