html * {
	box-sizing: border-box;
}
:root {
	--bodytext-color: rgb(255,255,255);
	--headertext-color: rgb(255,200,255);
	--bodybackground-color: rgba(90,60,80,0.8);
	--headerbackground-color: rgba(80,40,70,0.7);
	--containerbackground-color: rgba(0,0,0,0.5);
	--containerfourthbackground-color: rgba(50,50,100,0.5);
}

body {
	font-family: system-ui, sans-serif;
	font-size: 100%;
	line-height: 135%;
	color: var(--bodytext-color);
	background-image: linear-gradient(var(--bodybackground-color),var(--bodybackground-color)),url("pavilion render.jpeg");
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
}

a {color: var(--headertext-color);}

header {
	min-height: 30vh;
	color: var(--headertext-color);
	background-color: var(--headerbackground-color);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

h1 {
	line-height: 1.2em;
	text-align: center;
}

figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	background-color: var(--headerbackground-color);
	padding: 1em;
	max-width: 95vw;
}

figure img {
	max-width: 100%;
}

.about, .art {
	margin-left: 2em;
	margin-right: 2em;
}

.art {
	margin-top: 5em;
}

.container {
	background-color: var(--containerbackground-color);
	padding: 0.5em;
}

.fourth {
	background-color: var(--containerfourthbackground-color);
	padding: 0.5em;
}

footer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/*--- media queries ---------------*/

@media screen and (min-width: 715px) {
	
	figure {
		max-width: min-content;
	}
	
	figure img {
	max-width: 90vw;
}
	
	.container {
		display: grid;
		grid-template-columns: 2fr 1fr 2fr;
		grid-template-rows: auto auto auto;
		grid-auto-flow: dense;
		gap: .5em 2em;
	}
	
	.first {
		grid-column: 1 / -1;
	}
	
	.second {
		grid-column: 1 / 3;
	}
	
	.third {
		grid-row: 2 / 3;
	}
	
	.fourth {
		grid-column: 2 / 4;
	}
	
	.fifth {
		
	}
	
	.sixth {
		grid-column: 1 / -1;
	}
	
}