@media (prefers-color-scheme: light) {

	body,
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		background-color: white;
		color: black;
		text-align: center;

	}
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: black;
		color: white;
		text-align: center;


	}
}


img {
	max-width:896px;
	max-height:896px;
	width:100%;
	height:auto;
}

/* Fix W3.CSS hover dropdowns on touch devices without JavaScript */
@media (hover: none), (pointer: coarse) {
  .w3-dropdown-hover > .w3-dropdown-content {
    display: none !important;
  }
  .w3-dropdown-hover:focus-within > .w3-dropdown-content {
    display: block !important;
  }
  /* Ensure the button can receive focus and acts as a toggle */
  .w3-dropdown-hover > button {
    cursor: pointer;
  }
}

/* Pure HTML+CSS current page highlighting */
body[data-page="/index.html"] a[href="/index.html"],
body[data-page="/kit.html"] a[href="/kit.html"],
body[data-page="/mac-apps/loads-of-folders.html"] a[href="/mac-apps/loads-of-folders.html"],
body[data-page="/mac-apps/daw-autosave.html"] a[href="/mac-apps/daw-autosave.html"],
body[data-page="/mac-apps/help/help.html"] a[href="/mac-apps/help/help.html"],
body[data-page="/mac-apps/small-utilities/small-utilities.html"] a[href="/mac-apps/small-utilities/small-utilities.html"],
body[data-page="/side-projects/sounds.html"] a[href="/side-projects/sounds.html"],
body[data-page="/side-projects/podcasts.html"] a[href="/side-projects/podcasts.html"],
body[data-page="/side-projects/game-servers.html"] a[href="/side-projects/game-servers.html"] {
  font-weight: 700;
}

/* Sub pages bold their parent menu items */
body[data-page^="/mac-apps/help/"] a[href="/mac-apps/help/help.html"],
body[data-page^="/mac-apps/small-utilities/"] a[href="/mac-apps/small-utilities/small-utilities.html"],
body[data-page="/mac-apps/discontiued-apps.html"] a[href="/mac-apps/help/help.html"],
body[data-page="/mac-apps/swinbar.html"] a[href="/mac-apps/help/help.html"] {
  font-weight: 700;
}

/* Bold parent dropdown buttons when a child page is active */
body[data-page="/mac-apps/loads-of-folders.html"],
body[data-page="/mac-apps/daw-autosave.html"],
body[data-page="/mac-apps/help/help.html"],
body[data-page="/mac-apps/small-utilities/small-utilities.html"] {
  /* The macOS Apps dropdown is the first .w3-dropdown-hover */
}
body[data-page^="/mac-apps/"] .w3-dropdown-hover:nth-of-type(1) > button {
  font-weight: 700;
}

body[data-page="/side-projects/sounds.html"],
body[data-page="/side-projects/podcasts.html"],
body[data-page="/side-projects/game-servers.html"] {
}
body[data-page^="/side-projects/"] .w3-dropdown-hover:nth-of-type(2) > button {
  font-weight: 700;
}

/* Footer links - use general link selector to avoid SSI markup quirks */
body[data-page="/credits.html"] a[href="/credits.html"],
body[data-page="/other-sound-recordists.html"] a[href="/other-sound-recordists.html"] {
  font-weight: 700 !important;
}
