#footer {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-1);
}

#footer .wrapper {
  padding: 120px 0px 100px 0px;
  width: 1440px;
  display: flex;
  gap: 164px;
  justify-content: space-between;
}

/* logoscroll */
#logoscroll {
  width: 100%;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--white-opacity-3);
  padding: 24px 0px 24px 0px;
}

#logoscroll .scroll-wrapper {
  user-select: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 1440px;
  height: 48px;
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0),
    rgba(0,0,0,1) 10%,
    rgba(0,0,0,1) 90%,
    rgba(0,0,0,0)
  );
}

#logoscroll img {
  transition: 0.25s;
  position: absolute;
  left: 100%;
  height: 44px;
  opacity: 0.65;
  animation: moveLeft 20s linear infinite forwards;
}

#logoscroll img:hover {
  opacity: 0.85;
}

#logoscroll img:nth-child(2) {
  animation-delay: calc(20s / 5 * (5 - 1) * -1);
}

#logoscroll img:nth-child(3) {
  animation-delay: calc(20s / 5 * (5 - 2) * -1);
}

#logoscroll img:nth-child(4) {
  animation-delay: calc(20s / 5 * (5 - 3) * -1);
}

#logoscroll img:nth-child(5) {
  animation-delay: calc(20s / 5 * (5 - 4) * -1);
}




/* logo */
#footer .logo {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#footer .logo img {
  height: 64px;
  object-fit:contain;
}

#footer .logo .socials {
  user-select: none;
  display: flex;
  gap: 12px;
}

#footer .logo .socials .social {
  cursor: pointer;
  transition: 0.25s;
  opacity: 0.75;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  height: 42px;
  width: 42px;
  border: 1px solid var(--white);
}

#footer .logo .socials .social img {
  transition: 0.25s;
  height: 26px;
  opacity: 0.85;
}

#footer .logo .socials .social:hover {
  background-color: var(--white);
}

#footer .logo .socials .social:hover img {
  filter: invert(1);
}



/* items */
#footer .items {
  user-select: none;
  width: 100%;
  justify-content: space-between;
  display: flex;
}

#footer .items h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}

#footer .items p {
  position: relative;
  cursor: pointer;
  transition: 0.25s;
  opacity: 0.65;
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 3px;
}

#footer .items p::before {
  transition: 0.25s;
  content: '';
  position: absolute;
  left: -18px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--purple);
  opacity: 0;
}

#footer .items p:hover {
  transform: translateX(2px);
  opacity: 0.95;
}

#footer .items p:hover::before {
  top: 11px;
  opacity: 1;
}


/* copyright */
#copyright {
  user-select: none;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 16px 0px 16px 0px;
  background-color: var(--bg-1);
  border-top: 1px solid var(--white-opacity-3);
  color: var(--white);
  font-size: 19px;
  font-weight: 300;
  opacity: 0.75;
}

#copyright span {
  position: relative;
  transition: 0.25s;
}

#copyright span::before {
  content: '';
  transition: 0.25s;
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -1px;
  background-color: var(--purple);
}

#copyright span:hover::before {
  width: 100%;
}

#copyright span:hover {
  filter: saturate(1.25);
}


/* keyframes */
@keyframes moveLeft {
  to {
    left: -200px;
  }
}

/* media queries */
@media (max-width: 1500px) {
  #footer .wrapper {
    width: 80%;
    gap: 80px;
  }
}

@media (max-width: 1300px) {
  #footer .wrapper {
    flex-direction: column-reverse;
    padding: 80px 0px 72px 0px;
  }

  #footer .logo {
    align-self: flex-start;
  }
}

@media (max-width: 1000px) {
  @keyframes moveLeft {
  to {
    left: -400px;
  }
}
}

@media (max-width: 950px) {
  #footer .items {
    flex-direction: column;
    gap: 40px;
  }

  #footer .logo {
    align-self: center;
  }
}

@media (max-width: 500px) {
  #copyright {
    font-size: 16px;
  }
}