/* 🤯🤯🤯 HEADER 🤯🤯🤯 */

header {
  width: 100%;
  position: fixed;
  top: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;

  & .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 6.5rem;
    border-bottom: #e5e5e5 1.5px solid;

    & .logo-img {
      height: 45px;
      width: auto;
      display: block;
    }
    & .nav-links {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 2rem;

      & #dark-mode-toggle {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.4rem;
        padding: 5px;
        display: flex;
        align-items: center;
        transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);

        &:hover {
          transform: scale(1.15);
        }
      }

      & li a {
        text-decoration: none;
        color: var(--text-color);
        font-family: var(--font-main);
        font-size: var(--font-size-small);
        font-weight: 550;
        transition: color 0.25s ease;

        &:hover {
          color: var(--secondary-color);
        }
      }
    }
  }
}

/* 🦶🏻🦶🏻🦶🏻 FOOTER 🦶🏻🦶🏻🦶🏻 */

footer {
  position: relative;
  height: 7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: var(--white);
  padding: 3rem 6.5rem;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6.5rem;
    right: 6.5rem;
    height: 2.5px;
    background-color: var(--primary-color);
  }

  & .footer-copyright {
    font-family: var(--font-main);
    font-size: var(--font-size-mini);
    color: var(--text-color-secondary);
  }

  & svg {
    color: var(--primary-color);
    font-size: 1.5rem;
  }
}
