/* ===== FOOTER =====*/
.footer {
  background-color: #121212;
  color: grey;
  box-shadow: 8px -4px 8px rgba(146, 161, 176, 0.25);
  text-align: center;
  font-weight: var(--font-semi);
  padding: 2rem 0;
}
.footer__title {
  font-size: 2rem;
}

.footer-name:hover {
  letter-spacing: 0.1rem;
  transition: letter-spacing 1s ease-out;
}

.footer__social {
  margin: 20px auto 30px;
}

.footer__icon:nth-child(4n + 1) {
  font-size: 1.5rem;
  padding: 8px 13px;
  font-size: 1.3rem;
  width: max-content;
  color: #fff;
  background: linear-gradient(90deg, #fff400, #ffa601);
  border-radius: 50%;
  margin: 0 var(--mb-2);
}

.footer__icon:nth-child(4n + 2) {
  font-size: 1.5rem;
  padding: 8px 11px;
  font-size: 1.3rem;
  width: max-content;
  color: #fff;
  background: linear-gradient(90deg, #ff9f05, #f3503c);
  border-radius: 100%;
  margin: 0 var(--mb-2);
}

.footer__icon:nth-child(4n + 3) {
  font-size: 1.5rem;
  padding: 8px 11px;
  font-size: 1.3rem;
  width: max-content;
  color: #fff;
  background: linear-gradient(90deg, #ee4248, #d53567);
  border-radius: 100%;
  margin: 0 var(--mb-2);
}

.footer__icon:nth-child(4n + 4) {
  font-size: 1.5rem;
  padding: 8px 11px;
  font-size: 1.3rem;
  width: max-content;
  margin-bottom: var(--mb-2);
  color: #fff;
  background: linear-gradient(90deg, #d23369, #a01495);
  border-radius: 100%;
  margin: 0 var(--mb-2);
}

.footer__icon:nth-child(4n + 5) {
  font-size: 1.5rem;
  padding: 8px 11px;
  font-size: 1.3rem;
  width: max-content;
  margin-bottom: var(--mb-2);
  color: #fff;
  background: linear-gradient(90deg, #a01495, #405de6);
  border-radius: 100%;
  margin: 0 var(--mb-2);
}

.footer__icon:hover {
  background: linear-gradient(
    90deg,
    #fff400,
    #ffa601,
    #ff9f05,
    #f3503c,
    #ee4248,
    #d53567
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 5s ease-in-out;
}
.heart i {
    color: red;
}

/*=====================================
      Scroll Progress Button
======================================*/

#scroll-progress {
  --progress: 0%;

  position: fixed;

  right: 24px;
  bottom: 24px;

  width: 58px;
  height: 58px;

  border-radius: 50%;

  cursor: pointer;

  z-index: 9999;

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;

  transform: translateY(20px);

  transition: 0.35s ease;
}

#scroll-progress.show {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

/* Progress Ring */

#scroll-progress::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 50%;

  background: conic-gradient(
    #d53567 var(--progress),
    rgba(255, 255, 255, 0.18) 0
  );

  transition: 0.15s linear;
}

/* Inner Circle */

.scroll-progress__inner {
  position: relative;

  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: #111827;

  display: flex;
  justify-content: center;
  align-items: center;

  color: #fff;

  font-size: 18px;

  transition: 0.3s ease;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

#scroll-progress:hover .scroll-progress__inner {
  background: #d53567;

  transform: scale(0.95);
}

#scroll-progress:hover {
  transform: translateY(-3px);
}

/* ===== FOOTER MEDIA QUERIES =====*/
@media screen and (max-width: 768px) {
  #scroll-progress {
    width: 50px;
    height: 50px;

    right: 18px;
    bottom: 18px;
  }

  .scroll-progress__inner {
    width: 42px;
    height: 42px;

    font-size: 16px;
  }
}

/* Small Phones */

@media (max-width: 480px) {
  #scroll-progress {
    width: 46px;
    height: 46px;

    right: 15px;
    bottom: 15px;
  }

  .scroll-progress__inner {
    width: 38px;
    height: 38px;

    font-size: 15px;
  }
}