:root {
  --primary-color: rgb(117, 76, 41);
  --secondary-color: #A1884A;
  --danger-color: #C84221;
  --bg-color: rgba(219,215,194,1.00);
}

html, body{
	background-color: rgba(219,215,194,1.00);
}

body{
	background-attachment: local;
	min-height: 100dvh;
	background-size: 300%;
	background-position: center;
	height: 100dvh;
	overflow-y: hidden;
}

.speakerButton[togglesound='0'] .speakerOff {fill:rgba(117,76,41,1.00);}
.speakerButton[togglesound='1'] .speakerOff {fill:transparent;}
.speakerButton[togglesound='0'] .speakerOn {fill:transparent;}
.speakerButton[togglesound='1'] .speakerOn {fill:rgba(117,76,41,1.00);}	

h1{
	color: var(--primary-color);
}
h2{
	font-size: 1em;
	color: var(--primary-color);
}
section bio{
	margin-top: 4em;
	display: flex;
	flex-direction: column;
}

section bio h2{
	font-size: 1.3em;
}
section bio h2 span{
	font-weight: 300;
	width: 100%;
	display: flex;
	font-size: .7em;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-bottom: .4em;
}
p{
margin-block-start: .5em;
margin-block-end: .5em;
	line-height: 1.5em;
}
.dialog {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 1rem;
	margin-bottom: 1rem;
}
.role {
	font-weight: bold;
	text-transform: uppercase;
	white-space: nowrap;
	text-align: end;
	font-size: .8em;
	padding-top: .2em;
	color: var(--primary-color);
}
.text {
	white-space: pre-wrap; /* bevarer linjeskift */
}
.role span{
	font-size: .7em;
	font-weight: 300;
	flex-wrap: wrap;
	white-space: normal;
}


.videotrack{
	height: 100%;
	max-height: 90svh;
	position: relative;
	aspect-ratio: 1 / 1;
}

.videotrack video{
	height: 100%;
	width: 100%;
	filter: grayscale(.8) sepia(.5) blur(1px) brightness(50%);
	transition: all .5s;
	opacity: .7;
}
.videotrack video.videoplay{
	filter: grayscale(.3) sepia(.2) blur(0px) brightness(100%);
	opacity: .9;
}

videosection{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--bg-color);
	min-height: 100vh;
}

playknapp{
	position: absolute;
	display: flex;
	top: 0;
	left: 0;
	pointer-events: none;
	height: 100%;
	width: 100%;
	justify-content: center;
	align-items: center;
	opacity: 1;
	transition: all .5s;
}

videosection .videotrack.videoplay playknapp{
	opacity: 0;
}
videosection .videotrack.videoplay playknapp svg{
/*	backdrop-filter: blur(0px);*/
}
playknapp svg{
	transition: all .5s;
	background-color: rgba(255,255,255,0.0);
	border-radius: 100px;
/*	backdrop-filter: blur(3px);*/
}



bildesection{
	padding: 3em 0em;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--bg-color);
/*	min-height: 100vh;*/
}
bildesection bilde {
	width: 100%;
	max-width: 800px;
	transition: all 2s;
	opacity: .4;
	filter: grayscale(.8) sepia(.5) blur(1px) brightness(80%);
	transform: scale(1);
}
bildesection img{
	width: 100%;
	height: auto%;
}
bildesection.fully-visible bilde {
	transition: all .5s;
	opacity: .9;
	filter: grayscale(.3) sepia(.2) blur(0px) brightness(100%); 
	transform: scale(1.02);
}

#kredliste{
	color: black;
	border-spacing: 10px 10px; /* 20px horisontalt, 0px vertikalt */
}

#kredliste .kredKey{
	text-align: right;
	color: var(--primary-color);
	font-size: .85em;
	text-transform: uppercase;
	font-weight: 300;
}
#turneliste{
	margin: 0;
	padding: 0;	
}
#turneliste li{
	margin: 0;
	padding: .25em 0;
	list-style: none;
}
#turneliste p{
	margin: 0;
	padding: 0;
}
#turneliste p.Billettlinje2{
	font-size: .85em;
	color: var(--primary-color);
	text-transform: uppercase;
	font-weight: 300;

}
#turneliste p .sted{
	font-weight: 700;
	text-transform: uppercase;
}
img.frimerke{
	transition: all 2s;
	width: 20%;
	min-width: 130px;
	height: auto;
	float: left;
	margin-right: 1em;
	margin-top: .35em;
	transform: scale(.95);
	opacity: .5;
	filter: grayscale(1) sepia(1) blur(2px) brightness(35%);
	border-radius: .3em;
}

img.frimerke.dobbel{
	width: 100%;
	margin-top: 0;
	margin-bottom: 1em;
}

img.fully-visible{
	opacity: .9;
	transform: scale(1);
	filter: grayscale(1) sepia(.5) blur(0px) brightness(110%); 
}

img.frimerke.full{
	transition: all 1s;
	transform: scale(1);
	width: 100%;
	min-width: auto;
	margin: 1em 0;
}


img.frimerke.full.fully-visible{
	filter: grayscale(0) sepia(0) blur(0px) brightness(100%); 
}

lesmer{
	display: block;
	overflow-y: hidden;
	height: 15em;
	-webkit-mask-image: -webkit-linear-gradient(#000 0%, transparent 100%);
	mask-image: -o-linear-gradient(#000 0%, transparent 100%);
	mask-image: linear-gradient(#000 0%, transparent 100%);
	mask-repeat: no-repeat;
	transition: mask-image .4s, -webkit-mask-image .4s;
}
lesmer.exp{
	-webkit-mask-image: -webkit-linear-gradient(#000 100%, transparent 100%);
	mask-image: -o-linear-gradient(#000 100%, transparent 100%);
	mask-image: linear-gradient(#000 100%, transparent 100%);
}

section inner {
	display: flex;
	flex-direction: column;
	
}

button.lesmer{
	padding: 1em 2em;
	color:var(--primary-color);
	border: 1px solid var(--primary-color);
	background-color: transparent;
	width: fit-content;
	display: flex;
	justify-content: center;
	align-content: center;
	border-radius: .5em;
	cursor: pointer;
	transition: border .3s;
	margin-top: 2em;
}
button.lesmer:hover{
	border: 1px solid black;
}

button.lesmer span{
	transition: all .3s;
	font-size: 2em;
	color:var(--primary-color);
	margin-right: .25em;
}
button.lesmer:hover span{
	color:darkred;
}
button.lesmer p{
	transition: all .3s;
	font-size: 1.5em;
	margin: 0;
	padding: 0;
	padding-top: .15em;
}
button.lesmer:hover p{
	color:black;
}
hamburger {
    width: 50px;
    height: 50px;
    padding: 15px;
	fill:var(--primary-color);
	mix-blend-mode:normal;
}
.speakerButton{
	opacity: 1;
}

.whitebox {
  background: linear-gradient(
    to bottom,
    transparent 0px,      /* 0–10px: fade inn */
    white 6em,           /* 10px → fullt synlig */
    white calc(100% - 6em), /* helt synlig ned til 10px fra bunnen */
    transparent 100%      /* siste 10px: fade ut */
  );
}



bildegalleri {
	display: flex;
	width: 100%;
	justify-content: center;
}
bildegalleri inner{
	display: grid;
	width: 100%;
	padding: 0 0;
	box-sizing: border-box;
	max-width: 600px;
	grid-template-columns: repeat(auto-fill, 180px);
	justify-content: center;
	gap: 10px;
}


bildegalleri .bilde{
	transition: all 2s;
	transform: scale(.95);
	opacity: .5;
	filter: grayscale(1) sepia(1) blur(2px) brightness(35%);
	border-radius: .3em;
	width: 180px;
	height: 180px;
}
bildegalleri .fully-visible.bilde{
	transform: scale(1);
	opacity: .9;
	filter: grayscale(.5) sepia(.5) blur(0px) brightness(80%); 
	border-radius: .3em;

}
bildegalleri bilde img{
	border-radius: .15em;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
bildegalleri .fully-visible.bilde:hover{
	cursor: pointer;
	transition: all .4s;
	opacity: 1;
	filter: grayscale(0) sepia(0) blur(0px) brightness(110%); 
	border-radius: .3em;
}

bigimage{
	position: fixed;
	height: 100vh;
	width: 100vw;
	z-index: 200000;
	background-color: hsla(35, 45.45%, 11.69%, .8);
		backdrop-filter: blur(10px);
}
bigimage n1{
	height: 100%;
	width: 100%;
}

bigimage img{
	width: 100%;
	height: auto;
}
