@font-face {
	font-family: 'dustismo_romanregular';
	src: url('../fonts/dustismoroman_regular_macroman/Dustismo_Roman-webfont.eot'),
		url('../fonts/dustismoroman_regular_macroman/Dustismo_Roman-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}


@font-face {
	font-family: 'dustismo_romanbold_italic';
	src: url('../fonts/dustismoroman_bolditalic_macroman/Dustismo_Roman_Italic_Bold-webfont.eot'),
		url('../fonts/dustismoroman_bolditalic_macroman/Dustismo_Roman_Italic_Bold-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

html {
	--white: #F4F4F4;
	--black: black;
	--light: #3C3C3C;
	--dark: #2E2D31;
	--darker: #242328;
	--highlight: #EBE563;
	--pink: #FEB3D0;
	--red: darkred;
	--green: green;
	--drop-shadow: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.45));

	position: relative;
	color: var(--white);
	/* font-family: 'dustismo_romanregular'; */
	font-family: sans-serif, Lato, LatoExtended, sans-serif;
	/* font-size: min(2vmax, 1.5em); */
	margin: 0;
	padding: 0;
	animation: anim-scroll 8s linear infinite;
	/* background: conic-gradient(#FEB3D0 25%, #F2C5D9 0 50%, #F0F2F1 0 75%, #F0DAE6 0) 0 0/40vmin 40vmin; */
	background-image: url(../img/gingham_tile.png);
	background-repeat: repeat;
	box-sizing: border-box;
	height: inherit;
	overflow-x: hidden;
	/* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.45); */
}

main {
	padding: 1.5em 2.5em 2.5em 2.5em;
	max-width: 1380px;
	margin: auto;
}

.blur {
	position: absolute;
	z-index: -1;
	overflow: hidden;
	user-select: none;
	/* backdrop-filter: blur(1vmin); */
	backface-visibility: hidden;
	height: max(100vh, 100%);
	width: 100%;
}

header {
	margin: 0;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 100%;
}

body {
	margin: 0;
	height: 100%;
	width: 100%;
	overflow-x: hidden;
}

footer {
	margin: 0;
	justify-content: center;
}

a {
	color: var(--highlight);
	text-decoration-color: var(--highlight);
	text-decoration: underline;
	text-decoration-thickness: 2%;
	text-decoration-style: solid;
	text-underline-offset: 2px;
	transition: color 0.5s ease, background-color 0.5s ease, text-decoration-color 0.5s ease;
}

a:hover {
	color: var(--white);
	text-decoration-color: var(--white);
	text-decoration-style: dashed;
}

code {
	padding: 1px 2px;
    font-family: "Roboto Mono", monospace;
    /* line-height: 1.5; */
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
	font-size: 0.80rem;
}

pre {
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	padding: 2px 4px;
	overflow: auto;
	code {
		padding: 0;
		background-color: rgba(255, 255, 255, 0);
	}
	margin: 0;
}

video {
	box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.45);
}

iframe {
	max-width: 100%;
	box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.45);
	/* background-color: var(--light); */
	/* border: 1px solid rgba(255, 255, 255, 0.25); */
	box-sizing: border-box;
	background: repeating-conic-gradient(#e6e5e5 0% 25%, white 0% 50%) 50% / 20px 20px;
	/* animation: anim-scroll 64s linear infinite; */
	/* --grid-size: 30px;
    --grid-strength: 1px;
    --grid-dash: 5px;
    --grid-gap: 10px;
    --grid-color: #ddd;
    --paper-color: #fff;

	background-color: var(--paper-color);
	background-size: var(--grid-gap) var(--grid-gap), var(--grid-size) var(--grid-size);
	background-image:
		linear-gradient(to bottom, transparent var(--grid-dash), var(--paper-color) var(--grid-dash)), 
		linear-gradient(to right, var(--grid-color) var(--grid-strength), transparent var(--grid-strength)),
		linear-gradient(to right, transparent var(--grid-dash), var(--paper-color) var(--grid-dash)),
		linear-gradient(to bottom, var(--grid-color) var(--grid-strength), transparent var(--grid-strength)); */
}

.yt-embed {
	width: 100% !important;
    height: auto !important;
    aspect-ratio: 560 / 315 !important;
}

hr {
	width: 100%;
	border: none;
	border-bottom: var(--white) 1px solid;
	opacity: 0.25;
	margin-top: 1em;
	margin-bottom: 1em;
}

h1 {
	font-size: 2.5em;
	margin-top: 0.1rem;
	margin-bottom: 0.1em;
}

h2 {
	margin-top: 1em;
	margin-bottom: 0em;
}

h3 {
	margin-top: 1em;
	margin-bottom: 0em;
}

h5 {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

li {
	padding-top: 0.5em;
	font-size: 0.90rem;
}

ul {
	margin-top: 0em;
	padding-left: 1.5em;
}

p {
	font-size: 0.95em;
}

.hidden {
	display: none !important;
}

.nowrap {
	white-space: nowrap;
}

.resize-both {
	max-width: 100%;
	overflow: hidden;
	resize: both;
}

.fill {
	width: 100%;
	height: 100%
}

.column {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	align-content: flex-start;
	gap: 3rem;
}

.row {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 3rem;
}

.gap-small {
	gap: 1em;
}

.gap-tiny {
	gap: 0.5em;
}

.flex {
	display: flex;
}

.flex-center {
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
}

.center-align {
	text-align: center;
}

.latest-list {
	align-items: flex-start;
	padding-top: 0.5em;
	gap: 1rem;
	padding-bottom: 0.5em;
}

.other-posts .other-post-img {
	max-height: 7em;
}

.other-post {
	display: flex;
	flex-direction: column;
	flex: 1 1 0px;
}

.other-post-img {
	object-fit: contain;
	max-height: 12em;
	max-width: 100%;
	filter: var(--drop-shadow);
	/* padding-bottom: 0.75em; */
}

.item {
	position: relative;
	padding: 5vmin;
	padding-top: 1.5em;
	padding-bottom: 1.25em;
	border-radius: 1.5em;
	box-sizing: border-box;
	width: 100%;
	box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.45);
}

.item img {
	max-width: 100%;
	filter: var(--drop-shadow);
}

.caption {
	padding-top: 0;
}

.item-label {
	padding: 0.75em 1.5em;
	position: absolute;
	top: -1.25em;
	left: -1em;
	height: 1em;
	width: fit-content;
	box-sizing: content-box;
	line-height: 1.1em;
	overflow-y: hidden;
}

.item-label-below {
	padding: 0.75em 1.5em;
	position: absolute;
	bottom: -1em;
	right: -1em;
	height: 1em;
	width: fit-content;
	box-sizing: content-box;
	line-height: 1em;
	overflow-y: hidden;
}

.hitcounter {
	/* border: none;
	box-shadow: none;
	width: fit-content; */
	position: relative;
	padding: 1rem;
	border-radius: 1em;
	box-sizing: border-box;
	/* width: fit-content; */
	width: 100%;
	box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.45);
}

.hitcounter-frame {
	border: none;
	box-shadow: none;
	width: 100%;
	height: 4rem;
	background: none;
}

#logo {
	height: 100px;
	filter: none;
	padding: 20px;
}

#bust {
	padding-bottom: 1.5em;
	max-height: 17em;
}

#stamp {
	height: 100%;
	width: 100%;
	position: absolute;
	opacity: 0.1;
	background-image: url('../img/skeletom_stamp.png');
	background-repeat: no-repeat;
	background-position: left 10px top;
}

.title {
	font-size: 4vmax;
	font-style: italic;
	color: var(--darker);
}

.title-main {
	padding: 0;
	border-radius: 0;
	position: relative;
}

.title-text {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.title-link {
	text-decoration: none;
	color: var(--white);
}

.subtitle {
	font-style: italic;
}

.thumbnail-title {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	/* text-decoration: underline; */
}

.download-button {
	background-color: var(--highlight);
	color: var(--darker);
	font-weight: bold;
	padding: 1em;
	border-radius: 1.5em;
	display: flex;
	text-align: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.45);
}

.download-button:hover {
	background-color: #FEB3D0;
	text-decoration: none;
}

.no-padding {
	padding: 0
}

.small-padding {
	padding: 1em;
	box-sizing: border-box;
}

.top-padding {
	padding-top: 1em;
}

.search-input {
	height: 100%;
	width: 100%;
	border: 0;
	box-sizing: border-box;
	border-radius: 1.5em;
	padding: 1em;
	padding-left: 3em;
	z-index: 100;
}


.search-form {
	width: 100%;
	/* z-index: 100; */
}

.search-bar {
	position: relative;
	align-items: center;
}

.search-icon {
	position: absolute;
	padding-left: 1em;
	text-decoration: none;
}

.search-icon:hover {
	color: var(--darker);
}

#stream-embed>iframe {
	width: 100%;
	max-height: 25em;
	aspect-ratio: 940/480;
}

.stream-address {
	text-underline-offset: 0;
}

.webring-tray {
	flex-wrap: wrap;
	gap: 1rem;
	/* max-width: 85%; */
}

.webring-tray :nth-child(n) {
	height: 31px;
	width: 88px;
}

.thumbnail {
	margin-top: 1em;
	max-height: 20em;
	max-width: 100%;
	object-fit: contain;
	object-position: left;
	filter: var(--drop-shadow);
}

.justify-left {
	text-align: start;
	display: flex;
	flex-direction: column;
	align-content: flex-start;
	align-items: flex-start;
}

.justify-right {
	text-align: end;
	display: flex;
	flex-direction: column;
	align-content: flex-end;
	align-items: flex-end;
}

.float-left {
	margin-top: 0em;
	float: left;
	max-height: 15em;
}

.top {
	top: 0;
}

.bottom {
	bottom: 0;
}

.drop-shadow {
	filter: var(--drop-shadow);
}

.checker-border {
	position: absolute;
	height: 10px;
	width: 100%;
	background: repeating-conic-gradient(var(--pink) 0% 25%, white 0% 50%) 50% / 10px 10px;
}

.square-box{
	border-radius: 1.5em;
    padding: 0;
    overflow: hidden;
	position: relative;
	width: 100%;
}

.fullwidth-banner {
	box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.45);
	position: absolute;
	/* z-index: -1; */
	width: 100vw;
	height: 100%;
}

.highlight {
	color: var(--highlight);
}

.white {
	background-color: var(--white);
}

.dark {
	background-color: var(--dark);
}

.darker {
	background-color: var(--darker);
	font-weight: bold;
	font-size: 1em;
	/* font-variant: small-caps; */
}

.font-arial {
	font-family: Arial, Helvetica, sans-serif;
}

.font-black {
	color: var(--darker);
}

.font-large {
	font-size: 2.3em;
}

.font-medium {
	font-size: 1.5em;
}

.font-small {
	font-size: 1em;
}

.font-tiny {
	font-size: 0.85em;
}

.font-micro {
	font-size: 0.65em;
}

.italic {
	font-style: italic;
}

.bold {
	font-weight: bold;
}

.regular {
	font-style: normal;
}

.mostly-opaque {
	opacity: 0.75;
}

.translucent {
	opacity: 0.5;
}

.mostly-transparent {
	opacity: 0.25;
}

.gradient-mask-edges {
	mask-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(255, 255, 255, 0) 100%);
}

.homepage-row {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 3rem;
	grid-row-gap: 3rem;
	width: 100%;
}

/*<row-start> / <column-start> / <row-end> / <column-end>*/
.div1 {
	grid-area: 1 / 1 / 2 / 10;
}

.div2 {
	grid-area: 1 / 10 / 2 / end;
}

.contact-column {
	display: flex;
	gap: 0.5rem;
	flex-direction: column;
	justify-content: flex-start;
}

.contact-item {
	font-size: 0.85em;
	justify-content: flex-start;
	gap: 1rem;
	word-break: break-word;
}

.fa {
	line-height: 1.25em !important;
}

.fa-lg {
	min-width: 1.25em;
}

.offline {
	color: var(--red);
}

.offline::after {
	font-style: normal;
	content: ' 🔴';
}

.offline::before {
	content: 'OFFLINE';
}

.online {
	color: var(--green);
}

.online::after {
	font-style: normal;
	content: ' 🟢';
}

.online::before {
	content: 'ONLINE';
}

@keyframes anim-scroll {
	0% {
		background-position: 0px 0px;
	}

	100% {
		background-position: -256px -256px;
	}
}

@keyframes anim-scroll-horizontal {
	0% {
		background-position: 0px 0px;
	}

	100% {
		background-position: -256px 0px;
	}
}

.marquee {
	--gap: 1.5rem;
	display: flex;
	overflow: hidden;
	user-select: none;
	gap: var(--gap);
}

.marquee-content {
	flex-shrink: 0;
	display: flex;
	justify-content: space-around;
	min-width: 100%;
	gap: var(--gap);
	animation: marquee-scroll 30s linear infinite;
}

.marquee-link {
	font-weight: bold;
	text-decoration: none;
	color: var(--darker);
	line-height: 1.5em;
}

.marquee-link:hover {
	color: var(--darker);
}

@keyframes marquee-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-100% - var(--gap)));
	}
}

/* taller than wide */
@media screen and (min-height: 85vw) {

	#stream-embed>iframe {
		width: 100%;
		max-height: none;
		aspect-ratio: 940/1080;
	}

	.other-posts {
		flex-direction: column;
		gap: 0.5rem;
	}

	.other-post {
		width: 100%;
	}

	.homepage-row {
		display: flex;
		flex-direction: column;
	}

	.float-left {
		float: none;
		width: 100%;
		object-position: center;
	}

	.latest-list {
		flex-direction: column;
	}

	#common-tags-list {
		columns: 2;
	}

	.webring-tray {
		max-width: 100%;
	}
}
