* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  color: inherit;
}

: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-Weight-400: 400;
  --Font-Weight-600: 600;
  --Font-Weight-700: 700;
}

body {
  font-size: clamp(0.8rem, 2.2vw, 1rem);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--White);
  background-color: var(--Grey-900);
  text-align: center;
}

main {
  display: flex;
  flex-direction: column;
  padding-inline: 1.6rem;
  padding-block: 2rem;
  gap: 1.2rem;
  align-items: center;
  background-color: var(--Grey-800);
  width: 24rem;
  margin-inline: 1.6rem;
}

img {
  border-radius: 50%;
  height: auto;
  width: 5.25rem;
}

section > p {
  color: var(--Green);
  padding-block-start: 0.3rem;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
}

ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.9rem;
}

li > a {
  background-color: var(--Grey-700);
  font-weight: var(--Font-Weight-700);
  display: block;
  padding-block: 0.875rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

li > a:hover,
li > a.focus {
  background-color: var(--Green);
  color: var(--Grey-900);
}

@media (prefers-reduced-motion: reduce) {
  li > a {
    transition: none !important;
  }
}
