@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
}

@media screen and (max-width: 1240px) {
  .container {
    padding: 0 15px;
  }
}

.footer .mainFooter {
  display: flex;
  justify-content: space-between;
  padding-top: 36px;
  padding-bottom: 36px;
}

.footer .mainFooter .boxNav .headItem {
  margin-bottom: 12px;
}

.footer .mainFooter .boxNav .headItem h6 {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 133.02%;
}

.footer .mainFooter .boxNav .nav .navItem:last-of-type .navLink {
  margin-bottom: 0;
}

.footer .mainFooter .boxNav .nav .navItem .navLink {
  display: block;
  margin-bottom: 12px;
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 133.02%;
}

.footer .contentBottomFooter {
  position: relative;
  /* border-top: 1px solid #d9d9d9; */
}

.footer .contentBottomFooter .bottomFooter {
  position: relative;
  /* z-index: 1; */
  padding-top: 20px;
  padding-right: 40px;
  padding-bottom: 12px;
}

.footer .contentBottomFooter .bottomFooter .infoSite {
  margin-bottom: 34px;
}

.footer .contentBottomFooter .bottomFooter .infoSite .nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer
  .contentBottomFooter
  .bottomFooter
  .infoSite
  .nav
  .navItem:last-of-type
  .navLink {
  border-right: unset;
  padding-right: 0;
}

.footer
  .contentBottomFooter
  .bottomFooter
  .infoSite
  .nav
  .navItem
  .navLink {
  border-right: 1px solid #fff;
  padding: 0 12px;
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 133.02%;
}

.footer .contentBottomFooter .bottomFooter .viewCopyright {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.footer .contentBottomFooter .bottomFooter .viewCopyright .textCopy span {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 133.02%;
}

.footer
  .contentBottomFooter
  .bottomFooter
  .viewCopyright
  .infoSosmed
  .nav {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 32px;
}

.footer .contentBottomFooter .backToTop {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}

.footer .contentBottomFooter .backToTop.toTop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 100%;
  background-color: #d92126;
}

@media screen and (max-width: 992px) and (min-width: 768px) {
  .footer .mainFooter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    column-gap: 40px;
    row-gap: 36px;
    padding: 0 25px;
    padding-top: 45px;
    padding-bottom: 40px;
  }

  .footer .contentBottomFooter {
    position: relative;
    /* border-top: 1px solid #d9d9d9; */
  }

  .footer .contentBottomFooter .bottomFooter {
    position: relative;
    /* z-index: 1; */
    padding-top: 40px;
    padding-right: 65px;
    padding-bottom: 0px;
    padding-left: 0px;
  }

  .footer .contentBottomFooter .bottomFooter .infoSite {
    margin-bottom: 40px;
    padding: 0 8px;
  }

  .footer .contentBottomFooter .bottomFooter .infoSite .nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .footer
    .contentBottomFooter
    .bottomFooter
    .infoSite
    .nav
    .navItem
    .navLink.borderLost {
    border-right: unset;
  }

  .footer .contentBottomFooter .bottomFooter .viewCopyright {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column-reverse;
    padding-bottom: 40px;
    padding-left: 20px;
  }

  .footer
    .contentBottomFooter
    .bottomFooter
    .viewCopyright
    .textCopy
    span {
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 133.02%;
  }

  .footer .contentBottomFooter .bottomFooter .viewCopyright .infoSosmed {
    margin-bottom: 40px;
  }

  .footer
    .contentBottomFooter
    .bottomFooter
    .viewCopyright
    .infoSosmed
    .nav {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 32px;
  }

  .footer .contentBottomFooter .backToTop {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
  }

  .footer .contentBottomFooter .backToTop.toTop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 100%;
    background-color: #d92126;
  }
}

@media screen and (max-width: 767px) {
  .footer .container {
    padding: 0;
  }

  .footer .mainFooter {
    display: grid;
    grid-template-columns: 1fr 100px;
    justify-content: stretch;
    column-gap: 40px;
    row-gap: 36px;
    padding: 0 45px;
    padding-top: 45px;
    padding-bottom: 40px;
  }

  .footer .mainFooter .boxNav .headItem {
    margin-bottom: 12px;
  }

  .footer .mainFooter .boxNav .headItem h6 {
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 133.02%;
  }

  .footer .mainFooter .boxNav .nav .navItem:last-of-type .navLink {
    margin-bottom: 0;
  }

  .footer .mainFooter .boxNav .nav .navItem .navLink {
    display: block;
    margin-bottom: 12px;
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 133.02%;
  }

  .footer .contentBottomFooter {
    position: relative;
    /* border-top: 1px solid #d9d9d9; */
  }

  .footer .contentBottomFooter .bottomFooter {
    position: relative;
    /* z-index: 1; */
    padding-top: 40px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
  }

  .footer .contentBottomFooter .bottomFooter .infoSite {
    margin-bottom: 40px;
    padding: 0 8px;
  }

  .footer .contentBottomFooter .bottomFooter .infoSite .nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .footer
    .contentBottomFooter
    .bottomFooter
    .infoSite
    .nav
    .navItem:last-of-type
    .navLink {
    border-right: unset;
    padding-right: 0;
  }

  .footer
    .contentBottomFooter
    .bottomFooter
    .infoSite
    .nav
    .navItem
    .navLink {
    border-right: 1px solid #fff;
    padding: 0 12px;
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 133.02%;
  }

  .footer
    .contentBottomFooter
    .bottomFooter
    .infoSite
    .nav
    .navItem
    .navLink.borderLost {
    border-right: unset;
  }

  .footer .contentBottomFooter .bottomFooter .viewCopyright {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    flex-direction: column-reverse;
    padding-bottom: 40px;
    padding-left: 20px;
  }

  .footer
    .contentBottomFooter
    .bottomFooter
    .viewCopyright
    .textCopy
    span {
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 133.02%;
  }

  .footer .contentBottomFooter .bottomFooter .viewCopyright .infoSosmed {
    margin-bottom: 40px;
  }

  .footer
    .contentBottomFooter
    .bottomFooter
    .viewCopyright
    .infoSosmed
    .nav {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 32px;
  }

  .footer .contentBottomFooter .backToTop {
    position: absolute;
    top: auto;
    bottom: 0;
    right: 0;
  }

  .footer .contentBottomFooter .backToTop.toTop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 99px;
    background-color: #d92126;
  }
}
