@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Rubik+Glitch&display=swap');

@font-face {
	font-family: Candice;
	src: url(/fonts/Candice.otf) format("opentype");
}

@font-face {
	font-family: HomeVideo;
	src: url(/fonts/HomeVideo-Regular.otf) format("opentype");
}

@font-face {
	font-family: UnquietSpirits;
	src: url(/fonts/UnquietSpirits.otf) format("opentype");
}

@font-face {
	font-family: windows-xp-tahoma;
	src: url(/fonts/windows-xp-tahoma.otf) format("opentype"),
	src: url(/fonts/windows-xp-tahoma.ttf) format("truetype"),
	src: url(/fonts/windows-xp-tahoma.woff2) format("woff2");
}

@font-face {
	font-family: EpilepsySans;
	src: url(/fonts/EpilepsySans.ttf) format("truetype");
}

@font-face {
	font-family: EpilepsySans;
	src: url(/fonts/EpilepsySansBold.ttf) format("truetype");
	font-weight: bold;
}

* {
	box-sizing: border-box;
}

::selection {
	color: #000000;
	background-color: #FF6EC0;
	text-shadow: none;
}

#container {
	max-width: 1000px;
    margin: 0 auto;
}

a {
    color:  #FFFFFF;
	cursor: url('/i/ui/pointer.png') 5 0, pointer;
}

a:hover {
	text-decoration: none;
	color: #FF6EC0;
}

#header {
	width: 100%;
	padding: 7px;
	text-align: center;
	margin-bottom: 10px;
}

#header a {
	color:  #FFD943;
	font-family: 'HomeVideo', sans-serif;
	font-size: 72px;
	font-weight: normal;
	margin-top: 7px;
	margin-bottom: 7px;
	text-shadow: 2px 2px #FF6EC0;
}

#header a:hover {
	color:  #FF6EC0;
	text-shadow: 2px 2px #FFD943;
}

#navbar {
	width: 200px;
	margin-right: 10px;
}

#navbar ul {
    margin-bottom: 10px;
	margin-left: 10px;
}

#navbar li {
    margin: 10px;
}

details > summary {
	background-color: #FF6EC0;
	background-image: url("/i/bg/bg_mini.gif");
	background-size: contain;
	border-bottom: 3px solid #FFD943;
	color: #000000;
	padding-block: 1vh;
	transform: scaleX(-1);
	position: relative;
	cursor: url('/i/ui/pointer.png') 5 0, pointer;
	padding: 6px;
	margin: 0;
	font-weight: bold;
	font-size: 24px;
}

details > summary:hover {
	background-image: url("/i/bg/bg_mini_rev.gif");
}

details {
	border: 3px solid #FFD943;
	box-shadow: 2px 2px #FF6EC0;
	background-color: #000000;
}

details > div {
	width: 100%;
	padding: 10 px;
}

span.summary {
	display: inline-block;
	position: absolute;
	right: 6px;
	transform: scaleX(-1);
}

summary::marker { 
	color:  #000000;
	content: "+";
	text-shadow: none;
}

details[open] summary::marker {
	content: "_";
}

#flex {
	display: flex;
}

a.h {
	color: #FFFFFF;
	font-family: 'HomeVideo', sans-serif;
	font-size: 4vh;
	font-weight: normal;
	margin-top: 7px;
	margin-bottom: 7px;
	text-shadow: 2px 2px #FFD943;
}

a.h:hover {
	color: #FFD943;
	text-shadow: 2px 2px #FFFFFF;
}

a:hover > img.border {
	border: 3px solid #FFFFFF;
	border-bottom: 7px solid #FFFFFF;
	border-right: 7px solid #FFFFFF;
}

body {
	background: #000000;
	background-attachment: fixed;
	background-image: url("/i/bg/star-bkg.webp");
	color: #FFFFFF;
	font-family: 'EpilepsySans', Tahoma, sans-serif;
	font-size: 22px;
	margin: 0;
	text-wrap: pretty;
}

br { 
	line-height: 10px;
}

div.container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

div.window {
	padding: 10px;
}

div.winbar {
	border-bottom: 3px solid #FFD943;
	padding: 5px;
}

div.upd {
	border: 3px solid #FFD943;
	box-shadow: 2px 2px #FFFFFF;
	overflow-y: scroll;
	scrollbar-width: thin;
	width: 66vw;
	padding-right: 2vw;
	padding-left: 2vh;
	background: #000000;
}

footer {
	text-align: center;
	width: 100%;
	padding: 10px;
}

footer > a {
	margin-left: 5px;
}

h2 {
	color:  #FFD943;
	font-family: 'HomeVideo', sans-serif;
	font-size: 48px;
	font-weight: normal;
	margin-top: 10px;
	margin-bottom: 10px;
	text-shadow: 2px 2px #FF6EC0;
}

hr {
	border:none;
	border-top: 3px solid #FFD943;
	width: 100%;
}

html {
	scrollbar-color: #FFD943 #FF6EC0;
	cursor: url('/i/ui/cursor.png'), auto;
	image-rendering: pixelated;
}

img.border {
	border: 3px solid #FFD943;
	box-shadow: 2px 2px #FFFFFF;
	image-rendering: auto;
}

img[align="left"] {
	margin-right: 2vw;
	margin-bottom: 1vh;
	image-rendering: auto;
}

img[align="right"] {
	margin-left: 2vw;
	margin-bottom: 1vh;
	image-rendering: auto;
}

main {
	flex: 1;
}

marquee {
	font-size: 1.1em;
	margin-top: 10px;
	width: 100%;
}

/*summary > b {
	font-size: 1.1em;
	text-decoration: underline;
}

summary:hover > b {
	color:  #FFD943;
	text-decoration: none;
}

summary::marker { 
	color:  #FFD943;
	content: "▶ ";
	text-decoration: none;
	text-shadow: 1px 1px #FFFFFF;
}

details[open] summary::marker {
  content: "▼ ";
} */

p {
	margin: 0;
	margin-bottom: 10px;
}

span.nbr {
	white-space: nowrap;
}

ul {
	list-style-type: "✶ ";
	list-style-image: url(/i/ui/star_mini.png);
	list-style-position: inside;
	margin-block-start: 0;
    margin-block-end: 0;
	padding: 0;
}

li::marker {
	color: #FFD943;
	text-shadow: 1px 1px #FF6EC0;
	font-size: 1em;
}

.disclaimer {
	position: relative;
}

.disclaimer::before {
	content: url(/i/ui/attention.png);
	margin-right: 10px;
	vertical-align: middle;
}

.stars::before {
	content: url(/i/ui/star.png);
	margin-right: 10px;
	vertical-align: middle;
}

.stars::after {
	content: url(/i/ui/star.png);
	margin-left: 10px;
	vertical-align: middle;
}

.stars:hover::before {
	content: url(/i/ui/star_pink.png);
}

.stars:hover::after {
	content: url(/i/ui/star_pink.png);
}

@media only screen and (max-width: 800px) {

	#container {
		width: 90vw;
		margin: 0 auto;
	}

	#flex {
		flex-wrap: wrap;
	}

	#navbar {
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
	}

	#navbar li {
		padding: 10px;
		margin: 0;
	}

	#navbar ul {
		order: 1;
		flex-wrap: wrap;
		width: 100%;
		display: flex;
		justify-content: space-between;
		list-style-type: none;
		list-style-image: none;
		padding: 0 px;
		margin: 0;
	}
	
	body {
		font-size: 1.2em;
	}
	
	main {
		order: 2;
		width: 100%;
	}
}

@media only screen and (max-width: 500px) {
	.stars::before {
		content: url(/i/ui/star_s.png);
	}

	.stars::after {
		content: url(/i/ui/star_s.png);
	}
	
	.stars:hover::before {
		content: url(/i/ui/star_pink_s.png);
	}

	.stars:hover::after {
		content: url(/i/ui/star_pink_s.png);
	}
	
	#header a {
		font-size: 13vw;
	}
	
	h2 {
		font-size: 1.9em;
	}
}

/*@media (prefers-color-scheme: light) {
	details {
		color: #000000
		background-color: #FFFFFF;
	}
}*/
