.footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
  }
  
  .footer-group {
    display: flex;
    flex-direction: column;
    margin: 10px;
  }
  
  .footer-group a {
    color: #bbb;
    text-decoration: none;
    margin: 5px 0;
    transition: color 0.3s ease;
  }
  
  .footer-group a:hover {
    color: #fff;
  }
  
  .footer-group span {
    margin: 5px 0;
  }
  
  @media (min-width: 600px) {
    .footer-group {
      flex-direction: row;
    }
  
    .footer-group a,
    .footer-group span {
      margin: 0 10px;
    }
  }