: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-size: 14px;

  --spacing-500: 40px;
  --spacing-300: 24px;
  --spacing-200: 16px;
  --spacing-150: 12px;
  --spacing-100: 8px;
  --spacing-50: 4px;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/static/Inter-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/static/Inter-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/static/Inter-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
}

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

* {
  margin: 0;
}

.wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--grey-900);

  @media only screen and (max-width: 768px) {
    padding: var(--spacing-500);
  }

  @media only screen and (max-width: 375px) {
    padding: 0;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background-color: var(--grey-800);
  align-items: center;
  border-radius: 12px;
  padding: var(--spacing-500);
  gap: var(--spacing-300);

  @media only screen and (max-width: 768px) {
    width: 456px;
    max-height: 611px;
  }

  @media only screen and (max-width: 375px) {
    max-width: 327px;
    padding: var(--spacing-300);
  }

  figure.profile-pic {
    background-image: url("assets/images/avatar-jessica.jpeg");
    height: 88px;
    width: 88px;
    background-size: cover;
    border-radius: 999px;
    overflow: clip;
  }

  .name-location {
    display: flex;
    flex-direction: column;
    align-items: center;

    .title {
      color: var(--white);
      font-family: 'Inter';
      font-size: 24px;
      font-weight: 700;
      line-height: 150%;
      letter-spacing: 0px;
    }

    .description {
      color: var(--green);
      font-family: 'Inter';
      font-weight: 700;
      font-size: 14px;
      line-height: 150%;
      letter-spacing: 0px;
    }
  }

  .bio {
      color: var(--white);
      font-family: 'Inter';
      font-weight: 400;
      font-size: 14px;
      line-height: 150%;
      letter-spacing: 0px;

  }

  .links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-200);
    align-self: stretch;

    button.btn {
      background-color: var(--grey-700);
      height: 45px;
      max-width: 304px;
      border-radius: 8px;
      border: none;
      padding: var(--spacing-150);

      color: var(--white);
      font-family: 'Inter';
      font-weight: 700;
      font-size: 14px;
      line-height: 150%;
      letter-spacing: 0px;
      transition: color 0.6s ease, background-color 0.6s ease;

      @media only screen and (max-width: 768px) {
        max-width: 376px;
      }

      &:hover, &:focus {
        color: var(--grey-700);
        background-color: var(--green);
        cursor: pointer;
        outline: none;
      }
    }
  }
}
