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

main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.card {
  display: flex;
  width: 1024px;
  height: 430px;
  border-radius: 0.5em;
}

body {
  background-color: hsl(233, 47%, 7%);
}

.card {
  background-color: hsl(244, 38%, 16%);
}

.text {
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text h1 {
  color: hsl(0, 0%, 100%);
  font-family: "Lexenda Deca", sans-serif;
  font-weight: 700;
}
.text .paragraph {
  color: hsla(0, 0%, 100%, 0.75);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 25px;
}
.text strong {
  color: hsl(277, 64%, 61%);
  font-weight: 700;
}

.stat-headings {
  display: flex;
  gap: 70px;
  margin-top: 60px;
}
.stat-headings h2 {
  font-family: "Lexenda Deca", sans-serif;
  font-weight: 600;
  margin-bottom: 5px;
  color: hsl(0, 0%, 100%);
}
.stat-headings p {
  font-family: "Inter", sans-serif;
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 15px;
}

.image-overlay.desktop img {
  border-top-right-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
}

.image-overlay {
  display: inline-flex;
  position: relative;
  opacity: 0.7;
}

.image-overlay.mobile {
  display: none;
}

.image-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(91, 42, 121, 0.58);
  border-top-right-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
  mix-blend-mode: hard-light;
}

/* Mobile */
@media (max-width: 768px) {
  .card {
    width: 340px;
    height: 795px;
    text-align: center;
    flex-direction: column;
  }
  .stat-headings {
    flex-direction: column;
  }
  .image-overlay.desktop {
    display: none;
  }
  .image-overlay.mobile {
    display: inline-flex;
    flex-direction: column;
  }
  .image-overlay.mobile img {
    border-top-right-radius: 0.5em;
    border-top-left-radius: 0.5em;
  }
  .stat-headings {
    gap: 30px;
    margin-top: unset;
  }
  main {
    height: unset;
    padding: 20px;
  }
  .text {
    padding: 25px;
    gap: 35px;
  }
}

/*# sourceMappingURL=main.css.map */
