footer {
  background: var(--primary-dark) !important;
  color: var(--bg-white);
  padding: 40px 16px 24px !important;
  margin-top: 48px !important;
  text-align: center;
}

footer a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

footer a:hover {
  color: var(--accent-light);
}

footer h2 {
  color: var(--bg-white) !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: 1.1rem !important;
  text-shadow: none !important;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 24px;
}

footer ul li {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
}

footer ul li a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

footer ul li a:hover {
  background: rgba(255,255,255,0.2);
  color: var(--bg-white);
}

footer small {
  color: rgba(255,255,255,0.5) !important;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  padding: 8px;
}

footer small:hover {
  color: rgba(255,255,255,0.8);
}

footer hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 20px 0;
}

footer .w3-table-all {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 16px auto;
  max-width: 600px;
}

footer .w3-table-all th {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  text-align: left;
  padding: 8px 12px;
}

footer .w3-table-all td {
  color: rgba(255,255,255,0.7);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

footer img {
  border-radius: 8px;
}

footer p {
  color: rgba(255,255,255,0.7);
}

footer section {
  padding: 8px;
  width: 100%;
  float: left;
  background-color: rgba(0, 0, 0, 0.9);
}

footer section h2 {
  font-size: 10px;
}

footer section ul {
  padding: 8px;
  width: 100%;
  display: flex;
}

footer li {
  list-style-type: none;
  padding: 4px;
  color: white;
  text-shadow: 2px 2px 4px black;
  font-size: 8px;
  text-align: center;
  flex: 1 1 auto;
}

#MentionsLegales {
  text-align: center;
  margin-top: 16px;
}

#MentionsLegales p {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

@media only screen and (max-width: 600px) {
  footer section ul {
    display: block;
  }
  footer li {
    flex-direction: row;
    text-align: left;
  }
}
