@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
* {
  padding: 0;
  margin: 0;
}
body {
  font-family: "Inter", sans-serif;
  background-color: #090b1a;
  color: white;
}
.card-background {
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.card {
  min-width: fit-content;
  margin: 10vw;
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  background-color: #1b1938;
  border-radius: 1rem;
  overflow: hidden;
  height: auto;
}
.card-info {
  padding: 0rem calc(3rem + 0.5vw);
  margin-right: 5rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
.card-info,
.card-image {
  flex: 1 1 7rem;
}
#card-title {
  font-size: calc(1.5rem + 0.5vw);
  color: white;
  margin-bottom: 10%;
}
#card-title span {
  color: #aa5cdb;
}
.card-text {
  font-size: calc(0.5em + 0.5vw);
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.75);
}
#card-stats {
  width: 100%;
  margin-top: 4rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}
#card-stat1,
#card-stat2,
#card-stat3 {
  flex: 1 1 7rem;
}
.card-image {
  position: relative;
}
.card-image::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(170, 92, 219, 0.4);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 1044px) and (min-width: 280px) {
  .card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    margin: calc(10rem + 1vw);
    min-width: 220px;
    text-align: center;
  }
  .card-info {
    flex: 1;
    padding: 0rem calc(2rem + 2vw);
    margin-right: 0rem;
  }
  .card-title {
    font-size: 3em;
  }
  .card-text {
    font-size: 3vw;
    line-height: 1.5;
  }
  #card-stat1,
  #card-stat2,
  #card-stat3 {
    flex: 1 1 20rem;
    margin: 1.5em;
    font-size: 3vw;
  }
  .card-image {
    width: 100%;
    height: 100%;
    flex: 1;
    margin-bottom: 2vh;
  }
}

.footer {
  text-align: center;
}
.footer p {
  font-size: 20px;
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.75);
}
