footer {
  background-color: var(--yalCyan);
  padding: 0 0 40px 0;
  font-size: 0.9rem;
  color: var(--yalBlack);
}

footer::before {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  background: var(--yalBlack);
  opacity: 0.15;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  width: 90%;
  margin: auto;
  direction: rtl;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  border-right: none;
  padding-right: 0;
}

@media (min-width: 800px) {
  .footer-col {
    border-right: 1px solid rgba(0,0,0,0.1);
    text-align: inherit;
  }
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-col:first-child {
  border-right: none;
}

@media (min-width: 800px) {
  .footer-col:not(:first-child) {
    padding-right: 20px;
    padding-top: 40px;
  }
}

.footer-brand {
  align-items: center;
  padding-top: 40px;
}

.footer-logo img {
  max-height: 50px;
}

.footer-social img {
  max-height: 40px;
  opacity: 0.8;
  transition: opacity .2s;
}

.footer-social img:hover {
  opacity: 1;
}

footer a {
  color: var(--yalBlack);
  text-decoration: none;
  transition: opacity .2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 800px) {
  footer a {
    text-decoration: none;
  }
}

footer a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.divLinks {
  display: flex;
  justify-content:space-evenly;
  padding: 20px 0;
}

.divLegal {
  display: flex;
  flex-direction: row;
  column-gap: 20px;
}

.picFooterLogo {
  max-height: 50px;
}

.picFooterLogo img {
  max-height: 50px;
}

.divFooterText {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  width: 90%;
  margin: auto;
}
