@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;
}

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

h1 {
  color: hsl(0, 0%, 100%);
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-family: 'Lexend Deca', sans-serif;
}

h1 span {
  color: hsl(277, 64%, 61%);
}

h2 {
  color: hsl(0, 0%, 100%);
  font-size: 1.2rem;
  font-family: 'Lexend Deca', sans-serif;
  margin-bottom: 0.25rem;
}

.description p {
  color: hsla(0, 0%, 100%, 0.75);
  font-size: 0.8rem;
  margin-bottom: 2.7rem;
  font-family: 'Inter', sans-serif;
}

.container {
  height: 100vh !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.9rem;
}

.description {
  width: 400px;
  height: 300px;
  padding: 3rem;
  border-radius: 5px 0 0 5px;
  background-color: hsl(244, 38%, 16%);
}

.stats ul {
  display: flex;
  list-style: none;
  color: hsl(0, 0%, 100%);
}

.stats ul li {
  margin-right: 2rem;
}

.stats ul li p {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  color: hsla(0, 0%, 100%, 0.6);
}

.image {
  width: 350px;
  height: 300px;
  background: url(./images/image-header-desktop.jpg)no-repeat center center/cover;
  border-radius: 0 5px 5px 0;
}

.filter {
  width: 100%;
  height: 100%;
  background: hsl(277, 64%, 61%);
  mix-blend-mode: multiply;
  border-radius: 0 5px 5px 0;
}

@media screen and (max-width:998px) {
  .container {
    flex-direction: column-reverse;
    padding: 0rem 1rem;
  }

  .stats ul {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .stats ul li {
    margin: 0;
  }

  .stats ul li p {
    margin-bottom: .5rem;
  }

  .image {
    width: 90%;
    height: 220px;
    border-radius: 5px 5px 0px 0px;
  }

  .filter {
    border-radius: 5px 5px 0px 0px;
  }

  .description {
    width: 90%;
    height: 320px;
    text-align: center;
    padding: 1rem;
    border-radius: 0px 0px 5px 5px;
  }

  .description p {
    margin-bottom: 1rem;
  }
}