@font-face {
  font-family: 'Font Awesome 6 Brands';
  src: local('Font Awesome 6 Brands'), url(../fonts/fa-brands-400.woff2) format("woff2"), url(../fonts/fa-brands-400.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}

.tablet-show {
  display: none;
}

@media (max-width: 1280px) {
  .tablet-hide {
    display: none;
  }

  .tablet-show {
    display: block;
  }
}

footer {
  color: #fff;
  font-size: 14px;
  padding: 0;
}

footer .container {
  max-width: 100vw;
  background-color: #036;
  margin-top: 60px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 32px 25px;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  footer .container {
    padding: 32px 25px;
  }
}

@media (min-width: 1200px) {
  footer .container {
    padding: 32px max(50px, calc((100vw - 1820px)/2));
  }
}

footer a {
  color: #fff;
}

footer .footer__bottom-section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.footer__privacy {
  padding: 0 25px;
  flex-grow: 1;
}

.footer__social-media {
  display: flex;
  padding: 0 25px;
  align-self: center;
  align-items: center;
  gap: 10px;
}

.footer__bottom-section img {
  -webkit-filter: brightness(0) invert(1); /* Safari 6.0 - 9.0 */
  filter: brightness(0) invert(1);
}

footer ul.menu {
  margin: 0;
  display: flex;
  margin: 0;
  display: flex;
}

footer ul.menu a {
  text-decoration: none;
  pointer-events: auto;
}

footer ul.menu a:hover {
  color: inherit;
}

footer ul.menu .menu-item {
  margin: 0 20px;
  padding: 0;
  list-style: none;
  position: relative;
}

.footer__privacy ul.menu .menu-item:first-child {
  margin-left: 0;
}

.footer__privacy ul.menu .menu-item+.menu-item:before {
  content: "|";
  display: block;
  position: absolute;
  left: -20px;
}

.footer__privacy {
  flex-direction: column;
  display: flex;
}

.footer__privacy--text {
  margin-top: 10px;
}

@media (max-width: 1280px) {
  .footer__social-media .social-menu {
    display: none;
    pointer-events: none;
    overflow: hidden;
  }

  .footer__social-media .social-menu.active {
    opacity: 1;
    position: relative;
    height: unset;
    transition: all .3s;
    pointer-events: unset;
  }

  .footer__social-media .social-menu ul.menu {
    flex-wrap: wrap;
  }
}

@media (min-width: 1281px) {
  .footer__social-media .social-menu {
    pointer-events: none;
    display: none;
    justify-content: center;
    height: 45px !important;
  }

  .footer__social-media .social-menu.active {
    opacity: 1;
    background-color: #003366e6;
    pointer-events: unset;
  }

  .footer__logo,
  .footer__privacy,
  .footer__social-media,
  .footer__awards {
    width: fit-content;
    padding: 0;
  }

  footer .row {
    flex-wrap: nowrap;
    gap: 20px;
    margin: 0;
  }

  .footer__top-section {
    display: flex;
    justify-content: end;
    height: 50px;
  }
}

.footer__top-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #d9d9d930;
}

.footer__social-media .show-link-icon {
  transition: all .3s;
  cursor: pointer;
}

.footer__social-media .show-link-icon.active {
  opacity: .5;
  transform: rotate(180deg);
}

.footer__social-media .show-link-icon:after {
  content: "";
  font-family: "Font Awesome 7 Pro";
}

.footer__social-media>p {
  margin: 0;
}

.footer__social-media .social.show-link {
  color: white !important;
}

.footer__social-media ul.menu .menu-item {
  margin: 5px;
}

.social.show-link {
  white-space: nowrap;
}

.footer__social-media--menu a {
  content: "";
  border: 1px solid #fff;
  border-radius: 100%;
  width: 35px;
  height: 35px;
  font-size: 0 !important;
  display: block;
}

.footer__social-media--menu a:before {
  content: "";
  font-family: "Font Awesome 6 Brands";
  font-size: 1rem;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center center;
}

.footer__social-media--menu a.facebook::before {
  content: "\f39e";
}

.footer__social-media--menu a.instagram::before {
  content: "\f16d";
}

.footer__social-media--menu a.linkin::before {
  content: "\f0e1";
}

.footer__social-media--menu a.youtube::before {
  content: "\f167";
}

.footer__social-media--menu a.twitter::before {
  content: "\e61b";
}

.footer__social-media--menu a.wechat::before {
  content: "\f1d7";
}

.footer__social-media--menu a.baidu::before {
  background-image: url(../images/baidu.svg);
}

.footer__social-media--menu a.redbook::before {
  background-image: url(../images/redbook.svg);
}

.footer__social-media--menu a.zhifu::before {
  background-image: url(../images/zhifu.svg);
}

.footer__social-media--menu a.weibo::before {
  content: "\f18a";
}

.footer__social-media--menu a.bilibili::before {
  background-image: url(../images/bilibili.svg);
  background-size: 80%;
}

.footer__awards {
  margin-left: 0;
  align-items: center;
  gap: 30px;
  display: flex;
}

@media (max-width: 1280px) {
  footer .footer__bottom-section {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .footer__social-media .show-link-icon {
    display: none !important;
  }

  .social.show-link:after {
    content: " +";
    width: 12px;
    display: inline-block;
    text-align: right;
  }

  .social.show-link.active:after {
    content: " -";
  }

  .footer__logo,
  .footer__privacy,
  .footer__social-media,
  .footer__awards {
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .footer__privacy--text p {
    text-align: center;
    font-size: 12px;
  }

  .footer__social-media {
    width: 100%;
    flex-direction: column;
  }

  .footer__logo {
    width: calc((100% - 90px) / 4);
  }

  .footer__awards {
    order: 1;
  }

  .footer__awards-image {
    width: calc((100% - 90px) / 4);
  }

  .footer__privacy {
    order: 2;
    gap: 20px;
  }

  footer ul.menu {
    justify-content: center;
  }

  footer ul.menu a {
    font-size: 12px;
  }

  footer .row {
    flex-direction: column;
    gap: 20px;
  }
}