@media (prefers-color-scheme: light) {
	:root {
		--a: #ffffff;
		--b: #999999;
		--c: #777777;
		--d: #555555;
		--e: #333333;
		--f: #111111;
		--g: #000000;
		--sh-1: rgba(0, 0, 0, .1);
		--sh-2: rgba(0, 0, 0, .2);
		--sh-3: rgba(0, 0, 0, .3);
	}
}

@media (prefers-color-scheme: dark) {
  :root {
	--a: #111111;
	--b: #333333;
	--c: #555555;
	--d: #777777;
	--e: #999999;
	--f: #bbbbbb;
	--g: #ffffff;
	--sh-1: rgba(255, 255, 255, .1);
	--sh-2: rgba(255, 255, 255, .2);
	--sh-3: rgba(255, 255, 255, .3);
  }
}

* {
  box-sizing: border-box;
  color: var(--f);
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

body {
  background-color: var(--a);
  & > div {
	display: flex;
	flex-direction: column;
	& > div {
	  padding: 0 30px;
	  flex-grow: 1;
	}
  }
}

a {
  outline: none;
	&:hover {
		text-decoration: none;
	}
}

img {
  vertical-align: middle;
}

header {
  font-size: 1.1em;
  background-color: var(--a);
  padding: 20px 30px;
  box-shadow: 0 0 10px 3px var(--sh-1);
  font-weight: 900;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
  & > li {
	padding: 0;
	margin: 5px 0;
	list-style: none;
	font-family: 'Courier New', Courier, monospace;
  }
}

/* Accordion widget styles (nested CSS) */
.accordion {
	width: 100%;

	& .accordion-item {
		border-bottom: 1px solid var(--sh-2);
		& .accordion-title {
			padding: 1rem 0;
			cursor: pointer;
			display: flex;
			align-items: center;
			justify-content: space-between;
			font-weight: 700;
			user-select: none;
			background: transparent;
			&::after {
				content: '+';
				display: inline-block;
				margin-left: 12px;
				transition: transform .2s ease;
			}
			input {
				position: absolute;
				left: -9999rem;
				visibility: hidden;
				opacity: 0;
			}
		}
		& .accordion-content {
			display: none;
			flex-direction: column;
			padding: 1rem 0;
			& ul {
				margin: 0;
				padding: 0;
				list-style: none;
				align-items: center;
				display: grid;
				grid-template-columns: repeat(4, calc(100% / 4 - 2rem * 3 / 4));
				gap: 2rem;
				& li {
					display: flex;
					& a {
						text-decoration: none;
						display: flex;
						flex-direction: column;
						gap: .5rem;
						align-items: center;
						& img {
							width: 100%;
							aspect-ratio: 4 / 3;
							object-fit: cover;
							object-position: center;
							transition: all .3s ease;
						}
						& > div {
							width: 100%;
							display: flex;
							flex-wrap: wrap;
							& > div {
								font-family: 'Roboto', 'Helvetica', 'Open Sans', Arial, sans-serif;
								width: 100%;
								font-size: 1.1rem;
								font-weight: 700;
								color: var(--g);
							}
							& > strong {
								width: 10rem;
								font-size: 1rem;
								font-weight: 300;
								color: var(--d);
							}
							& > span {
								width: calc(100% - 11rem);
								font-size: 1rem;
								color: var(--e);
								text-align: right;
							}
						}
						&:hover {
							& img {
								object-fit: contain;
							}
						}
					}
				}
			}
		}
		&:has(.accordion-title input:checked) {
			& .accordion-title::after {
				content: '−';
			}
			& .accordion-content {
				display: flex;
			}
		}
	}
}

