footer {
  border-top: 2rem solid #3A3024;
  background: #FAF0E6;
}
footer .inner {
  padding: 3rem 0;
}

.footer-logo {
  width: min(100%, 49rem);
  margin: 0 auto;
  padding: 1rem;
}
.footer-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 2rem;
  max-width: 90rem;
  margin: 1rem auto 0;
  padding-top: 2rem;
  border-top: 3px solid #C0B6AC;
}
.footer-nav li {
  text-align: center;
}
.footer-nav li a {
  display: inline-block;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.footer-nav li a:hover, .footer-nav li a:active {
  opacity: 0.6;
}
.footer-copyrights {
  padding: 0.75rem;
  background: #3A3024;
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
}

.float-btn {
  position: fixed;
  display: none;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
}
.float-btn a {
  display: block;
}
.float-btn a img {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.float-btn a:hover, .float-btn a:active {
  opacity: 0.7;
}
.float-btn a:hover img, .float-btn a:active img {
  -webkit-transform: scale(0.98);
          transform: scale(0.98);
}

@media screen and (max-width: 768px) {
  footer {
    border-top: 2rem solid #3A3024;
    background: #FAF0E6;
  }
  footer .inner {
    padding: 3rem 0;
  }

  .footer-logo {
    width: 30rem;
    margin: 0 auto;
    padding: 1rem;
  }
  .footer-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 2rem;
    max-width: 90vw;
    margin: 1rem auto 0;
    padding-top: 2rem;
    border-top: 3px solid #C0B6AC;
  }
  .footer-nav li {
    text-align: center;
    min-width: 30%;
  }
  .footer-nav li a {
    display: inline-block;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .footer-nav li a:hover, .footer-nav li a:active {
    opacity: 0.6;
  }
  .footer-copyrights {
    padding: 0.75rem;
    background: #3A3024;
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
  }

  .float-btn {
    position: fixed;
    display: none;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
    width: 10rem;
  }
  .float-btn a {
    display: block;
  }
  .float-btn a img {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .float-btn a:hover, .float-btn a:active {
    opacity: 0.7;
  }
  .float-btn a:hover img, .float-btn a:active img {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
  }

}