/* #d0c863 */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Roboto Mono', sans-serif;
  color: #000;
  background-color: #d1ca64;
}

.main-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #a29b33;
  padding: 1rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.logo-img {
  height: 6rem;
  border-radius: 37%;
}

.nav-link:link,
.nav-link:visited {
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: 700;
  color: #333;
  transition: all 0.3s;
}

.nav-link:hover,
.nav-link:active {
  color: #000;
}

.hero {
  margin: 0 auto;
  max-width: 130rem;
  padding: 9.6rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.heading-primary {
  font-size: 4rem;
}

.img-box img {
  width: 100%;
  border-radius: 8px;

  transition: all 0.3s;
}

.img-box img:hover {
  transform: translateY(-1.2rem);
}

.text-box {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  font-size: 1.8rem;
}

.list-icon {
  color: #413e14;
}

.btn:link,
.btn:visited {
  text-decoration: none;
  padding: 2.4rem 4.8rem;
  background-color: #111;
  color: #a29b33;
  width: fit-content;
  font-size: 2.4rem;
  font-weight: 700;
  border-radius: 1.2rem;

  transition: all 0.3s;
}

.btn:hover,
.btn:active {
  background-color: #a29b33;
  color: #000;
}

@media (max-width: 40em) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3.2rem;
  }
  .img-box {
    grid-row: 1;
  }
}
