footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 2rem 0;
}
.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__social {
  display: flex;
  align-items: center;
  margin: 0 -0.5rem;
}
.footer__social-item a {
  width: 3.5rem;
  height: 3.5rem;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 0.5rem;
  transition: 0.2s ease-in-out;
  background-color: var(--white-color);
  text-align: center;
  line-height: 3.5rem;
  font-size: 20px;
  display: block;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--white-color);
  box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
  z-index: 1;
}
.footer__social-item a i {
  position: relative;
  color: var(--dark-color);
  transition: 0.5s;
  z-index: 3;
}
.footer__social-item a:hover i {
  color: var(--white-color);
  transform: rotateY(360deg);
}
.footer__social-item a:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: 2;
}
.footer__content-policy a::before,
.footer__content-privacy a::before {
  content: "";
  position: absolute;
  background-color: var(--white-color);
  height: 1px;
  top: 50%;
}
.footer__social-item a:hover:before {
  top: 0;
}
.footer__social-item.facebook a:before {
  background: #3b5999;
}
.footer__social-item.twitter a:before {
  background: #55acee;
}
.footer__social-item.instagram a:before {
  background: #527fa6;
}
.footer__content {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}
.footer__content-copyright {
  margin: 0;
}
.footer__content-policy a,
.footer__content-privacy a {
  margin-right: 1rem;
  padding-right: 1rem;
  color: var(--white-color);
  position: relative;
  transition: 0.2s ease-in-out;
}
.footer__content-policy a:hover,
.footer__content-privacy a:hover {
  text-decoration: underline;
}
.footer__content-policy a::before {
  width: 1.2rem;
  transform: rotate(90deg) translateY(-50%);
  right: -0.6rem;
}
.footer__content-privacy a::before {
  width: 0.7rem;
  right: -0.4rem;
}
@media only screen and (max-width: 768px) {
  .footer__container {
    flex-direction: column;
  }
  .footer__content {
    margin-top: 2rem;
    flex-direction: column;
  }
  .footer__content-policy a::before,
  .footer__content-privacy a::before {
    content: unset;
  }
  .footer__content-policy a,
  .footer__content-privacy a {
    margin: 0;
    padding: 0;
  }
  .footer__content-policy,
  .footer__content-privacy {
    margin-bottom: 1rem;
  }
  .footer__content-copyright {
    order: 1;
  }
}
