@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

@media print {
	.footer-info-block {
		display: none !important;
	}
	.header-image {
		display: none !important;
	}
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
	font-family: 'Nunito', sans-serif;
	font-weight: 400;
	background-color: #F6E8E0;
	color: #386150;
	letter-spacing: 0.15em;
}

body {

}

h1, h2, .header-item, .tag, .catalogue-title, .project-title {
	font-variant: small-caps;
	font-weight: 700;
}

h2, h3 {
	padding-top: 24px;
	padding-bottom: 16px;
}

h4 {
	padding-top: 16px;
	padding-bottom: 12px;
}

h1, {
	font-size: 2.8em;
	padding-bottom: 16px;
	letter-spacing: 0.15em;
	padding-top: 16px;
	color: #386150;
}

ul {
	padding: 8px;
}

li {
	list-style-position: inside;
	padding: 6px 0;
}

.content h1:before {
	display: inline-block;
	width: 8px;
	content: ' ';
	/*! height: 50px; */
}

.content h1:after {
	background-color: #8bbda4;
	border-radius: 10px;
	width: 100%;
	height: 10px;
	content: ' ';
	display: block;
	margin-top: 8px;
}

.more {
	color: inherit;
	padding: 16px;
	display: inline-block;
	width: 100%;
	margin: 0 auto 0 0;
	font-weight: 700;
	text-decoration: none;
	width: 100%;
	text-align: right;

}

.more a, .more a.visited, .more a:active {

	color: inherit;
	display: inline-block;
	width: 100%;
	text-decoration: none;
}

.more a:hover {

	color: #8bbda4;
}

p {
	font-size: 16px;
}

@media only screen and (max-width: 1300px)
{
	h1
	{
		font-size: 2em;
	}
	.content h1:before {
		display: none;
	}
}

@media only screen and (max-width: 900px)
{
	h1 {
		font-size: 1.5em;
		letter-spacing: 0em;
		text-align: center;
	}
}

/************************/
/* Header elements      */
/************************/
.header {

	display: block;
	height: max-content;
	width: 100%;
}

.header-nav {
	display: flex;
	width: 100%;
	height: max-content;
	background-color: #8bbda4;
	padding-left: 10vw;
	padding-right: 10vw;
	flex-wrap: wrap;
	color: white;
}

.header-item {
	flex: auto;
	text-align: center;
	color: white;
	text-decoration: none;
	height: 106px;
	line-height: 106px;
	letter-spacing: 0.15em;
	font-weight: 700;
	font-size: 2em;
	transition-property: color, letter-spacing;
	transition-duration: 0.2s;
	transition-timing-function: ease-out;
}


.header-item:hover {
	color: white;
	letter-spacing: 0.2em;
}

.header-item:after
{
	content: ' ';
	transition-property: transform, background-color;
	transition-duration: 0.2s;
	transition-timing-function: ease-out;
	display: block;
	transform: scaleX(0);
	width: 90%;
	background-color: #8bbda4;
	height: 6px;
	border-radius: 3px;
	margin: 0 auto;
	margin-top: -16px;
}

.header-item:hover:after
{
	background-color: white;
	transform: scaleX(1);
}

.header-image {
	display: block;
	width: 100%;
	background-image: url("img/main.png");
	background-repeat: no-repeat;
	background-position-x: center;
	aspect-ratio: 2.28571429;
	max-height: 44vw;
	background-size: contain;
}



@media only screen and (min-width: 1280px)
{
	.header-image {
		display: block;
		width: 100%;
		height: 21.8vw;
		background-image: url("img/main-mobile.png");
		background-repeat: no-repeat;
		background-size: contain;
		background-position-x: center;
		aspect-ratio: initial;
	}

	.header-item:after  {
		width: 70%;
	}
}

@media only screen and (max-width: 900px)
{
	.header {

	}
	.header-nav {

	}
	.header-item {
		font-size: 1.5em;
		flex-basis: 50%;
		height: 64px;
	}
}

@media only screen and (max-width: 420px)
{
	.header-item {
		flex-basis: 52%;
	}
}

/************************/
/*   Body and content   */
/************************/
.content {
	display: block;
	width: 1200px;
	margin: 0 auto;
}


@media only screen and (max-width: 1300px)
{
	.content {
		width: 100%;
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media only screen and (max-width: 960px)
{
	.content {
		width: 100%;
		padding-left: 8px;
		padding-right: 8px;
	}
}

.container {
	display: block;
	background-color: white;
	border-radius: 20px;
	padding: 32px;
}

.container:first-child  {
	margin-top: 0;
}

.content-container {
	margin: 150px 0;
}

@media only screen and (max-width: 900px) {
	.container {
		padding: 16px;
	}
}


/************************/
/* footer and content   */
/************************/
.footer {

}


.footer-info-block {
	background-image: url(img/website_boden.png);
	height: 350px;
	background-position: bottom;
	background-size: 16%;
	background-repeat: repeat-x;
}

.footer-info-left {
	float: left;
	background-image: url(img/char_left.png);
	height: 100%;
	display: block;
	width: 20vw;
	background-size: 200px;
	background-repeat: no-repeat;
	background-position-y: bottom 60px;
	background-position-x: right;
}

.footer-info-center {
	width: 920px;
	margin: 0 auto;
}

.footer-info-right {
	float: right;
	background-image: url(img/char_right.png);
	height: 100%;
	display: block;
	width: 20vw;
	background-size: auto;
	background-repeat: no-repeat;
	background-position-y: bottom 60px;
	background-position-x: left;
}

.footer-content {
	display: flex;
	height: 128px;
	background-color: #8bbda4;
	color: white;
	width: 100%;
	/*! padding-left: 1vw; */
	padding: 32px 74px;
}

.footer-info-center img {
	float:right;
}

.footer-left {

	flex: auto;
}

.footer-center {

	flex: auto;
	margin: 0 auto;
	text-align: center;
	line-height: 64px;
}

.footer-right {

	flex: auto;
	text-align: right;
	/*! line-height: 106px; */
	vertical-align: bottom;
}

.footer-center a, .footer-center a:visited, .footer-center a:active {

	color: white;
	text-decoration: none;
	letter-spacing: 0.035em;
	display: inline;
	vertical-align: middle;
	/*! height: 100%; */
	/*! box-sizing: content-box; */
}

.footer-center a:hover {

}

.footer-info-center a, .footer-info-center a:visited {
	text-decoration: none;
}

@media only screen and (max-width: 1200px)
{
	.footer-info-left {
		display: none;
	}

	.footer-info-right {
		display: none;
	}
}
@media only screen and (max-width: 900px)
{
	.footer-info-center {
		width: 95%;
		margin: 0 auto;
	}
	.footer-info-center img {
		float: initial;
		display: block;
		margin: 0 auto;
	}
	.footer-info-block {
		height: max-content;
		padding-bottom: 128px;
	}

	.footer-content {
		display: block;
		height: max-content;
		padding-bottom: 1em;
	}

	.footer-right {
		display: block;
		width: 100%;
		text-align: center;
		padding-bottom: 1em;
	}

	.footer-center {
		display: block;
		width: 100%;
		text-align: center;
		padding-bottom: 1em;
	}

	.footer-left {
		display: block;
		width: 100%;
		text-align: center;
		padding-bottom: 1em;
	}


}


/************************/
/* content              */
/************************/

.list-content {

}

.project {
	width: 100%;
	height: 20em;
	background-position: center;
	background-size: cover;
	transition-property: background, border, height;
	transition-duration: 0.15s;
	transition-timing-function: ease-out;
	border: 0px solid white;
	overflow: hidden;
	cursor: pointer;
}

.project:hover {

	border: 8px solid white;
}

.project-clicked {
	border: 0px solid #8bbda4 !important;
}

.project-image {
	display: inline-block;
	height: 100%;
	width: 100%;
	overflow: hidden;
	background-size: cover;
	transition-property: width, background;
	transition-duration: 0.2s;
	background-position: center;
	position: relative;
}

.project-title {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	font-size: 2em;
	color: #386150;
	font-weight: 700;
	object-fit: scale-down;
	max-width: fit-content;
	margin: auto;
	display: block;
	height: max-content;
	padding: 16px;
	background-color: #fff;
	border-radius: 8px;
	letter-spacing: 0.15em;
	transition-property: opacity, padding;
	transition-duration: 0.2s;
	opacity: 1;
	user-select: none;
	word-wrap: normal;
	word-break: keep-all;

}


.project:hover .project-title {
	padding: 24px;
}

.project-clicked .project-title {
	opacity: 0;
}


@media only screen and (max-width: 980px) {
	.project-title {
		font-size: 1.3em;
		padding: 12px;
	}
	
	.project:hover .project-title {
		padding: 12px;
	}
}

.project-clicked .project-image {

	width: 30%;
}

.project-content {

	display: inline-block;
	width: 69%;
	padding: 24px;
	height: max-content;
	transition-property: opacity;
	transition-delay: 0.15s;
	transition-duration: 0.15s;
	opacity: 0;
	vertical-align: bottom;
}

.project-clicked .project-content {

	opacity: 1;
}

.project-content h2 {

	font-style: inherit;
}

.project-content p {

	margin-top: 16px;
	margin-bottom: 16px;
}

.project-image-arrow {
	margin-right: -1px;
	line-height: 355px;
	color: white;
	font-size: 5em;
	float: right;
	transform: rotate(180deg);
	transition-property: transform, opacity, padding, line-height;
	transition-duration: 0.15s;
	padding: 0 24px;
	opacity: 0.3;
	background-color: white;
	color: #386150;
	height: 100%;
	user-select: none;
}

.project-image:hover .project-image-arrow {

	opacity: 1;
	padding: 0 48px;
}

.project-clicked .project-image-arrow {

	transform: rotate(0);
	padding: 0 24px;
}

.project-clicked .project-image:hover .project-image-arrow {
	padding: 0 32px;
}

.tags {
	flex-wrap: wrap;
	display: flex;
}
.tag{

	background-color: #8bbda4;
	padding: 8px 16px;
	border-radius: 64px;
	margin: 8px;
	font-weight: 700;
	color: white;
	height: max-content;
}
.tag-image {
	background-size: cover;
	background-position: center;
	height: 64px;
	background-repeat: no-repeat;
	width: 100px;
	border-radius: 4px !important;
	transition-property: transform;
	transition-duration: 0.1s;
	cursor: pointer;
	transform: scale(1);
}

 .img-fit {
 	background-size: contain;
 }

.tag-image:hover {
	transform: scale(1.1);
}

a.tag, a.tag:visited, a.tag:active {
	text-decoration: none;
}
a.tag:hover {
	background-color: #008292;
}

.catalogue {
	height: 128px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	overflow: hidden;
	transition-property: height;
	transition-duration: 0.15s;
}

.catalogue-clicked{
	height: 200px;
}

.catalogue-content {
	margin-left: 128px;
	padding: 1vw;
	background-color: rgba(255,255,255,0.9);
	overflow: hidden;
	height: 100%;
	cursor: pointer;
}

.catalogue-title {

	font-size: 2em;
	font-weight: 700;
	line-height: 2em;
	display: block;
	transition-property: font-size, line-height;
	transition-duration: 0.2s;
}

.catalogue-text {

	margin-top: 32px;
	display: inline-block;
	transition-property: margin, opacity;
	transition-delay: 0.05s;
	transition-duration: 0.15s;
	opacity: 0;
}

.catalogue-clicked .catalogue-content {

}

.catalogue-clicked .catalogue-title {
	font-size: 1.2em;
	font-weight: 700;
	margin-bottom: 16px;
}

.catalogue-clicked .catalogue-text {

	margin-top: 0px;
	opacity: 1;
}

@media only screen and (max-width: 900px)
{
	.catalogue-clicked
	{
		height: 350px;
	}
	.project {
		/*! aspect-ratio: 2.5; */
	}
	.catalogue {

	}
	.catalogue-content {
		margin-left: 0;
		text-align: center;
	}

	.project {

		height: 220px;
	}
	.project-image {

		width: 100% !important;
		height: 220px;
	}

	.project-clicked .project-image {

	}

	.project-clicked .project-image {

	}

	.project-content {
		width: 100%;
		margin-top: -4px;
		background-color: #f6e8e0;
	}

	.project-image-arrow {
		display: none;
		/*! width: 100%; */
		/*! line-height: 64px !important; */
	}

	.project-image:before {
		display: block;
		content: '^';
		transform: rotate(180deg);
		margin: 0 auto;
		width: 100%;
		background-color: rgba(255,255,255,0.3);
		/*! padding: 16px; */
		box-sizing: border-box;
		text-align: center;
		color: #008292;
		font-size: 1.8em;
		font-weight: 700;
		margin-top: 156px;
		height: 64px;
		line-height: 64px;
	}

	.project-clicked .project-image:before {
		transform: rotate(0deg);
	}
}
/* footer and content   */
/************************/
.footer {

}


.footer-info-block {

	background-image: url(img/website_boden.png);
	height: 350px;
	background-position: bottom;
	background-size: 500px;
	background-repeat: repeat-x;
}

.footer-info-left {

	float: left;
}

.footer-info-center {

	width: 920px;
	margin: 0 auto;
}

.footer-info-right {

}

.footer-content {
	display: flex;
	height: 128px;
	background-color: #8bbda4;
	color: white;
	width: 100%;
	/*! padding-left: 1vw; */
	padding: 32px 74px;
}

.footer-info-center img {
	float:right;
}

.footer-left {

	flex: auto;
}

.footer-center {

	flex: auto;
	margin: 0 auto;
	text-align: center;
	/*! font-size: 16px; */
}

.footer-right {

	flex: auto;
	text-align: right;
	line-height: 64px;
	vertical-align: bottom;
}

.footer-center a, .footer-center a:visited, .footer-center a:active {

	color: white;
	text-decoration: none;
	letter-spacing: 0.035em;
	display: inline;
	vertical-align: middle;
	/*! height: 100%; */
	/*! box-sizing: content-box; */
	font-size: 1.1em;
}

.footer-center a:hover {

}

@media only screen and (max-width: 900px)
{
	.footer-info-center {
		width: 95%;
		margin: 0 auto;
	}
	.footer-info-center img {
		float: initial;
		display: block;
		margin: 0 auto;
	}
	.footer-info-block {
		height: max-content;
		padding-bottom: 128px;
	}

	.footer-content {
		display: block;
		height: max-content;
		padding-bottom: 1em;
	}

	.footer-right {
		display: block;
		width: 100%;
		text-align: center;
		padding-bottom: 1em;
	}

	.footer-center {
		display: block;
		width: 100%;
		text-align: center;
		padding-bottom: 1em;
	}

	.footer-left {
		display: block;
		width: 100%;
		text-align: center;
		padding-bottom: 1em;
	}
}


/************************/
/* content              */
/************************/

.list-content {

}

.project {
	width: 100%;
	height: 20em;
	background-position: center;
	background-size: cover;
	transition-property: background, border, height;
	transition-duration: 0.15s;
	transition-timing-function: ease-out;
	border: 0px solid white;
	overflow: hidden;
	cursor: pointer;
}

.project:hover {

	border: 8px solid white;
}

.project-clicked {
	border: 0px solid #8bbda4 !important;
	cursor: inherit;
}

.project-image {
	display: inline-block;
	height: 100%;
	width: 100%;
	overflow: hidden;
	background-size: cover;
	transition-property: width, background;
	transition-duration: 0.2s;
	background-position: center;
	cursor: pointer;
}

.project-clicked .project-image {

	width: 30%;
}

.project-content {

	display: inline-block;
	width: 69%;
	padding: 24px;
	height: max-content;
	transition-property: opacity;
	transition-delay: 0.15s;
	transition-duration: 0.15s;
	opacity: 0;
	vertical-align: bottom;
}

.project-clicked .project-content {

	opacity: 1;
}

.project-content h2 {

	font-style: inherit;
}

.project-content p {

	margin-top: 16px;
	margin-bottom: 16px;
}

.project-image-arrow {
	margin-right: -1px;
	line-height: 355px;
	color: white;
	font-size: 5em;
	float: right;
	transform: rotate(180deg);
	transition-property: transform, opacity, padding, line-height;
	transition-duration: 0.15s;
	padding: 0 24px;
	opacity: 0.3;
	background-color: white;
	color: #386150;
	height: 100%;
	user-select: none;
}

.project-image:hover .project-image-arrow {

	opacity: 1;
	padding: 0 48px;
}

.project-clicked .project-image-arrow {

	transform: rotate(0);
	padding: 0 24px;
}

.project-clicked .project-image:hover .project-image-arrow {
	padding: 0 32px;
}

.tags {
	flex-wrap: wrap;
	display: flex;
}
.tag{

	background-color: #8bbda4;
	padding: 8px 16px;
	border-radius: 64px;
	margin: 8px;
	font-weight: 700;
	color: white;
}

a.tag, a.tag:visited, a.tag:active {
	text-decoration: none;
}
a.tag:hover {
	background-color: #008292;
}

.catalogue {
	height: 128px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	overflow: hidden;
	transition-property: height;
	transition-duration: 0.15s;
}

.catalogue-clicked{
	height: 200px;
}

.catalogue-content {
	margin-left: 128px;
	padding: 1vw;
	background-color: rgba(255,255,255,0.9);
	overflow: hidden;
	height: 100%;
	cursor: pointer;
}

.catalogue-title {

	font-size: 2em;
	font-weight: 700;
	line-height: 2em;
	display: block;
	transition-property: font-size, line-height;
	transition-duration: 0.2s;
}

.catalogue-text {

	margin-top: 32px;
	display: inline-block;
	transition-property: margin, opacity;
	transition-delay: 0.05s;
	transition-duration: 0.15s;
	opacity: 0;
}

.catalogue-clicked .catalogue-content {

}

.catalogue-clicked .catalogue-title {
	font-size: 1.2em;
	font-weight: 700;
	margin-bottom: 16px;
}

.catalogue-clicked .catalogue-text {

	margin-top: 0px;
	opacity: 1;
}


	.project:hover {
		border: 0;
	}
	.catalogue-clicked
	{
		height: 350px;
	}
	.project {
		/*! aspect-ratio: 2.5; */
	}
	.catalogue {

	}
	.catalogue-content {
		margin-left: 0;
		text-align: center;
	}

	.project {

		height: 220px;
	}
	.project-image {

		width: 100% !important;
		height: 220px;
	}

	.project-clicked .project-image {

	}

	.project-clicked .project-image {

	}

	.project-content {
		width: 100%;
		margin-top: -4px;
		background-color: #f6e8e0;
	}

	.project-image-arrow {
		display: none;
		/*! width: 100%; */
		/*! line-height: 64px !important; */
	}

	.project-image:before {
		display: block;
		content: '▲';
		transform: rotate(180deg);
		margin: 0 auto;
		margin-top: 0px;
		width: 2em;
		background-color: rgba(255,255,255,0.3);
		padding: 16px;
		box-sizing: border-box;
		text-align: center;
		color: #386150;
		font-size: 2em;
		font-weight: 700;
		margin-top: 150px;
		height: 64px;
		line-height: 24px;
		border-radius: 64px;
		margin-bottom: 8px;
		transition-duration: 0.3s;
		transition-property: transform, color, background-color, font-size;
	}

	.project:hover .project-image:before {
		color: #F6E8E0;
		background-color: #8bbda4;
		font-size: 2.2em;
	}

	.project-clicked .project-image:before {
		transform: rotate(0deg);
	}

.social-link, .social-link:visited, .social-link:active, .social-link:focus {
	display: inline-block;
	background-size: 90%;
	background-repeat: no-repeat;
	width: 64px;
	height: 64px;
	margin-right: 8px;
	background-color: transparent;
	transition-property: background-size background-color;
	background-position: center;
	transition-duration: 0.2s;
	border-radius: 8px;
}

.social-link:hover {
	background-size: 100%;
	background-color: white;
}

.link-tiktok {
	background-image: url("img/logo_tiktok-export.png");
}
.link-itchio {
	background-image: url("img/logo_itch-export.png");
}
.link-instagram {
	background-image: url("img/instagram.png");
}

.link-discord {
	background-image: url("img/logo_discord-export.png");
}

.link-patreon {
	background-image: url("img/patreon_logo.png");
}

.link-steam {
	background-image: url("img/steam_logo_pixl.png");
}
.social-big {
	width: 96px;
	height: 96px;
}
.center-image {
	text-align: center;
	width: 100%;
	height: max-content;
}

p.hero {
	font-size: 20px;
	font-weight: 400;
	padding: 16px;
}

.image-preview {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	cursor: pointer;
	background-color: rgba(40,40,40,0.8);
}

.image-preview-image {
	max-width: 100%;
	object-fit: contain;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	box-shadow: 0px 0px 15px #1e1e1e;
	cursor: pointer;
}

a.list-link, a.list-link:visited {
	display: flex;
	margin: 18px 0px;
	padding: 8px 18px;
	width: initial;
	height: initial;
	color: #386150;
	text-decoration: none;
	font-weight: bold;
	background-color: #8bbda4;
	border-radius: 8px;
	transition-property: padding, color;
	transition-duration: 0.2s;
}

a.list-link:hover {
	color: white;
	background-color: #386150;
	padding-left: 24px;
}

.links-icon {
	background-size: contain;
	background-repeat: no-repeat;
	width: 64px;
	height: 64px;
	min-width: 64px;
	display: inline-block;
	margin-top: 0;
	margin-bottom: 0;
}

.links-text {
	display: inline-block;
	margin: auto 12px;
}

@media only screen and (max-width: 900px)
{
	.mobile-only 
	{
		display: none;
	}

	.desktop-only {

	}
}

@media only screen and (min-width: 901px)
{
	.mobile-only 
	{
	}

	.desktop-only {
			display: none;
	}
}

