@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter-Regular.ttf);
}

@font-face {
  font-family: LexendDeca;
  src: url(../fonts/LexendDeca-Regular.ttf);
}

:root {
  /* Fonts */
  --inter: 'Inter', sans-serif;
  --lexendDeca: 'LexendDeca', sans-serif;

  /* Type Setting */
  font-family: var(--inter);
  /* font-size: 110%; */
  font-size: 93.75%;


  /* Colors */
  /***** Primary *****/
  --main-background: hsl(233, 47%, 7%);
  --card-background: hsl(244, 38%, 16%);
  --accent: hsl(277, 64%, 61%);
  /***** Neutral *****/
  --white: hsl(0, 0%, 100%);
  --main-paragraph: hsla(0, 0%, 100%, 0.75);
  --stat-headings: hsla(0, 0%, 100%, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* outline: 1px solid limegreen; */
}

/* Layout */
.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  display: flex;
  flex-direction: row-reverse;
  border-radius: .5rem;
  max-width: 70%;
  max-width: 1200px;
}

img {
  display: block;
  border-radius: 0 .5rem .5rem 0;
}

#hero {
  position: relative;
}

picture::after {
  content: "";
  background-color: var(--accent);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  mix-blend-mode: multiply;
  opacity: .9;
}

.card-content {
  display: flex;
  flex-direction: column;
  padding: 4rem 5rem;
  justify-content: space-between;
}

.card-body {
  margin-right: 3rem;
}

.stats {
  display: flex;
  margin-top: 2rem;
  justify-content: space-between;
}

.stat {
  margin-right: auto;
}

.stat-heading {
  margin-top: .5rem;
}

/* Type */
.card-heading {
  font-size: 3rem;
}

.card-body {
  font-size: 1.2rem;
  line-height: 1.6;
}

.stat-body {
  font-size: 1.7rem;
}

.stat-heading {
  font-family: var(--lexendDeca);
  text-transform: uppercase;
  font-size: 1rem;
}

.stat:nth-child(3) .stat-body {
  text-transform: uppercase;
}

/* Color */
.container {
  background-color: var(--main-background);
}

.card {
  background-color: var(--card-background);
  color: var(--white);
}

.card-heading {
  color: var(--white);
}

.violet {
  color: var(--accent);
}

.card-body {
  color: var(--main-paragraph);
}

.stat-heading {
  color: var(--stat-headings);
}