/* external footer css */
#footer {
    background: #F2F8FA;
    color: #444;
}

#footer .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1260px;
    padding: 40px;
}

#footer h3,
#footer small {
    width: 100%;
}
#footer h3 {
    z-index: 3;
}

#footer #logo {
    height: 30px;
    margin: 0 0 20px -2px;
}

#footer section ul {
    padding: 0 20px 0 0;
}

#footer section li {
    list-style: none;
}

#footer section li:first-child {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#footer section ul li a {
    color: #444;
    display: block;
    font-size: 13px;
    padding: 6px 0;
    text-decoration: none;
}

#footer section li a:hover {
    text-decoration: underline;
}

#footer .footer-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: 0;
    margin-top: 10px;
    padding-right: 0;
}

#footer .button-footer {
  background: #e72429;
  border-radius: 10em;
  border: solid #e72429 5px;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  margin: 0 10px;
  padding: 12px 30px;
  text-decoration: none;
  transition: .3s;
  white-space: nowrap;
}

#footer .button-footer:hover {
  background: none;
  color: #e72429;
}

#footer .button-footer.empty {
  background: none;
  color: #e72429;
}

#footer .button-footer.empty:hover {
  background: #e72429;
  color: #fff;
}

#footer .icon {
  margin: 10px 20px;
}

#footer .icon img {
  filter: brightness(.3);
  width: 35px;
}

#footer small {
    margin-top: 30px;
}

/* responsive */
@media screen and (min-width: 1024px) {
    .inner section:nth-last-of-type(1) {
        align-self: center;
    }
}

@media screen and (max-width: 768px) {
    #inner {
        padding: 30px;
    }

    #footer .inner { 
        flex-direction: column;
    }

    #footer .button-footer {
        display: inline-block;
        margin: 10px 10px 20px 0;
    }

    #footer small {
        margin-top: 0;
    }

    #footer .footer-social-links {
        justify-content: flex-start;
        margin: 0;
    }

    #footer .icon {
        margin: 10px;
    }
}

@media screen and (max-width: 374px) { 
    #footer .button-footer {
        display: inline-block;
        margin: 10px 0;
    }
}