#grid {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	color: white;

	display: grid;
	grid-template-columns: 1fr var(--outer-padding) 1fr;
	grid-template-rows: auto 1fr 1fr;
	grid-template-areas:
		"fr dot ar"
		"resume . oeuvre"
		"figure . monument";
	padding: var(--outer-padding);
	row-gap: var(--outer-padding);
}


h3 {
	font-size: calc(1.6 * var(--outer-padding));
	line-height: calc(1.6 * var(--outer-padding));
	font-family: 'Zarid', 'Fedra', 'LastResort', sans-serif;
}

h4 {
	width: 100%;
	position: relative;
	font-size: var(--outer-padding);
	line-height: var(--outer-padding);
	margin-bottom: calc(0.5 * var(--outer-padding));
}

h4:after {
	content: "";
	background-image: url('../common/icons/arrow-top-right-white.svg');
	position: absolute;
	top: 0.2em;
	right: 0;
	height: 0.7em;
	width: 0.7em;
	background-repeat: no-repeat;
}

h5 {
	font-weight: 500;
	font-size: 1.2em;
	line-height: 1.1em;
	margin-bottom: 0.4em;
}

p {
	padding-top: 0.5em;
	font-size: 1em;
	font-weight: normal;
}

h5 em {
	font-size: 0.9em;
	font-weight: normal;
}

small {
	text-transform: uppercase;
	font-size: 0.7em;
}

img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 76%;
	border-radius: calc(0.2 * var(--outer-padding));
	margin-bottom: calc(0.5 * var(--outer-padding));
	-webkit-mask-size: contain;
	mask-size: contain;
}

#figure img,
#monument img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#flag {
	width: auto;
	display: block;
	height: 30%;
}

#resume,
#oeuvre,
#figure,
#monument {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	position: relative;
	overflow: hidden;
	padding: var(--outer-padding);
}

.card {
	background-color: #e31c45;
	border-radius: var(--outer-padding);
}

.card p {
	flex: 1 1 1px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

#fr {
	grid-area: fr;
	text-align: right;
}

#ar {
	grid-area: ar;
}

#dot {
	grid-area: dot;
	text-align: center;
}

#resume {
	grid-area: resume;
}

#oeuvre {
	grid-area: oeuvre;
}

#figure {
	grid-area: figure;
}

#monument {
	grid-area: monument;
}
