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

body {
  background-color: hsl(233, 47%, 7%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Inter", sans-serif;
  padding: 0 15px;
}

main {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  background-color: hsl(244, 38%, 16%);
  margin: 80px 20px;
  border-radius: 10px;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.4;
  border-radius: 10px 10px 0 0;
}

.image {
  background-color: hsl(277, 64%, 61%);
  border-radius: 10px 10px 0 0;
}

.text {
  padding: 30px 25px;
}

h1 {
  font-size: 2rem;
}

h1,
h2 {
  color: hsl(0, 0%, 100%);
}

h1 + p {
  margin: 30px 0 45px;
  color: hsla(0, 0%, 100%, 0.75);
}

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

h2 + p {
  color: hsla(0, 0%, 100%, 0.6);
  text-transform: uppercase;
  font-size: 14px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.stats div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

@media (min-width: 768px) {
  body {
    padding: 0 30px;
    height: 100vh;
  }

  main {
    display: flex;
    flex-direction: row-reverse;
  }

  section {
    flex: 1;
  }

  .text {
    text-align: left;
    padding: 60px 0 60px 70px;
  }

  .text * {
    width: 72%;
  }

  .stats {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

footer {
  font-size: 11px;
  text-align: center;
  color: white;
}
footer a {
  color: hsl(228, 45%, 44%);
}
