
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

body {
	font-family: "Merriweather", system-ui, sans-serif;
	font-size: 100%;
	line-height: 135%;
	margin: 0;
}

.outline {
	outline: 1px dotted #f00;
}

header {
	background-color: #aaa;
	background-image: url("images/qal-1280-719.jpg");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 50vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

h1 {
	margin-top: 0;
	padding: .25em;
	/* padding-top: calc(25vh - 1em);*/
	text-align: center;
	line-height: 1em;
	font-size: 5vw;
	color: #fff;
	/* text-shadow: 0 0 4px #000; */
	background-color: rgba(127,127,127,.5);
}

main {
	margin: 1em;
}

figure.photo {
	text-align: center;
	padding:0;
	background-color: #111;
	position: relative;
	line-height: 0;
	margin: 1em 2em;
}

.photo img {
	width: 100%;
} 

.photo figcaption {
	color: rgba(255,255,255,1);
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	width: fit-content;
	margin: 0 auto .5em auto;
	background-color: rgba(150,150,150,.6);
	padding: .3em .5em;
	line-height: 120%;
}
