:root {
	--pcol: orange;
	--scol: #a618;
}
html * {box-sizing: border-box;}

body {
	font-family: system-ui,sans-serif;
	font-size: 100%;
	margin: 0;
}

header {
	background-color: #0008;
	/*background-image: url("http://images.webwork.space/512x512/sycamore13.jpg");*/
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 50vh;
	position: relative;
}

 
header::before {
	content: " ";
	width: 100%;
	min-height: 50vh;
	background-image: url("http://images.webwork.space/512x512/sycamore08.jpg");
	z-index: -1;
	position: absolute;
}



h1 {
	background-color: #666;
	color: #fff;
	font-size: 4.5vw;
	margin: 0;
	margin-left: 1.25em;
	padding: .2em 0 .3em;
	/* position: absolute;  would take it out of the flow */
	width: auto;
}

h1::before {
	content: "\2647";
	padding: .27vw .46em;
	border: 1vw solid #666;
	border-radius: 1em;
	position: relative;
	left: -1em;
	background-color: var(--pcol);
}


h2 {
	font-size: 9vw;
	text-align: center;
	color: #fff;
	margin: 0;
	margin-top: calc(25vh - 4.5vw - .7em);
}

ul.top-links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: .2em;
	background-color: var(--scol);
}
ul.top-links li {
	text-align: center;
}
ul.top-links a {
	text-decoration: none;
	display: block;
	background-color: var(--scol);
	padding: .4em;
	color: #fff;
}

a.current {
	pointer-events: none;
}

main {
	line-height: 1.44em;
	display: flex;
	flex-direction: column;
}

.wrapper {
	height: 0;
	padding-bottom: 56.25%;
	position: relative;
	overflow: hidden;
}

iframe.rframe {
	width: 100%;
	height: 100%;
	position: absolute;
}

/* Index ------------------------------------*/
.index main {
	background-color: #dbb8;
}
/* About -----------------------------------*/
.about main {
	background-color: #bdb8;
}
/* Gallery ---------------------------------*/
.gallery main {
	background-color: #bbd8;
}
/* Contact----------------------------------*/
.contact main {
  background-color: #ccb8;	
}

@media (min-width: 600px) {
	
	ul.top-links {
		width: 100%;
		flex-direction: row;
        justify-content: center;
		gap: 2vw;
	}
	.top-links li {
		width: 20%;
		margin: .5em 0 .8em;
	}
	
	.index main {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-end;
	}
	
	section {
		padding: 0 .5em;
	}
	
	.index section:nth-child(1) {
		width: 60%;
	}
	.index section:nth-child(2) {
		width: 40%;
	}
	.index section:nth-child(3) {
		width: 40%;
		
	}
	
}

@media (min-width: 2000px) {
	
	body {
		width: 960px auto;
	}
	
}