footer {
  background-color: var(--color-black);
  padding: 3em 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 5px solid var(--color-mosque);
  font-family: "Roboto", sans-serif;
}

.second-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.first-column,
.third-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.first-column h6,
.third-column h6 {
  color: var(--color-mosque);
  font-size: 1.2em;
}

.first-column span,
.third-column span {
  margin-left: 0.6em;
}

.first-column p,
.third-column p {
  margin-bottom: 0;
  border-top: 2px solid var(--color-mosque);
  padding: 4px 0;
  background: linear-gradient(
    to right,
    var(--color-mosque),
    var(--color-mosque) 50%,
    var(--color-white) 50%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 100%;
  transition: background-position 275ms ease;
}

.first-column p:hover,
.third-column p:nth-of-type(1):hover {
  color: var(--color-mosque);
  background-position: 0 100%;
}

.third-column {
  padding-bottom: 1.5em;
}

.social-cont {
  display: flex;
}

.social-cont p {
  padding: 4px 0;
}

.footer-logo {
  height: 5em;
}

.contact-me,
.cookie-consent {
  color: var(--color-misty-rose);
  cursor: pointer;
  text-decoration: none;
}

.facebook-logo,
.instagram-logo {
  width: 40px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.facebook-logo:hover,
.instagram-logo:hover {
  transform: scale(1.1);
}

.footer-icon {
  height: 1.3em;
}

/* MEDIA QUERIES */

@media all and (max-width: 968px) {
  footer {
    flex-direction: column;
    align-items: center;
  }
  .first-column {
    order: 1;
    padding: 2em 0;
  }
  .second-column {
    order: 2;
    padding: 2em 0;
  }
  .third-column {
    order: 3;
    padding: 2em 0;
  }
  .first-column,
  .third-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 360px) {
  .footer-logo {
    height: 3.5em;
  }
}
