/* Base settings */
: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-family: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--grey-900);
  color: var(--white);
  font-family: var(--font-family);
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card {
  background-color: var(--grey-800);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  width: 100%;
  max-width: 375px;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.location {
  color: var(--green);
  font-weight: 600;
  margin: 0.25rem 0 1.25rem;
}

.quote {
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links a {
  display: block;
  background-color: var(--grey-700);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.links a:hover,
.links a:focus {
  background-color: var(--green);
  color: var(--grey-900);
}
