/* ****************************
             Footer
******************************* */
footer {
  background-color: var(--text-100);
  color: var(--text-200);
  position: relative;
  z-index: +5;
}

/* ====> Footer Top */
footer .foot-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-col);
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

/* ==> F-top > Box 1 */
footer .foot-top .box-1 {
  display: grid;
  justify-content: space-between;
  gap: var(--gap-card);
}

footer .foot-top .box-1 .f-logo {
  height: 4rem;
  width: auto;
}

footer .foot-top .box-1 ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
footer .foot-top .box-1 ul > *:not(:last-child) {
  margin-right: var(--gap-card);
}
footer .foot-top .box-1 ul .nav-link {
  font-family: var(--hd-font-1);
  color: var(--bg-200);
  font-weight: 300;
}
footer .foot-top .box-1 ul .nav-link.active {
  color: var(--secoundry);
}

/* ==> F-top > Box 2 */
footer .foot-top .box-2 p {
  color: var(--text-w-200);
  font-size: 0.8rem;
  line-height: 1rem;
  font-weight: 200;
}

footer .foot-top .box-2 .title {
  font-size: 1.5rem;
  color: var(--bg-200);
}
footer .foot-top .box-2 p {
  color: var(--bg-300);
}
footer .foot-top .box-2 .i-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: calc(var(--gap-card) / 3);
  font-weight: 300;
  display: flex;
}
footer .foot-top .box-2 .i-list > *:not(:last-child) {
  margin-right: calc(var(--gap-card) * 2);
}
footer .foot-top .box-2 .i-list a {
  color: var(--bg-200);
  font-size: 0.8rem;
  transition: var(--Etrns);
}
footer .foot-top .box-2 .i-list a:hover {
  color: var(--bg-100);
}
footer .foot-top .box-2 .i-list a i {
  margin-right: 0.5rem;
}

/* ====> Footer Bottom */
footer .foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-top: 1px solid #3f3f3f;
  position: relative;
}
footer .foot-bottom > *:not(:last-child) {
  margin-right: var(--gap-card);
}
footer .foot-bottom .box-1 p {
  color: var(--bg-300);
  font-weight: 400;
  font-size: 0.7rem;
  margin: 0;
}
footer .foot-bottom .box-2 .social-list a {
  font-size: 1rem;
  color: var(--bg-300);
}

.footer .foot-bottom #myBtn {
}

/* ****************************
Back to top
******************************* */
#myBtn {
  position: absolute;
  display: flex;
  top: -1rem;
  right: 50%;
  z-index: +2;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  background-color: var(--text-100);
  border: 2px solid var(--secoundry);
  color: var(--bg-100);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  transition: var(--Etrns);
}

#myBtn:hover {
  background-color: var(--secoundry);
  color: var(--text-w-100);
}

#myBtn span {
  text-decoration: none;
  transition: var(--Etrns);
}

#myBtn:hover span {
  transform: translateY(-3px);
  text-decoration: none;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

@media (max-width: 950px) {
  footer .foot-top {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 800px) {
  #myBtn:hover span {
    transform: translateY(0);
  }

  #myBtn {
    bottom: 25%;
  }
  footer {
    display: none;
  }
}
/* ============================= */
.footer-empty {
  display: none;
}

@media (max-width: 800px) {
  .footer-empty {
    display: block;
  }
}
