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

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

:root {
  --Very-dark-blue: hsl(233, 47%, 7%);
  --Dark-desaturated-blue: hsl(244, 38%, 16%);
  --Soft-violet: hsl(277, 64%, 61%);
  --Slightly-transparent-white-para: hsla(0, 0%, 100%, 0.75);
  --Slightly-transparent-white-stats: hsla(0, 0%, 100%, 0.6);
}

body {
  background-color: var(--Very-dark-blue);
  color: gray;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

}

.card {
  background-color: var(--Dark-desaturated-blue);
  max-width: 400px;
  overflow: hidden;
  border-radius: 10px;
  /* max-width: 100%; */
}

img {
  width: 100%;
  background: var(--Dark-desaturated-blue);
  mix-blend-mode: multiply;
  opacity: 0.75;
  display: block;
}

.bg {
  background-color: var(--Soft-violet);
  opacity: 1;
}

span {
  color: var(--Soft-violet);
}

.desc {
  padding: 25px;
  margin-top: 5px;
}

h1 {
  font-family: "inter", sans-serif;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

p {
  font-family: "inter", sans-serif;
  color: var(--Slightly-transparent-white-para);
  text-align: center;
  line-height: 1.8;
}

strong {
  color: white;
  font-family: "inter", sans-serif;
  text-align: center;
}

ul {
  list-style: none;
  font-family: "Lexend Deca", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
}

li {
  display: flex;
  flex-direction: column;
  margin: 15px 0;
}

@media screen and (min-width: 1000px) {
  .card {
    display: flex;
    max-width: 1000px;
    flex-direction: row-reverse;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .desc {
    width: 450px;
    display: flex;
    flex-direction: column;
    margin: 30px;
  }
  h1 {
    text-align: left;
    margin-bottom: 30px;
  }

  p {
    text-align: left;
    margin-bottom: 48px;
  }

  ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  strong {
    font-size: 18px;
    text-align: left;
  }
}
