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

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

@media only screen and (min-width: 37.5em) {
  html {
    font-size: 67.5%;
  }
}

@media only screen and (max-width: 23.375em) {
  html {
    font-size: 50%;
    overflow: hidden;
    padding: 0;
  }
}

body {
  font-family: 'Inter','Lexend Deca', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  background-color: #090b1a;
  letter-spacing: .8px;
  color: white;
}

.container {
  width: 32.7rem;
  margin: auto;
}

@media only screen and (min-width: 50em) {
  .container {
    width: 100%;
  }
}

.attribution {
  font-size: 11px;
  text-align: center;
  color: violet;
  margin-bottom: 1rem;
}

.attribution a {
  color: #9195a6;
}

.preview-card {
  background-color: #1b1938;
  border-radius: 8px;
  width: 100%;
  margin: 5rem auto;
  overflow: hidden;
}

@media only screen and (min-width: 50em) {
  .preview-card {
    width: 54rem;
    display: flex;
    flex-direction: column;
    margin: 8rem auto 2rem;
  }
}

@media only screen and (min-width: 68.75em) {
  .preview-card {
    display: flex;
    flex-direction: row-reverse;
    max-width: 110rem;
    max-height: 44rem;
    width: 100%;
    margin: 12rem auto 6rem auto;
  }
}

.preview-card__photo {
  position: relative;
  background-image: url(../images/image-header-mobile.jpg);
  background-size: cover;
  height: 24rem;
  width: 100%;
  margin-bottom: 4.7rem;
}

@media only screen and (min-width: 50em) {
  .preview-card__photo {
    background-image: url(../images/image-header-desktop.jpg);
    height: 44rem;
    max-height: 44.6rem;
    max-width: 54rem;
  }
}

.preview-card__photo::after {
  content: "";
  height: inherit;
  width: inherit;
  position: absolute;
  inset: 0;
  background-color: #aa5cdb;
  mix-blend-mode: multiply;
  opacity: 90%;
}

.preview-card__content {
  text-align: center;
  margin: auto;
}

@media only screen and (min-width: 50em) {
  .preview-card__content {
    margin: 0 auto;
    width: 40rem;
  }
}

@media only screen and (min-width: 68.75em) {
  .preview-card__content {
    text-align: left;
    padding-top: 6rem;
  }
}

.preview-card__heading-primary {
  margin-bottom: 2rem;
}

.preview-card__heading-primary span {
  color: #aa5cdb;
}

.preview-card__paragraph {
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  width: 28rem;
  margin: 0 auto;
}

.preview-card__paragraph span {
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

@media only screen and (min-width: 50em) {
  .preview-card__paragraph {
    line-height: 1.7;
    width: 100%;
  }
}

.preview-card__stats-box {
  margin: 4.8rem auto;
}

@media only screen and (min-width: 50em) {
  .preview-card__stats-box {
    display: flex;
    justify-content: space-between;
    margin-top: 8.4rem;
  }
}

@media only screen and (min-width: 68.75em) {
  .preview-card__stats-box {
    margin-right: 3rem;
  }
}

.preview-card__stat:not(:last-child) {
  margin-bottom: 3.4rem;
}

@media only screen and (min-width: 50em) {
  .preview-card__stat {
    align-self: stretch;
  }
}
