	@font-face {
		font-family: "Poor Story";
		src: url("PoorStory-Regular.woff2") format("woff2");
		font-style: normal;
		font-weight: 400;
		font-display: optional;
	}
	@font-face {
		font-family: "Story Script";
		src: url("StoryScript-Regular.woff2") format("woff2");
		font-style: normal;
		font-weight: 400;
		font-display: optional;
	}

	:root {
	--beige: #fccaac;
	--pink: #f8a3a4;
	--blue: #54afbf;
	--ashy: #5f5e62;
	--white: #fff;
	--black: #000;
	}
	
	a:link {
		color: var(--beige);
		text-decoration: none
	}
	

	a:visited {
		color: var(--beige);
		text-decoration: none
	}

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

	a:active {
		color: var(--blue);
		text-decoration: none
	}

	::selection {
	color: var(--ashy);
	background: var(--beige);
	}
	
	body {

		background-color: var(--ashy);
		line-height: 0;
		max-width: 1140px;
		margin: auto;
	


	}

	.pagegrd {
		display: grid;
		grid-template-columns: 27% 35% 36%;
		
		grid-gap: 10px 1%;
		padding-left: 1%;
		padding-right: 1%;
		padding-top: 25px;
                padding-bottom: 100px;

	}

	hr {
		margin-left: 5%;
                margin-right: 5%;

	}

	.pagegrd div {
		text-align: left;
		font-size: 30px;
	

	
	}	

	h1, h2, h3, h4, h5, h6 {
		margin-top: 0;
		margin-bottom: 0;
		font-weight: 400;
		line-height: 100%;
	}

	h1  {

		font-family: "Story Script";
		font-size: 48px;
		border-bottom: 2px solid var(--white);
		color: var(--white);
		text-align: justify;
		font-weight: 400;
	}


	h2  {
		color: var(--pink);
		font-size: 24px;
		font-family: "Poor Story";
		text-align: left;
		font-weight: 900;
	}

	h3  {
		color: var(--white);
		font-size: 24px;
		font-family: "Poor Story";
		text-align: justify;
	}

	h4  {
                color: var(--beige);

                font-size: 18px;
                font-family: "Poor Story";
		text-transform: uppercase;
                text-align: left;


        }

	h5  {
                color: var(--white);
                font-size: 28px;
                font-family: "Story Script";
		text-align: right;

        }

	h6  {
                color: var(--beige);
                font-size: 20px;
                font-family: "Story Script";
                text-align: right;
		line-height: 100%;
	

        }

	.duration h6 {
		font-family: "Poor Story";
	}




	.releasettl {
		grid-column: 1 / span 2;
		grid-row: span 2;
		align-self: center;
	}

	.trailer {
		grid-column: 2 / span 2;
	}

	.text {
		grid-column: 1 / span 2;
	}
	
	.displaytags {
		grid-column: 1 / span 2;



	}

	.watch, .button-sub {
		display: flex;
		flex-direction: column;
		font-family: "Story Script";
		font-size: 32px;
		line-height: 100%;
		background-color: var(--blue);
		color: var(--white);
		border: 2px solid var(--white);
		border-radius: 10px;
		justify-content: center;
		align-items: center;
		text-align: center;
		height: 80px;

		}

	.watch a, .button-sub a {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		color: inherit;
	}

	.releases-button, .button-span {
		grid-column: span 2;
		text-align: center;
	}

	.releases-button-secondary {
		grid-column: span 1;
	}

	.back-to-home, .button-home {
		text-align: center;
	}

	.releases-button a, .button-span a {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 12px 24px;
		border: 2px solid var(--white);
		border-radius: 10px;

		color: var(--white);
		font-family: "Poor Story";
		font-size: 32px;
		line-height: 1;
		text-align: center;
	}

	.back-to-home a, .button-home a {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 12px 24px;
		border: 2px solid var(--beige);
		border-radius: 10px;

		color: var(--beige);
		font-family: "Poor Story";
		font-size: 32px;
		line-height: 1;
		text-align: center;
	}

	.button-span a {
		border-color: var(--ashy);
		background-color: var(--white);
		color: var(--ashy);
	}

	.button-home a {
		border-color: var(--ashy);
		background-color: var(--beige);
		color: var(--ashy);
	}




	@media screen and (max-width: 920px) {
                .pagegrd {
			grid-template-columns: 27% 26% 43%;
			padding-left: 3%;
			padding-right: 3%;
			grid-gap: 5px 2%;
		}
	}


	@media screen and (max-width: 720px), {
		




		.trailer {
			color: #000;
			grid-column: 1 / span 3;
			height: 53vw;



		}

		.poster {
			color: #000;
			grid-column: 1;
			grid-row: 4;
		}

		.displaytags {
			grid-column: 1 / span 3;

		}

		.text {
			grid-row: 4;
			grid-column: 2 / span 2;
			padding-bottom: 10px;
		}

		.watch, .button-sub {
			grid-row: 5;
			grid-column: 1 / span 3;
		}

		.gallery {
			padding-top: 10px;
			grid-column: 1 / span 3;
		}

		h1 {
			font-size:32px;

		}

		h5 {
			font-size:18px;
		}

		h6 {
			font-size:14px;
		}

		h3 {
			font-size: 18px;
		}

		h4 {
                        font-size: 14px;
                }
			
	}

	.gallery {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: flex-start;
	}

	.gallery-item, .poster-item {
		position: relative;
		width: 32.5%;
		height: auto;
		padding-bottom: 1%;
		cursor: pointer;
		transition: transform 0.5s ease;
		object-fit: contain;
	}

	.gallery-video-item {
		position: relative;
		display: block;
		width: 32.5%;
		padding-bottom: 1%;
		cursor: pointer;
		transition: transform 0.5s ease;
	}

	.gallery-video-item img, .gallery-video-item video { display: block; width: 100%; height: auto; }
	@font-face {
		font-family: "Glyphicons Halflings";
		src: url("glyphicons-halflings-regular.woff2") format("woff2");
	}
	.glyphicon {
		font-family: "Glyphicons Halflings";
		font-style: normal;
		font-weight: normal;
		line-height: 1;
	}
	.glyphicon-film::before { content: "\e009"; }
	.gallery-video-item .glyphicon-film {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		color: #fff;
		font-size: 26px;
		pointer-events: none;
	}

	.poster-item {
		width: 100%;
		padding: 0;
	}

	.gallery-item:hover, .poster-item:hover, .gallery-video-item:hover {
		transform: scale(0.975);
	}	

	.modal {
		display: none;
		position: fixed;
		z-index: 1000;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: var(--ashy);
		align-items: center;
		justify-content: center;
		transition: opacity 0.5s ease;
	}

	.modal-content {
		max-width: min(80vw, 1400px);
		max-height: 80vh;
		object-fit: contain;
		margin: auto;
		animation: zoomIn 0.2s ease;
	}

	.modal-video {
		display: none;
		width: min(90vw, 1400px);
		height: min(80vh, 788px);
		max-width: 90vw;
		max-height: 80vh;
		border: 0;
		background: #000;
	}

	.modal.video-open .modal-content { display: none; }
	.modal.video-open .modal-video { display: block; }

	@keyframes zoomIn {
		from {
			transform: scale(0.8);
		}
		to {
			transform: scale(1);
		}
	}

	.modal.show {
		display: flex;
		opacity: 1;
	}

	.close {
		position: absolute;
		top: 18px;
		right: 24px;
		z-index: 2;
		border: 0;
		border-radius: 50%;
		width: 48px;
		height: 48px;
		background: rgba(0, 0, 0, 0.65);
		color: var(--white);
		font-size: 36px;
		line-height: 1;
		cursor: pointer;
	}

	.modal-nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 2;
		border: 0;
		border-radius: 50%;
		width: 52px;
		height: 52px;
		background: rgba(0, 0, 0, 0.65);
		color: var(--white);
		font-size: 34px;
		cursor: pointer;
	}

	.modal-nav:hover, .close:hover { background: rgba(0, 0, 0, 0.9); }
	.modal-prev { left: 20px; }
	.modal-next { right: 20px; }

	.caption {
		position: absolute;
		bottom: 15px;
		width: 100%;
		text-align: center;
		color: #ffffff;
		font-size: 24px;
		font-family: "Poor Story";
		line-height: 100%
	}

	/* Gallery viewer popup */
	#fullscreen-image.modal {
		background: rgba(55, 54, 58, 0.96);
		backdrop-filter: blur(4px);
	}

	#fullscreen-image .modal-content,
	#fullscreen-image .modal-video {
		border: 2px solid var(--beige);
		border-radius: 8px;
		box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
	}

	#fullscreen-image .close,
	#fullscreen-image .modal-nav {
		border: 1px solid var(--beige);
		background: rgba(95, 94, 98, 0.94);
		color: var(--beige);
		font-family: "Poor Story";
		transition: background-color 0.15s ease, color 0.15s ease;
	}

	#fullscreen-image .close:hover,
	#fullscreen-image .modal-nav:hover,
	#fullscreen-image .close:focus-visible,
	#fullscreen-image .modal-nav:focus-visible {
		background: var(--pink);
		color: var(--ashy);
		outline: 2px solid var(--white);
		outline-offset: 2px;
	}

	#fullscreen-image .caption {
		box-sizing: border-box;
		padding: 10px 70px;
		color: var(--beige);
		text-shadow: 0 2px 5px var(--black);
	}

	.post-description {
		color: var(--white);
		font-size: 24px;
		font-family: "Poor Story";
		text-align: justify;
		line-height: 100%;
	}
	.post-description p, .post-description div { margin: 0 0 1em; }
	.post-description [data-color="beige"] { color: var(--beige); }
	.post-description [data-color="pink"] { color: var(--pink); }
	.post-description [data-color="blue"] { color: var(--blue); }
	.post-description [data-color="ashy"] { color: var(--ashy); }
	.post-description [data-color="white"] { color: var(--white); }
	.post-description [data-color="black"] { color: var(--black); }
	@media screen and (max-width: 720px) {
		.post-description { font-size: 18px; }
	}

	@media (max-width: 600px) {
		.modal-content { max-width: 94vw; max-height: 78vh; }
		.modal-prev { left: 8px; }
		.modal-next { right: 8px; }
		.modal-nav { width: 42px; height: 42px; font-size: 28px; }
		.close { top: 10px; right: 10px; width: 42px; height: 42px; }
	}

/* Homepage layout */
body.home-page {
	color: var(--beige);
	background-color: var(--ashy);
	font-family: "Poor Story";
	font-size: clamp(100%, 1rem + 2vw, 24px);
	line-height: normal;
	max-width: 1140px;
	margin: auto;
}

body.home-page h1 {
	text-transform: uppercase;
	font-family: "Poor Story";
	font-size: 48px;
	font-weight: 400;
	border-bottom: 4px solid var(--white);
	line-height: 100%;
	color: var(--ashy);
	background-color: var(--blue);
}

body.home-page h2 {
	font-family: "Poor Story";
	color: var(--white);
	font-size: 30px;
	font-weight: 300;
	line-height: 120%;
	text-align: justify;
}

.homegrd {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: center;
	gap: 10px;
	padding: 1%;
}

.home-buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 10px;
	padding: 0 1% 1%;
}

@media (max-width: 600px) {
	.home-buttons { grid-template-columns: 1fr; }
}

body.home-page .page-logo {
	grid-column: span 2;
	grid-row: span 2;
	text-align: center;
}

body.home-page .page-title,
body.home-page .text {
	grid-column: span 3;
}

body.home-page .page-title {
	width: fit-content;
}

body.home-page .button-home {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

body.home-page .button-home a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 12px 24px;
	border: 2px solid var(--beige);
	border-radius: 10px;
	color: var(--beige);
	font-family: "Poor Story";
	font-size: 48px;
	line-height: 1;
	text-align: center;
}

body.home-page .button-home a i {
	position: absolute;
	left: 10px;
	color: var(--beige) !important;
	font-size: inherit;
}

body.home-page .upcoming-button a {
	border-color: var(--blue);
	color: var(--blue);
}

body.home-page .upcoming-button a i { color: var(--blue) !important; }

body.home-page .home-patreon-button a,
body.home-page .home-newest-button a {
	border-color: var(--white);
	color: var(--white);
}

body.home-page .home-patreon-button a { background-color: var(--beige); }
body.home-page .home-releases-button a {
	background-color: var(--blue);
	border-color: var(--white);
	color: var(--white);
}

body.home-page .home-newest-button a { background-color: transparent; }

body.home-page .home-patreon-button a i,
body.home-page .home-releases-button a i,
body.home-page .home-newest-button a i { color: var(--white) !important; }

body.home-page .home-patreon-button a,
body.home-page .home-patreon-button a i { color: var(--ashy) !important; }

@media only screen and (orientation: portrait), (max-width: 800px) {
	body.home-page .page-logo,
	body.home-page .page-title,
	body.home-page .text {
		grid-column: 1 / -1;
	}

	body.home-page .page-logo { grid-row: auto; }
	body.home-page .page-logo svg { width: min(55vw, 260px); }
}

