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

.text-preset-1 {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0px;
}
.text-preset-2 {
  font-weight: normal;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0px;
}
.text-preset-2-bold {
  font-weight: bold;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: "Inter", sans-serif;
  font-weight: normal;
  background-color: var(--color-grey-900);
  font-size: 100%;
}

body {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.card {
  width: 87.2%;
  max-width: 384px;
  background-color: var(--color-grey-800);
  border-radius: 12px;
  padding: clamp(1.5rem, -1.1446rem + 13.2231vw, 2.5rem);
  margin: auto;
  text-align: center;
  display: grid;
  row-gap: 1.5rem;
}

.image-wrap {
  display: block;
  height: 88px;
}

.image-wrap__image {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: inline-block;
}

.card__title {
  color: var(--color-white);
  margin-bottom: 4px;
}

.card__subtitle {
  color: var(--color-green);
}

.card__job-title {
  color: var(--color-white);
}

.nav__list {
  display: grid;
  row-gap: 16px;
}

.nav__list li a {
  display: block;
  background-color: var(--color-grey-700);
  border-radius: 8px;
  color: var(--color-white);
  text-decoration: none;
  cursor: pointer;
  padding: 0.75rem;
  transition: all 0.2s ease-in-out;
}

.nav__list li a:hover {
  color: var(--color-grey-700);
  background-color: var(--color-green);
}
