.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content:space-between;
  background-color: var(--background-footer);
  padding: 2rem;   
  flex-wrap: wrap;     
}

.footer__logo {
  width: 90px;
  max-width: 90px;
  margin-top: 1rem;  
}

.footer__logo > img {
  width: 100%;
  height: 100%;
  justify-content: center; 
}

.footer__navegacion ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__navegacion li {
  margin: 0 5px;
}

.footer__enlace {
  display: inline-block;
  text-align: center;
  justify-content:space-around;
  align-content: center;
  font-family: var(--josefin-sans);
  color: var(--fuente-blanca);
  font-size: 18px;
  font-weight: 300;    
  margin: 5px;
  padding: 5px;    
}

.footer__enlace:hover > a {
  color: var(--hover-color);
}

.footer__social ul {
  margin: 0;
  padding: 0;
  display: flex;
  position: absolute;  
  left: 85%;
  transform: translate(-50%, -50%);  
}

.footer__social ul li {
  list-style: none;
  margin: 0 15px;
  display: inline;
  flex-direction: row;
}

.footer__social ul li a {
  position: relative; 
  display: block;
  width: 52px;
  height: 52px;
  text-align: center;
  line-height: 63px;
  background: var(--background-6);
  border-radius: 50%;
  font-size: 24px;
  color: var(--background-footer);
  transition: .5s;
}

.footer__social ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--hover-color);
  transition: .5s;
  transform: scale(.9);
  z-index: -1;
}

.footer__social ul li a:hover::before {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--hover-color);
}

.footer__social ul li a:hover {
  color: var(--hover-color);
  box-shadow: 0 0 5px var(--hover-color);
  text-shadow: 0 0 5px var(--hover-color);
}

.footer__copyright {
  font-family: var(--josefin-sans);
  color: var(--fuente-blanca);
  font-weight: 300;
  width: 100%;
  display: flex;    
  justify-content: center;  
}


@media (max-width: 768px) {
  .footer {
    flex-direction: column;
  }
  
  .footer__logo {
    margin: 0;
    width: 50%;
    max-width: 50%;    
  }

  .footer__logo > img {    
    margin: 0;
  }
  
  .footer__navegacion ul {
    flex-direction: column;
    align-items: center;    
    margin: 0;    
  }

  .footer__navegacion ul > li {
    padding: 0px;
  }
  
  .footer__social ul {
    position: static;
    transform: none;
    justify-content: center;
    margin: 1rem 0;
  }
  
  .footer__enlace {
    display: block;
    margin: 0.5rem 0;
  }
}