:root {
  --primary-gray: #333333;
  --secondary-gray: #4f4f4f;
  --footer-gray: #bdbdbd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Mono', monospace;
}

nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
}

main {
  height: 100vh;
  position: relative;
}

.page-logo {
  font-family: 'Inconsolata', monospace;
  font-size: 24px;
}

.container {
  padding: 2% 5%;
}

.hero {
  height: 100%;
  margin: auto 0;
}

.hero > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.hero-img-container {
  width: 500px;
  height: 375.03px;
}

.hero-img {
  width: 100%;
  height: 100%;
}

.hero-text {
  width: 547px;
  height: auto;
}

.hero-text h1 {
  font-weight: 700;
  font-size: 55px;
}

.hero-text p {
  margin: 24px 0;
  width: 60%;
  line-height: 2;
  padding-bottom: 1rem;
}

.home-btn {
  background: var(--primary-gray);
  padding: 16px 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: capitalize;
  color: #fff;
  font-size: 14px;
}

footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.footer-link {
  color: var(--primary-gray);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--footer-gray);
}

@media (max-width: 768px) {
  .hero > .container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .hero-img-container {
    width: 250px;
    margin: 2.5rem auto 3rem auto;
    height: auto;
  }

  .hero-text {
    width: 90%;
  }

  .hero-text h1 {
    font-size: 45px;
  }

  .hero-text p {
    margin: 16px 0;
    padding-bottom: 0.6rem;
    line-height: 1.5rem;
  }
}

@media (max-width: 575px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    margin: 24px 0;
    width: 70%;
    padding-bottom: 1rem;
  }

  .hero-img-container,
  .hero-text {
    height: auto;
  }

  footer {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-img-container {
    width: 200px;
    margin-top: 5rem;
  }

  .hero-text p {
    margin: 18px 0;
  }

  .hero-text p,
  .hero-text {
    width: 100%;
  }
}

@media (max-width: 375px) {
  .container {
    padding-left: 3%;
    padding-right: 3%;
  }
}
