html {
	scroll-behavior: smooth;
	/*
	scroll-snap-points-y: repeat();
	*/
	scroll-padding-top: 200px; /* Højde på fast header, evt. plus spacer_div */
}

body, header, header p, .section2, div, figure, figcaption, img {
	margin: 0;
	padding: 0;
} 

body {
	color: ivory;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	/* 
	scroll-snap-type: y mandatory;
	*/
}

header {
	height: 80px;
	padding: 10px 0px;
	position: sticky;
	top: 0;
	text-align: center;
	background-color: Cadetblue;
	color: ivory;
	z-index: 1;
}

header a {
	font-size: 26px;
	color: ivory;
	text-decoration: none;
}

header h1 {
	padding: 10px;
	margin: 0;
}

header p {
	font-size: 20px;
}

.spacer_div {
	margin: 0;
	padding: 0;
	height: 100px;
	background-color: ivory;
}

.section2 {
	background: Ivory;
	display: flex;
	flex-direction: column;
	text-align: center;
}

footer {
	font-size: 26px;
	min-height: 30px;
	position: sticky;
	bottom: 0;
	background-color: Cadetblue;
	color: white;
	text-align: center;
}

.sang {
	/*
	scroll-snap-align: center;
	*/
	box-shadow: 2px 2px 5px gray;
	margin: 0px auto;
	padding: 0;
	width: 800px;
	height: 700px;
	background: #80250E;
	text-align: center;
}

.sangbillede {
	height: 600px;
	width: 800px;
}

img {
	pointer-events: none;
}

figure {
	margin: 0;
	padding: 0;
	color: ivory;
}

figure figcaption {
	height: 50px;
	font-size: 20px;
}

audio::-webkit-media-controls-enclosure {
	 background-color: lightgray;
    border-radius: 0;
}

audio {
	height: 50px;
	width: 800px;
}

@media screen and (max-width: 882px), screen and (max-height: 922px) {
	.sang {
		width: 400px;
		height: 400px; /* height of image, plus audio-controls and figcaption*/
	}
	.sangbillede {
		width: 400px;
		height: 300px; 
	}
	audio {
		width: 400px;
	}
}
@media screen and (max-width: 442px), screen and (max-height: 634px) {
	.sang {
		width: 200px;
		height: 250px;
	}
	.sangbillede {
		width: 200px;
		height: 150px;
	}
	audio {
		width: 200px;
	}
}

/* VELKOMSTSIDEN */

.velkommen {
	margin: 0;
	padding: 0;
	min-height: calc(100vh - 160px);
	display: block;
	text-align: center;
	background-image: url("legesangbogen/billeder/forside.jpg");
	background-repeat: no-repeat;
   background-position: center;
   background-size: contain;
	/*
   background-size: cover;
	*/
}

.div_vel img {
	margin: 0;
}
.div_vel {
	width: 80%;
	margin: 30px auto;
	display: block;
	box-shadow: 2px 2px 5px gray;
	background: #88aa88cc;
	padding: 40px;
	color: white;
	font-size: 24px;
	text-align: center;
	overflow: auto;
}
.div_vel a {
	color: lightblue;
	text-decoration: none;
}

