*{
	all:revert
}
html {
	scroll-behavior:smooth;
}
body {
	font-family:monospace;
	font-size:18px;
	margin:0;
	min-height: 100vh;
}
a,
details,
b, strong,em{
	color:chocolate;
	text-decoration:none;
}
a[title*="RSS"] {
	display: block;
	max-width: max-content;
	margin:2em auto;
	color: darkorange;
	font-weight: bolder;
}
ul {
	list-style: none;
	gap:.5em;
	margin:0;
	
}
body>header {
	display:grid;
	gap: 0 1em;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	margin-bottom:2em;
	position:sticky;
	z-index:1;
	top:0;
	background:white;
	box-shadow: 0 0 3em 3em #fff;
}
nav, nav ul,
.s-footer__social,
.repertory.menu.breadcrumb{
	display: flex;
	justify-content: space-between;
	flex-wrap:wrap;
}
ul.s-footer__social,
.repertory.menu.breadcrumb{
	justify-content: center
}
nav.pagination:not(:has(*)), 
nav:empty,
.art_thumbnail{
	display: none
}
.repertory.menu.breadcrumb,
.desc{
	text-align:center;
	padding:1em 3em;
	background:#5551;
}
.desc {
	background: ivory;
	margin: 1em auto;
	max-width: max-content;
}
.repertory.menu.breadcrumb li + li::before {
	content:'> ';
	color:#C79288;
}
.main {
	display: grid;
	gap:4em 2em;
	padding:2em 3vw;
	justify-content:center;
}
:where(.mode-home, .mode-archive,.mode-user,.mode-tags,.mode-categorie) .main:has(article + article) {
	grid-template-columns: repeat(auto-fill,minmax(clamp(15em,30em,80vw),1fr));
	grid-template-rows: masonry;
	text-align: center;
}

.pagination.text-center {
	grid-column: 1/-1;
	position: sticky;
	bottom: 0;
	padding:1em;
	gap:1em;
	margin-top: 1em;
	justify-content:center;
	background:white;
	box-shadow:inset 0 0 0 5vw #5551;
}

nav ul li a, .s-footer__social a {
	color:black;
	font-variant: small-caps; 
}
.active {
	box-shadow:0 1px;
}

#menu {
	position:absolute;
	clip-path:polygon(0 0,0 0)
}
li:hover:not(:has(span)){
	box-shadow:inset 0 -1px gray;
}
.sub-menu{
	max-height:0;
	display:grid;
	transition:.5s;
	padding:0 0 0 1em ;
	overflow:hidden;
	position:absolute;
}
.menu:hover> .sub-menu {
	max-height:100vh;
}
main article {
	max-width:35em;
	display:grid;
	place-content:center;
	margin:2em auto;
	padding: 0.5em 2.5em;
	border-radius: .5em;
	box-shadow:0 0  1px #0001
}
article:nth-child(2n) {
	background:#FFFFF044;
}
article small span {
	display: block
}
@media (max-width: 760px) {
	article {
		max-width:80%;
		margin:auto;
	}
	label[for="menu"]::before {
		display: inline-block;
		margin:1em;
		color:black;
		content:'☰';
		position:fixed;
		z-index: 2;
		top:0;
	}
	#menu+ul {
		display:none;
		position:fixed;
		z-index:1;
		inset:0;
		background:white;
	}
	.sub-menu{
		position:static;
	}
	#menu:checked+ul {
		display:grid;
		place-content:center;
	}
	nav:has(#menu:checked) label::before {
		content:'✖';
	}
}


body>footer{
	display:flex;
	gap: 0 1em;flex-wrap:wrap;
	place-content:  center;
	padding:1em;
	position:sticky;
	top:100%;
	background: midnightblue;
	color: wheat;
}