html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Form controls don't inherit the body font by default */
input, select, textarea, button {
  font-family: inherit;
}

.site-content {            /* wrapper around everything between header and footer */
  flex: 0 0 auto;
}

footer {
  flex: 1 0 auto;          /* grows to fill the leftover space */
  background-color: #e5e5e5;  /* your footer gray */
}

/* ===== Page content ===== */
main {
  margin-left: 50px;
}

/* ===== Header ===== */
.site-header {
  background-color: #09496f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 20px 0 80px;
  min-height: 158px;
}

.header-logo {
  display: block;
  line-height: 0;
}

.header-logo img {
  display: block;
  height: 158px;
  width: auto;
}

.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.header-nav a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 8px 0 10px;
  border-bottom: 3px solid transparent;
}

.header-nav a:hover {
  border-bottom-color: rgba(76, 175, 80, 0.6);
}

.header-nav a.active {
  border-bottom-color: #4cbb4f;
}

@media (max-width: 800px) {
  .site-header {
    justify-content: center;
    padding: 12px 16px;
  }

  .header-nav ul {
    justify-content: center;
    gap: 20px;
  }
}

/* ===== Footer ===== */
.site-footer {
  background-color: #36424b;
  color: #ffffff;
  padding: 24px 20px 12px;
  margin-top: 50px;
}

.footer-columns {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 180px;
  text-align: center;
}

.footer-col h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.footer-col p {
  margin: 0;
  font-size: 17px;
  line-height: 27px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col i {
  margin-right: 4px;
  font-size: 15px;
}

.footer-col .facebook {
  font-size: 32px;
  line-height: 1;
  margin-top: 4px;
  display: inline-block;
}

.footer-col .facebook i {
  margin: 0;
  font-size: inherit;
}

.footer-col .facebook:hover {
  opacity: 0.8;
  text-decoration: none;
}