@font-face {
	font-family: '_P22 Bayer Universal';
	src: url('/fonts/GBDE.ttf') format('truetype')
}

html {
	position: relative;
	min-height: 100%;
	background-image: url(background.png);
	animation: movingbg 40s linear infinite;
  animation-direction: normal;
  background-attachment: fixed;
}

body {
	font-family: sans-serif;
	padding: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	height: 100%;
	line-height: 1.3em;
	background: transparent;
	color: white;
}

h2, h3, h4, h5, h6 {
	padding: 0 10%;
	text-shadow: 0px 4px 4px black;
}

nav {
	vertical-align: top;
	color: white;
	background-image: linear-gradient(#48414d, #2c272f);
}
nav a {
	color: white;
	font-size: 20px;
}

table {
	margin-left: auto;
	margin-right: auto;
	max-width: 80vw;
}

td { border: 1px solid black;}

#mainnav {
  position: sticky;
  top: 0;
  padding-bottom: 0.3em;
  padding-top: 0.3em;
	padding-left: 1em;
	display: flex;
	margin-bottom: 10px;
	flex-wrap: wrap;
	min-height: 2em;
	justify-content: flex-end;
	font-family: '_P22 Bayer Universal', sans-serif;
}
#mainnav:before {
	content: "Mayonnaise & Cat";
	margin-right: auto;
	font-size: 1.6em;
	padding-top: 0.2em;
}
#mainnav a {
	text-decoration: none;
	display: inline;
	padding: 4px 10px;
	border: #ffffff78 2px solid;
	border-bottom: #ffffff78 2px solid;
	background-image: linear-gradient(#778787, #556060);
	color: white;
}
#mainnav a.active {
	background-image: linear-gradient(#ffffff, #ffffff);
	color: #97b0b0;
	border-bottom: white 2px solid;
}
#mainnav .breadcrumb {
	flex-grow: 1;
	padding-top: 1ex;
	padding-left: 1ex;
}

.notice{
	background-color: #FDC82B;
	color: black;
	text-align: center;
	text-indent: 0;
	padding-top: 1ex;
	padding-bottom: 1ex;
}

article {
	padding: 0px;
	min-height: 100%;
	vertical-align: top;
	padding-bottom: 32px;
}

article img, article video {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 80%;
	color: grey;
}

article > details {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 80%;
}

summary {
	cursor: pointer;
}

blockquote {
	font-style: italic;
	color: #555555;
	max-width: 800px;
	margin: auto;
}

h1 { display: none; }
h1.nothumb {
	display: block;
	text-align: center;
	font-size: 30pt;
	color: #D04648;
}
figcaption {
	text-align: center;
	padding: 10pt;
	font-weight: bold;
}
.donateplz {
	display: flex;
	align-items: center;
	width: 80%;
	margin: auto;
	margin-bottom: -32px;
	margin-top: 32px;
}
.date, .subtitle {
	text-align: center;
	text-indent: 0;
	color: #555;
}

nav hr { display: none; }
.navhead { display: none; }
footer { display: none; }
pre { width: 80%; overflow: auto; margin: auto; }
ul { list-style: square; margin: 0 10%; }
ol { margin: 0 10%; }
hr { background-color: #dddddd; border: 1; width: 80%; }
article p { text-indent: 2em; padding: 0 10%;} 

@media (prefers-color-scheme: dark) {
	body { background: transparent; color: #EEEEEE; }
	h1.nothumb, .header_text { color: #FFFFFF !important; }
	td { border: 1px solid #dddddd;}
	.date, .subtitle, blockquote { color: #BBBBBB; }
	a { color: lightskyblue;}
}
@keyframes movingbg {
0% {background-position: 0% 0%;}
100% {background-position: 100% 100%;}
}
.link-list {
      display: flex;
      flex-direction: row;
      gap: 20px;
      text-align: center;      
      padding: 0 10%;
    }

    .link-list a {
      text-decoration: none;
      color: white;
      background: #2c2c2c;
      padding: 15px 30px;
      border-radius: 3px;
      font-size: 16px;
      box-shadow: 0 9px #0c0a0e;
      border-style: solid;
      border-width: 2px;
      border-color: #616161;
      
    }

    .link-list a:hover {
      transform: translateY(4px);
      box-shadow: 0 5px #040305;
      background: #101010;
      border-color: #393939;
    }

 @keyframes float {
0% {transform: rotate(5deg);}
50% {transform: rotate(-5deg);}
100% {transform: rotate(5deg);}
        }  