/*
- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

font-family: 'Inconsolata', monospace;
font-family: 'Space Mono', monospace;

*/

:root {
  --white-bg-color: #ffffff;
  --grey-1-color: #333333;
  --grey-2-color: #4f4f4f;
  --grey-2-active--color: #474747;
  --grey-3-color: #bdbdbd;
}

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

html {
  font-size: 62.5%;
}

body {
  width: 100%;
  height: 100%;
  font-family: "Space Mono", monospace;
  background-color: var(--white-bg-color);
  line-height: 1;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  padding: 4rem 8rem;
  row-gap: 10rem;
}

.heading-title {
  grid-column: 1 / -1;
  font-family: "Inconsolata", monospace;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 2.5rem;
  color: var(--grey-1-color);
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.scarecrow-img {
  width: 54rem;
  height: auto;
}

.content {
  display: flex;
  flex-direction: column;
}

.content-title {
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 9.5rem;
  color: var(--grey-1-color);
  margin-bottom: 3.6rem;
}

.content-para {
  max-width: 39rem;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 3.6rem;
  color: var(--grey-2-color);
  margin-bottom: 6.4rem;
}

.homepage-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.1rem;
  background-color: var(--grey-1-color);
  color: var(--white-bg-color);
  padding: 2.4rem 4.2rem;
  text-transform: uppercase;
  transition: all 0.3s;
}

.homepage-btn:hover {
  background-color: var(--grey-2-active--color);
}

.footer {
  display: flex;
  justify-content: center;
  margin-bottom: 2.4rem;

  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.7rem;
  color: var(--grey-3-color);
}

.footer-name {
  font-weight: 700;
  text-decoration: underline;
}

.footer a {
  color: var(--grey-3-color);
  cursor: pointer;
}
@media (max-width: 74em) {
  .scarecrow-img {
    width: 36rem;
    align-self: center;
  }

  .content-title {
    font-size: 4.8rem;
  }

  .content-para {
    font-size: 1.8rem;
  }
}

@media (max-width: 54em) {
  .container {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 2rem 2.4rem;
    row-gap: 5rem;
  }

  .heading-title {
    justify-self: left;
  }

  .scarecrow-img {
    width: 29rem;
  }
}
