@font-face {
    font-family: "Myriad Pro";
    src: url('../fonts/MyriadPro-Regular.otf') format("opentype");
}

:root {
  --orange: #cc9933;
  --graamoerk: #666666;
  --roed: #ff0000;
  --gul: #ffd633;
}

html {
  font-size:62.5%;
}

a {all: unset;}

h1, h2, h3 {
	padding:0px;
	margin:0px;
	text-align: center;
}

body {
	margin: 0px;
	padding: 0px;
	color: #000000;
	font-family: 'Myriad Pro';
	background: #000000;
	color: #000000;
	font-size:2.1rem;
	position: relative;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-webkit-text-size-adjust:100%;

}

#indhold {
	position: relative;
	overflow: hidden;
	min-height:100vh;
	text-align: center;

	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

#indhold .menu{
  position: fixed;
	top:0px;
	left:0px;
	background: rgba(255, 255, 255, 0.8);
	width:100%;
	text-align: center;
	font-weight: bold;
}

#indhold .menu div{
	display: inline-block;
	padding:20px 40px;
}

#indhold .menu div:hover{
	cursor: pointer;
	text-decoration: underline;
}

.box{
	display: none;
  position: fixed;
	top:50px;
	width: 600px;
	left:calc(50% - 300px);
	max-height: calc(100% - 230px);

	margin-top:40px;
	padding:5px;
	border-radius: 5px;
	font-size: 1.8rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.8);
	overflow-y:auto;

	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

.box:target {
	display:inline-block;

}

.box:last-child {
	display: inline-block;
}

.box:target ~ .box:last-child {
	display: none;
}

.box h3{
	font-size:2em;
}

.box div{
	text-align: left;
	padding:10px;
	line-height: 1.50;
}

.box::-webkit-scrollbar {
  width: 4px;
}

.box::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.8);
}

.box::-webkit-scrollbar-thumb {
  background: #000000;
}

.box::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

.box .stemme {
	margin: 5px 0px;
	border-top: 1px solid var(--graamoerk);
}

.box .stemme h3{
	text-align: left;
}

.box a {
		text-decoration: underline;
}

.box a:hover {
	cursor:pointer;
		text-decoration: none;
}


#indhold .video-bg {
	position: absolute;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	z-index: -1;
	filter: grayscale(1) brightness(0.55);
}



#indhold #logo {
	position: absolute;
	left:20px;
	bottom:20px;
	height:100px;
	width:calc(100% - 40px);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left bottom; 
	background-image:  url('../grafik/logo.png');
	z-index: 1;

	  -webkit-filter: drop-shadow(0 0 0.55rem var(--graamoerk))
                  drop-shadow(0 0 0.55rem  var(--graamoerk));
  filter: drop-shadow(0 0 0.55rem var(--graamoerk)) 
          drop-shadow(0 0 0.55rem var(--graamoerk));
}

#indhold #logo:hover {
	cursor:pointer;
}








/* Grundstil for alle <audio> */
audio {
  width: 100%;
  height: 40px;
  border-radius: 14px;
  background: rgba(240,240,240,.85);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  outline: none;
  border: 1px solid rgba(0,0,0,.06);
  margin: 2px 0px;
}

/* Hover / fokus */
audio:hover,
audio:focus {
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  border-color: rgba(0,0,0,.12);
}

/* Mørkt tema */
@media (prefers-color-scheme: dark) {
  audio {
    background: rgba(30,30,30,.6);
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
  }
}

/* WebKit (Chrome / Edge / Safari) tilpasning */
audio::-webkit-media-controls-enclosure {
  border-radius: 12px;
  background: transparent;
}

audio::-webkit-media-controls-panel {
  background: transparent;
  border-radius: 12px;
}

/* Play-knappen */
audio::-webkit-media-controls-play-button {
  filter: hue-rotate(0deg) saturate(100%) brightness(1);
  background-color: var(--orange, #ff8800);
  border-radius: 50%;
  transform: scale(1.05);
}

/* Resten af knapperne lader vi neutrale */
audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-volume-slider {
  transform: scale(.95);
}


/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
@media screen and (max-width: 800px) {

body {
	font-size:1.6rem;
}

	.box {
		width: calc(100% - 40px);
		left:20px;
	}

	#indhold .menu div{
		display: inline-block;
		padding:20px 20px;
	}

	#indhold {
		min-height: 100%;
}

.box{
	max-height: calc(100% - 170px);
	z-index: 2;
}


	#indhold #logo {


		background-position: center bottom; 
	}

}
/* Keep the full-height background on small screens. */
html { height: 100%; }
