h1, h2, h3, h4, h5, h6 {
  color: rgb(74,93,35);
}

#wrapper {
  font-family: sans-serif;
}

#title {
  margin: auto;
  width: 900px;
  display: block;
  background: rgba(138, 154, 91);
  text-decoration: none;
}

#title-inner {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  font-size: 24px;
  padding-left: 30px;
  color: white;
  position: relative;
}

#title:visited {
  color: white;
}

#logo {
  position: absolute;
  right: -20px;
  top: -50px;
}

#main {
  display: flex;
  padding-top: 20px;
  width: 900px;
  margin: auto;
}

#desktop-nav {
  flex-basis: 200px;
  flex-shrink: 0;
  margin-right: 25px;
}

#desktop-nav .nav-item {
  display: block;
  height: 100px;
  margin-bottom: 10px;
  border-radius: 5px;
  padding: 10px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  background-color: rgb(138, 154, 91);
  position: relative;
}

#desktop-nav .nav-item:visited {
  color: white;
}

#desktop-nav .nav-item:hover {
  background-color: rgb(74,93,35);
}

#mobile-nav {
  display: none;
}

#content {
  flex-grow: 1;
  flex-shrink: 1;
  padding: 10px;
}

#content *:first-child {
  margin-top: 0;
}

#gallery img {
  max-height: 150px;
  border: 4px solid transparent;
}

#gallery img:hover {
  border-color: rgba(138, 154, 91);
}

.phone-number {
  font-weight: bold;
  text-decoration: none;
}

@media (max-width: 765px) {
  #main {
    width: 100%;
  }

  #title {
    width: 100%;
  }

  #title-inner {
    height: 100px;
    font-size: 18px;
    padding-left: 20px;
  }

  #logo {
    height: 115px;
    top: 10px;
    right: 10px;
  }

  #desktop-nav {
    display: none;
  }

  #mobile-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  #mobile-nav .nav-item {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    padding: 5px;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background-color: rgb(138, 154, 91);
    position: relative;
  }

  #mobile-nav .nav-item span {
    width: 90px;
    position: absolute;
    left: 0;
    bottom: 3px;
    text-align: center;
  }

  #main {
    display: block;
  }

  #content {
    padding: 20px;
  }

  #gallery img {
    max-height: 80px;
  }
}
