/* Override Pico variables BEFORE anything else */
:root {
  --pico-primary: #8b5cf6;
  --pico-font-family: system-ui, sans-serif;
  --pico-border-radius: 0.1rem;
}

/* Light color scheme (Default) */
/* Can be forced with data-theme="light" */
/* [data-theme="light"],
:root:not([data-theme="dark"]) {} */

/* Dark color scheme (Auto) */
/* Automatically enabled if user has Dark mode enabled */
@media only screen and (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    img.logo {
      filter: invert(100)
    }
  }
}

.footer-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* Align items at the top of the header row */
  /* align-items: flex-start; */
}

footer #made-with {
  flex-grow: 1;
}

footer .links {
  flex-grow: 1;

  @media (min-width: 568px) {
    display: flex;
    justify-content: space-evenly;
    /* Vertically align items at the top */
    align-items: flex-start;
  }

  ul {
    display: grid;
  }

  li {
    list-style: none;
    padding-top: 0;
    padding-bottom: 0;
  }
}


@media (max-width: 567px) {
  .footer-flex {
    flex-direction: column;
    /* Since we are using column, cross axis is the horizontal axis */
    /* So align-items now center horizontally */
    align-items: center;
    flex-wrap: nowrap;
    row-gap: 20px;
  }

  footer .links {
    justify-content: center;
    margin: auto;
    width: 50%;
  }

  footer ul {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    padding: 0;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  footer #made-with {
    flex-grow: 1;
    width: 50%;
    margin: auto;
    text-align: center;
  }
}



.centered {
  margin: auto;
  width: 50%;
  text-align: center;
}