/*
 * Some of this styling shamelessly stolen from syfaro.net
 * cause Syfaro's image gallery is 10/10.
 */

body {
    background-color: #121212;
    font-family: 'Roboto', sans-serif;
}

body, input {
    color: #fff;
}

a {
    color: rgb(138,180,248);
    font-weight: 400;
    text-decoration: none;
}

.artwork-grid {
    column-gap: 2px
}

.artwork-grid.grid-200 {
    columns: 12 200px;
    grid-auto-columns: 200px
}

.artwork-grid.grid-400 {
    columns: 6 400px;
    grid-auto-columns: 400px
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 2em
}

.container.art {
    max-width: 95%
}

.artwork {
    width: 250px;
    text-align: center;
    break-inside: avoid;
}

img {
    border-radius: 5px;
    margin: 5px auto;
    display: block;
    width: 200px;
}

h2 {
    color: white;
    text-align: center;
}

.hidden {
    display: none;
}

#nsfwtoggle {
    color: #fff;
    justify-content: center;
}

.toggle, .toggle:before, .slot__label, .curtain {
	transition-property: background-color, transform, visibility;
	transition-duration: 0.25s;
	transition-timing-function: ease-in, cubic-bezier(0.6,0.2,0.4,1.5), linear;
}
.toggle:before, .slot, .slot__label {
	display: block;
}
.toggle:before, .curtain {
	position: absolute;
}
.toggle:checked, .curtain {
	background-color: #2b7f3a;
}
.toggle:focus {
	outline: transparent;
}
.toggle {
	border-radius: 0.75em;
	box-shadow: 0 0 0 0.1em inset;
	cursor: pointer;
	position: relative;
	margin-right: 0.25em;
	width: 3em;
	height: 1.5em;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.toggle:before {
	background: currentColor;
	border-radius: 50%;
	content: "";
	top: 0.2em;
	left: 0.2em;
	width: 1.1em;
	height: 1.1em;
}
.toggle:checked:before {
	transform: translateX(1.5em);
}
.toggle:checked ~ .slot .slot__label, .slot__label:nth-child(2) {
	transform: translateY(-50%) scaleY(0);
}
.toggle:checked ~ .slot .slot__label:nth-child(2) {
	transform: translateY(-100%) scaleY(1);
}
.toggle:checked ~ .curtain {
	transform: scaleX(1);
}
.slot {
	color: transparent;
	font-size: 1.5em;
	font-weight: bold;
	letter-spacing: 0.1em;
	line-height: 1;
	overflow: hidden;
	height: 1em;
	/*text-indent: -0.9em;*/
	-webkit-text-stroke: 0.05em #fff;
}
.slot__label {
	transform-origin: 50% 0;
}
.slot__label:nth-child(2) {
	transform-origin: 50% 100%;
}