#footer {
  background-color: #1a1a1a;
  color: #FFF;
  position: relative;
  flex-shrink: 0;
}

#footer .footer-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  background-color: transparent;
  width: 100%;
  margin-bottom: -1px;
}

#footer .footer-inner {
  padding: 4% 40px;
  position: relative;
  font-size: 1rem;
}

@media (max-width: 767px) {
  #footer .footer-inner {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  #footer p {
    order: 3;
  }
}

#footer .link-to {
  color: #FFF;
  margin-right: 14px;
}

@media (max-width: 767px) {
  #footer .link-to {
    order: 4;
  }
}

#footer .logo,
#footer .social {
  position: absolute;
  margin-right: 40px;
  right: 0;
  top: 0;
}

@media (max-width: 767px) {
  #footer .logo,
  #footer .social {
    position: relative;
    margin: 0;
  }
}

#footer .logo {
  margin-top: 4%;
}

@media (max-width: 767px) {
  #footer .logo {
    order: 1;
    margin-bottom: 2rem;
  }
}

#footer .logo svg {
  width: 72px;
  height: auto;
  fill: #FFF;
}

#footer .social {
  margin-top: calc(4% + 80px);
}

#footer .social a {
  margin-left: 10px;
}

@media (max-width: 767px) {
  #footer .social a:first-of-type {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  #footer .social {
    order: 2;
    margin-top: 0;
  }
}


