: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%);
}
@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-VariableFont_slnt\,wght.ttf")
    format("truetype");
  font-style: normal;
  font-weight: normal;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}
html {
  font-size: 16px;
  line-height: 1.5;
}
body {
  background-color: var(--Grey-900);
  color: var(--White);
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.card {
  background-color: var(--Grey-800);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.card img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}
.card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--White);
  font-weight: 700;
}
.card h2 {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: var(--Green);
  font-weight: 600;
}
.card p {
  font-size: 14px;
  margin-bottom: 1rem;
  font-weight: 400;
}
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}
.social-links a {
    display: inline-block;
  font-size: 14px;
  text-decoration: none;
  width: 100%;
  background-color: var(--Grey-700);
  border-radius: 10px;
  padding: 0.5rem 0;
  color: var(--White);
  font-weight: 600;
}
.social-links a:hover {
  background-color: var(--Green);
  color: var(--Grey-900);
  transition: color 0.3s ease;
  cursor: pointer;
}

/* footer */
.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
