/* footer */
.footer {
  border-top: 1px solid var(--color-light-grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--padding-section) / 2) 0;
}
.footer__links {
  display: flex;
}
.link {
  padding: 0 var(--padding-large);
  position: relative;
}
.link::after {
  position: absolute;
  top: 8px;
  right: 0;
  display: inline-block;
  content: '';
  width: 1px;
  height: 10px;
  background-color: var(--color-grey);
}
.link:last-child::after {
  display: none;
}
.link a {
  color: var(--color-grey);
  font-size: var(--font-micro);
}
.footer__name {
  padding: var(--padding-large) 0;
  font-weight: var(--weight-bold);
}
.footer__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 700px;
}
.footer__info-item {
  position: relative;
  padding: 0 var(--padding-medium);
  color: var(--color-dark-grey);
  font-size: var(--font-micro);
}
.footer__info-item::after {
  position: absolute;
  top: 4px;
  right: 0;
  display: inline-block;
  content: '';
  width: 1px;
  height: 10px;
  background-color: var(--color-grey);
}
.footer__info-item:last-child::after {
  display: none;
}
.footer__copyright {
  color: var(--color-dark-grey);
  font-size: var(--font-micro);
}
/* Arrow up */
.contact__btn {
  position: fixed;
  bottom: 40px;
  right: 50px;
  display: block;
  text-align: center;
  width: 60px;
  height: 60px;
  padding-top: 12px;
  font-size: var(--font-small);
  font-weight: var(--weight-bold);
  background-color: var(--color-green-yellow);
  border-radius: 50%;
  transition: opacity var(--annimation-duration) ease-in;
  transition: all var(--annimation-duration) ease-in-out;
  z-index: 10000;
}
.contact__btn:hover {
  color: white;
  background-color: var(--color-point);
}
.arrow-up {
  opacity: 0;
  display: block;
  position: fixed;
  bottom: 110px;
  right: 50px;
  width: 60px;
  height: 60px;
  color: var(--color-white);
  background-color: var(--color-grey);
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  font-size: calc(var(--font-regular) * 2);
  transition: opacity var(--annimation-duration) ease-in;
  pointer-events: none;
  transition: all var(--annimation-duration) ease-in-out;
  z-index: 10000;
}
.arrow-up.visible {
  opacity: 1;
  pointer-events: auto;
}
/* 48rem = 768px */
@media screen and (max-width: 48rem) {
  .contact__btn {
    bottom: 20px;
    right: 20px;
  }
  .arrow-up {
    bottom: 90px;
    right: 20px;
  }
}
