.g-footer {
  font-family: 'Roboto', sans-serif;
  background: #f8f9fa;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  padding: 40px 16px;
}
.g-footer .g-logo {
  height: 28px;
  margin: 0 0 30px;
  width: 86px;
}
.g-footer .g-logo path {
  fill: #5f6368;
}
.g-footer .footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex: 2 0 auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.g-footer .footer-link-item {
  padding: 0 30px 30px 0;
}
.g-footer .footer-link-item a {
  color: #5e6369;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: .25px;
  text-decoration: none;
}
.g-footer .footer-link-item a:hover, .g-footer .footer-link-item a:focus{
    color: #202124;
}
.g-footer .footer-link-item a:visited {
  color: #7b1fa2;
}
.g-footer .footer-link-item a:focus {
  background: #e8eaed;
  outline: 10px solid #e8eaed;
}
@media (min-width: 850px) {
  .g-footer {
    margin-top: 40px;
    padding: 40px 80px 20px;
  }
  .g-footer .g-logo {
    margin-right: 55px;
  }
  .g-footer .footer-link-item {
    line-height: 1.625;
    font-size: 16px;
    letter-spacing: 0;
  }
}
