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

img {
  max-width: 100%;
  display: block;
}

body {
  min-height: 100vh;
  font-family: 'Space Mono', monospace;
}

nav {
  width: min(80rem, 87%);
  margin-inline: auto;
  padding: 1.5rem 0;
}

.logo {
  font-family: 'Inconsolata', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.main-container {
  width: min(80rem, 87%);
  margin-inline: auto;
  display: flex;
  gap: 8rem;
  justify-content: center;
  align-items: center;
  padding: 12.5rem 0;
}

.main-content h1 {
  font-size: clamp(3rem, 1.8571rem + 2.381vw, 4rem);
  line-height: 5.9rem;
  font-weight: 700;
  color: #333333;
  padding-bottom: 2rem;
}

.main-content p {
  font-size: clamp(1.125rem, 0.6964rem + 0.8929vw, 1.5rem);
  line-height: 2.25rem;
  padding-right: 16rem;
}

.main-content .btn {
  padding: 1.5rem 2.69rem;
  border: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  background-color: #333333;
  color: #ffff;
  margin-top: 4rem;
  font-family: inherit;
  cursor: pointer;
}

footer {
  padding: 1.5rem;
}

footer p {
  text-align: center;
  white-space: nowrap;
  font-size: 0.9rem;
  color: #BDBDBD;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.underline {
  text-decoration: underline;
  font-weight: bold;
}

@media (max-width: 1050px) {
  .main-content p {
    padding: 0;
  }
}

@media (max-width: 780px) {

  .main-container {
    flex-direction: column;
    padding: 4rem 0;
    gap: 3.75rem;
  }

}