/*******************************/
/* ------  FOOTER BLOCK ------ */
/*******************************/
#footer {
  position: relative;
  background-color: #222222;
  color: white;
  padding: 25px 0;
  overflow: hidden;
}
#footer:before {
  content: "<footer>";
  position: absolute;
  top: 10px;
  left: 5px;
  display: inline-block;
  font-size: 15px;
  line-height: 15px;
  color: grey;
  opacity: 0.5;
  font-family: "Shadows Into Light", cursive;
  letter-spacing: 2px;
  transform: rotate(-4deg);
  animation-name: floatingDown;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  z-index: 5;
}

@keyframes floatingDown {
  from {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 10px);
  }
  to {
    transform: translate(0, 0px);
  }
}
@keyframes floatingUp {
  from {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, -10px);
  }
  to {
    transform: translate(0, -0px);
  }
}

#footer:after {
  content: "</footer>";
  position: absolute;
  bottom: 10px;
  right: 5px;
  display: inline-block;
  font-size: 15px;
  line-height: 15px;
  color: grey;
  opacity: 0.5;
  font-family: "Shadows Into Light", cursive;
  letter-spacing: 2px;
  transform: rotate(-4deg);
  animation-name: floatingUp;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-delay: 0.2s;
}

#footer .footer-container {
  display: flex;
  justify-content: space-between;
}

#footer .footer-container div {
  /* margin: 10px; */
}
#footer .socialContainer {
  /* margin: 10px; */
}
#footer .socialContainer a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

@media (max-width: 660px) {
  #footer:before {
    top: 3px;
    left: 2px;
    font-size: 15px;
    line-height: 15px;
    opacity: 0.3;
  }
  #footer:after {
    bottom: 2px;
    right: 2px;
    font-size: 15px;
    line-height: 15px;
    opacity: 0.3;
  }
  #footer .footer-container {
    justify-content: space-between;
    flex-direction: column;
    text-align: center;
  }
  #footer .copyright {
    padding-bottom: 10px;
  }
}

/* HANDNOTE */
#footer .handNote {
  transform: rotate(5deg);
  padding-right: 10px;
}
@media (max-width: 660px) {
  #footer .handNote {
    position: absolute;
    left: calc(50% - 104px);
  }
}
