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

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Inconsolata", monospace;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  padding: 2rem 0;
  margin-bottom: 10rem;
}

h1 {
  font-weight: 700;
  font-size: 2.4rem;
  margin: 0;
}

section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

section img {
  width: 100%;
  max-width: 50rem;
}

section a {
  background-color: #333333;
  color: #fff;
  padding: 2.5rem 5rem;
  text-decoration: none;
  display: inline-block;
  margin: 1rem 0;
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 700;
}

section h2 {
  font-size: 6.4rem;
  line-height: 9.4rem;
}

section p {
  font-size: 2.4rem;
  line-height: 3.5rem;
  color: #333333;
}

@media screen and (max-width: 768px) {
  section {
    flex-direction: column;
  }

  section h2 {
    font-size: 4.8rem;
    line-height: 7.1rem;
  }

  section p {
    font-size: 1.8rem;
    line-height: 2.6rem;
  }
}
