.footer-grid {
  background-color: #fff;
  padding: 0 10%;
  height: 125px;
}
.footer-icon-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;
}
.footer-grid a,
.footer-grid button {
  max-height: 100%;
  height: 100%;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
}
.footer-icon-grid a,
.footer-icon-grid button {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-grid button picture,
.footer-grid button img,
.footer-grid a picture,
.footer-grid a img {
  display: block;
  object-fit: contain;
  height: 100%;
  transition: transform 0.2s;
}
/* For tablet displays and other bigger displays */
@media only screen and (min-width: 415px) and (max-width: 1023px) {
  .footer-icon-grid {
    height: 50px;
  }
}
/* For smaller displays*/
@media only screen and (min-width: 414px) and (max-width: 719px) {
  .footer-icon-grid {
    height: 40px;
  }
}
/* For really small displays*/
@media only screen and (max-width: 414px) {
  .footer-icon-grid {
    height: 30px;
  }
}
.footer-grid a img:hover,
.footer-grid button img:hover {
  transform: scale(1.25);
}
.footer-legal {
  padding-top: 25px;
}
.footer-legal p {
  text-align: center;
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}
.footer-legal a {
  color: black;
}
@media only screen and (max-width: 550px) {
  .footer-legal p {
    font-size: 12px;
  }
}
