@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Lexend+Deca&display=swap);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* PRIMARY COLORS */
  --dark-blue: hsl(233, 47%, 7%);
  --dark-desaturated-blue: hsl(244, 38%, 16%);
  --soft-violet: 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);
  /* FONTS */
  --ff-inter: "Inter", sans-serif;
  --ff-lexend: "Lexend Deca", sans-serif;
}

body {
  font-family: var(--ff-inter);
  background: var(--dark-blue);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  color: var(--white); /*Temp*/
}

main {
  background: var(--dark-desaturated-blue);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  border-radius: 14px;
  overflow: hidden;
  margin: 1.5rem;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.image::after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background: var(--soft-violet);
  opacity: 0.75;
}

.content {
  display: flex;
  background-color: hsl(244, 38%, 16%);
  flex-direction: column;
  justify-content: space-between;
  padding: 60px;
}

.content h1 {
  color: var(--white);
  padding-bottom: 15px;
}

.content p {
  font-size: 14px;
  align-self: flex-start;
  color: var(--main-paragraph);
  line-height: 1.8;
}

.content-card p {
  margin-top: 24px;
}

.content h1 span {
  color: var(--soft-violet);
}

.highlights {
  display: flex;
  justify-content: space-between;
}

.highlights div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.highlights p {
  font-size: 0.75rem;
  color: var(--stat-headings);
  font-family: "Lexend Deca";
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.uppercase {
  text-transform: uppercase;
}

.attribution {
  position: fixed;
  bottom: 10px;
  text-align: center;
  width: 100%;
  color: var(--white);
  font-weight: 300;
}

.attribution a {
  color: var(--soft-violet);
}
