@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

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

:root {
  /* colors */
  --clr-stale-900: #1f314f;
  --clr-stale-500: #68778d;
  --clr-stale-300: #d5e1ef;
  --clr-white: #ffffff;

  /* spacing */
  --space-xl: 40px;
  --space-lg: 24px;
  --space-md: 16px;

  /* shadows */
  --drop-shadow: 0px 25px 25px rgba(0, 0, 0, 0.0477);
}

body {
  height: 100dvh;
  background-color: var(--clr-stale-300);
  display: grid;
  place-items: center;
}

.text-bold {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0;
  color: var(--clr-stale-900);
}

.text-regular {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: var(--clr-stale-500);
}

.card {
  background-color: var(--clr-white);
  filter: drop-shadow(var(--drop-shadow));
  padding: var(--space-md) var(--space-md) var(--space-xl);
  border-radius: 20px;
}

.card-content {
  display: flex;
  flex-direction: column;
  max-width: 288px;
  width: 100%;
}

.card-content__qr-code > img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  object-fit: cover;
}

.card-content__text {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-lg);
  padding-inline: var(--space-md);
  row-gap: var(--space-md);
  text-align: center;
}

.author {
  position: fixed;
  bottom: var(--space-md);
  margin-inline: auto;
  text-align: center;
}

@media screen and (max-width: 375px) {
  body {
    padding-inline: var(--space-lg);
  }
}
