@font-face {
  font-family: "Outfit";
  src: url("./fonts/Outfit/static/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Outfit";
  src: url("./fonts/Outfit/static/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Outfit";
  src: url("./fonts/Outfit/static/Outfit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Outfit";
  src: url("./fonts/Outfit/static/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --md-mobile: 375px;
  --md-desktop: 1440px;
  --blue-500: hsl(215, 51%, 70%);
  --blue-800: hsl(215, 32%, 27%);
  --blue-900: hsl(216, 50%, 16%);
  --blue-950: hsl(217, 54%, 11%);
  --cyan-400: hsl(178, 100%, 50%);
  --white: hsl(0, 0%, 100%);
  --font-family: "Outfit", sans-serif;
  --font-size: 16px;
}

* {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.text-preset-1 {
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 600;
}

.text-preset-2 {
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 300;
}

.text-preset-3 {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
}

.text-preset-4 {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 400;
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

body {
  font-size: var(--font-size);
  background-color: var(--blue-950);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

.card {
  max-width: 21.875rem;
  width: 100%;
  min-height: 37.25rem;
  border-radius: 15px;
  background-color: var(--blue-900);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-image {
  > img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;

  > .card-description {
    color: var(--blue-500);
  }
  > .card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .price {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      color: var(--cyan-400);
    }
    .date {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      color: var(--blue-500);
    }
  }
}

.h-division {
  width: 100%;
  height: 1px;
  background-color: var(--blue-800);
  color: var(--blue-800);
  border: none;
  margin: 24px 0;
}

.card-footer {
  display: flex;
  align-items: center;
  > .footer-image {
    gap: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    > img {
      border: 1px solid var(--white);
      border-radius: 50%;
      width: 33px;
      height: 33px;
    }
    > .author {
      font-weight: 400;
      color: var(--blue-500);
    }
    > .author > .name {
      color: var(--white);
    }
  }
}
