@font-face {
	font-family: MiriamLibre;
	src: url(fonts/MiriamLibre-Regular.ttf);
}

@font-face {
	font-family: ReemKufi;
	src: url(fonts/ReemKufi-Regular.ttf);
}

:root {
	color: rgb(227, 233, 236);
}

.border-accent {
	border: 1px solid aliceblue;
}

.btn.border-accent {
	border: 1px solid #2a2727 !important;
}

.bg-color {
	background: #2c2b2a;
}

html {
	font-family: MiriamLibre;
	padding: 0;
}

body {
	margin: 0;
	width: min(100em, 100%);
	margin: auto;
	box-sizing: border-box;
}

h1 {
	font-family: ReemKufi;
	letter-spacing: 0.06em;
	font-weight: normal;
}

/* Header */
header {
	width: 100%;
	position: relative;
	box-sizing: border-box;
	background-image: url("ShirtBanner.png") !important;
	background-size: 35em;
	background-position: center;
	padding: 2em;
}

#lang {
	position: absolute;
	top: 0;
	right: 1em;
}

#head-title {
	text-align: center;
	margin: 2em auto;
	padding: 2.5em 0;
	width: 21em;
	box-sizing: border-box;
	outline: 0.2em solid #2c2b2a7f;
	border-radius: 0.03em;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#head-title>* {
	margin: 0;
}

#menu-container {
	padding: 0 15%;
	background-color: #191616;
	border: solid #2a2727;
	border-width: 1px 0;
}

#menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: min(100em, 100%);
	margin: auto;
}

section {
	background-image: linear-gradient(#242322, #2c2b2a 128px);
}

/* Project article */
article {
	position: relative;
	width: min(70em, 100%);
	padding: 4em 0;
	margin: auto;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

article+article {
	background-image: none;
}

article:after {
	content: "";
	background: #f0f8ff33;
	position: absolute;
	bottom: 0;
	left: 20%;
	height: 1px;
	width: 60%;
}

article:last-of-type:after {
	content: unset;
	background: unset;
	display: none;
}

article>* {
	grid-column: 1 / span 2;
	align-self: center;
	justify-self: center;
}

article>.poster {
	grid-column: 1 / span 1;
}

article>.synopsis {
	grid-column: 2 / span 1;
}

.synopsis {
	padding: 0 1em;
	box-sizing: border-box;
	align-self: start;
}

.poster {
	align-self: start;
}

.poster>img {
	max-height: 500px;
}

.previews {
	display: grid;
	grid-template-rows: auto auto;
	grid-template-columns: auto auto auto;
	margin: 1em 0;
}

.previews>img {
	max-height: 150px;
	margin: 0.2em;
}

.synopsis>h2 {
	margin: 0;
}

.awards {
	display: flex;
	flex-wrap: wrap;
	margin: 1em 0;
	position: relative;
	justify-content: space-evenly;
	gap: 1em;
	max-width: 75%;
}

.award {
	max-width: 40%;
	max-height: 180px;
	display: inherit;
	justify-content: center;
}

.award img {
	object-fit: contain;
}

/* Footer */
footer {}

footer>* {
	background-color: #2c2b2a;
}

#mentions {
	padding: 0.1em;
	font-size: smaller;
}

#about-container {
	border: solid #322f2f;
	border-width: 1px 0;
	background-color: #191616;
}

#about-container h2 {
	font-family: ReemKufi;
	letter-spacing: 0.06em;
	font-weight: normal;
	padding-top: 1em;
	margin: 0;
}

#about {
	text-align: left;
	padding: 1em;
	display: grid;
	grid-template-columns: 1fr 5fr;
	border-bottom: 1px solid #322f2f;
	margin: auto;
}

#about>div:first-child {
	width: 100%;
	box-sizing: border-box;
	grid-column: 2 / span 1;
	grid-row: 1;
	align-self: center;
	justify-self: center;
	padding: 0 2em;
}

#about>div:last-child {
	width: 100%;
	box-sizing: border-box;
	grid-column: 1 / span 2;
	grid-row: 2;
	align-self: center;
	justify-self: center;
	padding: 0 2em;
}

#about>img {
	max-width: 12em;
	box-sizing: border-box;
	margin: 2% 5%;
	grid-column: 1 / span 1;
	grid-row: 1;
	align-self: center;
	justify-self: center;
}

/* Misc */
a.btn:link,
a.btn:visited {
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	border: solid #2a2727;
	border-width: 0 1px;
	background-color: #191616;
	color: rgb(227, 233, 236);
}

a.btn:hover,
a.btn:active {
	background-color: #2a2727;
}

.round {
	border-radius: 50%;
}

.clear {
	clear: both;
}

details {
	padding: 1em;
}

details summary {
	text-align: center;
	cursor: pointer;
	transition: margin 150ms ease-out;
}

details[open] summary {
	margin-bottom: 1em;
}

img {
	max-width: 100%;
}

video {
	width: 100%;
	text-align: center;
	margin: 2em 0;
}

.center {
	text-align: center;
}

/* Responsive */
@media screen and (max-width: 800px) {

	#menu {
		grid-template-columns: unset;
		grid-template-rows: 1fr 1fr;
	}

	html {
		padding: unset;
	}

	#head-title {
		font-size: medium;
	}

	article>.poster {
		grid-column: 1 / span 2;
	}

	article>.synopsis {
		grid-column: 1 / span 2;
	}

	#about>div:first-child {
		grid-column: 1 / span 2;
	}

	#about>div:last-child {
		grid-row: 3;
	}

	#about>img {
		width: 8em;
		max-width: 50%;
		grid-column: 1 / span 2;
		grid-row: 2;
	}

	#menu-container {
		padding: 0;
	}

	#menu>a {
		border-width: 1px;
	}

	details {
		padding: 0;
	}

	.synopsis>h2 {
		margin: 1em;
	}

	.award {
		max-width: 75%;
	}
}

@media screen and (max-width: 600px) {
	article {
		--article-padding-horizontal: 1em;
		width: 100%;
		left: 0;
		padding: 2em var(--article-padding-horizontal);
	}

	.previews {
		grid-template-rows: auto auto auto;
		grid-template-columns: auto auto;
	}

	.award {
		max-width: 100%;
	}
}
