footer {
  width: 100%;
  background-color: light-dark(#d9dfe2, #000);
  border-top: 1px solid #e6e8ea;
  padding: 20px;
}

#footer-menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: light-dark(#000,#fff);
  display: block;
  margin: 5px 0;
  border-radius: 2px;
}

.mobile-nav-links {
  display: none;
  padding: 10px 0;
}

#footer-menu-checkbox:checked ~ .mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: light-dark(#000,#fff);
}

.contact-item:hover {
  color: #cf2e2e;
}

@media (max-width: 768px) {
  .flex-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    align-items: center;
    text-align: center;
  }

  .logo {
    order: 1;
  }

  .menu-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links {
    display: none;
  }

  #footer-menu-checkbox:checked ~ .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .mobile-nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    color: light-dark(#1d2327, #fff);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
  }

  .mobile-nav-links a:hover {
    color: #cf2e2e;
    transition: .4s;
  }
}

@media (prefers-color-scheme: light) {
  .colorized-image img{
    filter: invert(100%)
  }
}
