:root {
  --white: #f5f5f5;
  --black: #111;
  --dark-grey: #333;
  --light-grey: #ccc;
  --padding: 1rem;
  --navbar-height: 51px;
  --footer-height: 61px;
}

html, body {
  background-color: var(--white);
  color: var(--black);
  font-family: ui-serif, Georgia, 'Times New Roman', Times, serif;
  margin: 0;
  padding: 0;
  height: 100% 
}

body {
  display: grid;
  grid-template-rows: var(--navbar-height) auto;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--padding) var(--padding) 0 var(--padding);
  margin: 5px;
  border: 1px solid var(--light-grey);
  overflow-y: auto;
}

.logo {
  margin-top: var(--padding) 0;
}
.logo img {
  height: 300px;
}

a {
  color: var(--black);
  font-style: italic;
}
a:hover {
  text-decoration: underline!important;
  text-underline-offset: 2px;
}

.a-special {
  color: var(--black);
  font-style: normal;
  text-decoration:none;
  font-style: normal
}
 
.a-special:hover {
  text-decoration: underline!important;
  font-weight: bolder;
} 

.a-noul {
    text-decoration:none;
    font-style: normal;
}
.a-noul:hover {
    text-decoration: none !important;
    text-decoration-color: white;
    font-size: 1.2em;
    background-color: gray;
}

.btn {
    font-family: monospace;
    font-style: normal;      
    font-size: 0.9em;
    font-weight:bold;
    background-color: #f2f2f2;
    color: black;    
    text-decoration: none;   
    padding: 1px; 
    border-radius: 2px; /* Rounded corners */
    border-width: 3px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #e6e6e6;
    position: relative;
}     

.btn:hover {
    text-decoration:underline ;
    text-decoration-color: black;
    background-color: black;
    font-size: 1em;
    padding: 4px;
 color: white;
    
    
}

h1 {
  font-size: 1.3rem;
  margin-bottom: calc(2*var(--padding));
}

h2 {
  font-size: 1.2rem;
  font-family: Verdana, sans-serif;
  margin-bottom: calc(1*var(--padding));
}

h3 {
  font-family: monospace;  
  font-size: 1.4em;
  margin-top: 1em;  
  margin-bottom: calc(1*var(--padding));
}

h4 {
  font-size: 1.1rem;
  margin-bottom: calc(1*var(--padding));
}

h5 {
  font-family: monospace;  
  font-size: 1.3em;
  margin-top: 1.4em;  
  margin-bottom: calc(1*var(--padding));
}

h6 {
  font-family: monospace;  
  font-size: 1.2em;
  margin-top: 0.5em;  
  margin-bottom: 0.4em;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  margin-top: var(--padding);
  padding-bottom: 10px;
  text-align: center;
}

nav a.active {
  text-decoration: underline!important;
}
nav.top {
  display: flex;
  justify-content: space-between;
  padding: var(--padding);
  background-color: var(--black);
  color: var(--white);
}
nav.top a {
  color: var(--white);
  font-style: italic;
  text-decoration: none;
}
nav.side {
  display: none;
  position: absolute;
  right: 0;
  top: calc(19px + 2*var(--padding));
  width: 200px;
  list-style-type: none;
  background-color: var(--black);
  padding: var(--padding);
  z-index: 2;
}
nav.vertical {
  display: flex;
  flex-direction: column;
  gap: 5px;

  margin-top: calc(2*var(--padding));
}
nav.vertical a {
  text-decoration: none;
  font-style: italic;
  color: var(--black);
}
nav .wide-screen {
  display: none;
}
nav label.menu {
  line-height: 19px;
}
nav label.menu span {
  display: inline-block;
  text-align: center;
  width: 14px;
}

#menu-checkbox {
  display: none;
}
.clickable {
  cursor: pointer;
  user-select: none;
}
#menu-checkbox ~ .is-open {
  display: none;
}
#menu-checkbox ~ .is-closed {
  display: block;
}
#menu-checkbox:checked ~ .is-open {
  display: block;
}
#menu-checkbox:checked ~ .is-closed {
  display: none;
}
#menu-checkbox:checked ~ nav.side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section.heading {
  display: flex;
  align-items: center;
  flex-direction: column;
}

article.logo {
  display: flex;
}
article.logo nav {
  display: flex;
  flex-direction: column;
}

.hide-mobile {
  display: none;
}

.video-list {
  padding: 2rem 0 0;
  display: grid;
  grid-template-columns: calc(50% - 1rem) calc(50% - 1rem);
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
}
.video-list li {
  list-style-type: none;
}
.video-list img {
  width: 100%;
  filter: grayscale();
}
.video-list figcaption {
  padding-top: 5px;
}

.tall-paragraph {
    line-height: 1.3; /* Adjusts the space between lines */
    padding: 5px;  /* Adds space inside the paragraph */
}

.mono {
    font-family: monospace !important;
    font-size: 1.2em;"
}

.inline {
    display: inline;
}

.collapsible {
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.full-screen {
    position: absolute;#f5f5f5
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.NORM  { font-family : monospace, sans-serif; color: red; margin:0px; padding: 0px; color: black; text-decoration: none; font-size: 0.9em; font-style: normal; }
.NORM a:link { text-decoration: none; margin : 0px; padding : 0px; color: purple; }
.NORM a:visited { color: green; }
.NORM a:hover { text-decoration: underline; background-color: yellow; margin: 0px; padding: 0px; }
.DIR { font-family : monospace, sans-serif; color: black; font-weight:bold; font-size: 1em; font-style: normal; text-decoration: none; }

.DIR-rub { font-family: monospace; color: black; margin:0px; padding: 0px; color: black; text-decoration: none; font-size: 1.6em; font-style: normal; font-weight:900;margin-top: 0px;}
.NORM-small { font-family: monospace; color: black; margin:0px; padding: 0px; color: black; text-decoration: none; font-size: 1em; font-style: normal; }
.DIR-small { font-family: monospace; color: black; font-size: 1em; font-style: normal; text-decoration: none; }

.container {
  display: flex;
  align-items: flex-start; /* Aligns content to the top */
  height: 50px; /* Set a height for the container */
}

.p-special {
display:inline-block;
margin: 1px 0px 1px 0px;
border:1px solid white;
background-color: black;
color: white;
font-family: monospace;
font-size: 1.1em;
padding-top: 1px;
vertical-align: middle;
line-height: 300%;"
}

.p-line {
line-height: 1.5;
}

.ljud-special {
width: 100%; 
height: 100%;
}

.ljud-small {
width: 100%; 
height: 2%;
}

table {
	border: 1px solid lightgrey;
	font-family: monospace;
	font-size: 1.1em;
	text-align: left;
	border-spacing: 5px;
   margin-top: 0px;
   padding-top: 0px;
   text-align: top;
   border-collapse: collapse;		
}
.spectabble {
	border: 1px solid #e6e6e6;
	margin-left: 0px;
 }
.spectd {
    border: 1px solid #e6e6e6;
    margin-left: 0px;
}

th {
background: black;
padding: 10px;
color: white;
font-size: 1.2em;
font-weight: bolder;
}
td {
padding: 5px;
font-size: 1.2em; 
}
th, td {  
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 20px;
  border: 1px solid lightgrey;
}

table th a {
  text-decoration: none;
  font-style:normal;  
  color: inherit;
}

td:hover { 
background-color: lightgray;
font-weight: bold;
}

th:hover {
    background-color: #666666;
}

.responsive-table {
  width: 100%;
  overflow-x: auto;
}

thead tr {
  position: sticky;
  top: 0;
}

.tdsmall {
width:0.1%;
white-space: nowrap;
} 

ul {
    padding-left: 4px;
    margin-left: 15px;
}

li {
    padding-left: 2px;
    margin: 15px 0;
    line-height: 1.3em !important;
}

.monostil {
    font-family: monospace;
    font-size: 1.2em;"
}

.hoverlink {
    text-decoration: none;
}
.hoverlink:hover {
    color: black;
    text-decoration: underline; 
    font-size: 1.1em;
    font-weight: bolder;
    font-family: monospace;
}

.image-container {
    position: relative;
    display: inline-block;
}

.hover-image {
    max-width: 100%;
}

.hover-text {
    display: none; /* Hide text by default */
    position: absolute;
    position: absolute;
    bottom: 70px; /* Adjust position as needed */
    left: 70px; /* Adjust position as needed */
    color: white; /* Text color */
    font-weight: bolder;
    font-size: 1.1em;
    font-style: normal;
    font-family: monospace;
    
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    padding: 20px; /* Padding around text */
}

.image-container:hover .hover-text {
    display: block; /* Show text on hover */
}


@view-transition {
  navigation: auto;
}

@media screen and (min-width: 100px) {
  .responsive-table {
    display: block;
  }
  th {
    background: black;
    padding: 10px;
    color: white;
    font-size: 0.8em;
    font-weight: bolder;
  }
  td {
    padding: 5px;
    font-size: 0.8em; 
  }
  th, td {  
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 20px;
    border: 1px solid lightgrey;
    width: 5%;
  }
  li {
    padding-left: 2px;
    margin: 8px 0px 4px 0px;
    line-height: 1.3em !important;
  }
  .monostil {
    font-family: monospace;
    font-size: 0.7em;"
  }
  .p-special{
    display:inline-block;
    margin: 1px 0px 1px 0px;
    border:1px solid white;
    background-color: green;
    color: white;
    font-family: monospace;
    font-size: 1.1em;
    padding-top: 1px;
    vertical-align: middle;
    line-height: 100%;
    text-align: left;
    }
    .verdis {
    font-family: Verdana, sans-serif;
    font-size: 0.9em;
    line-height: 1.3;
  } 
}

@media screen and (min-width: 180px) {
  h1 {
    font-size: 0.9rem;
  }
  footer {
    font-size: 0.6rem;    
    margin-top: 1px;
  }
  .mono {
    font-family: monospace !important;
    font-size: 0.9em;"
  }
    .responsive-table {
    display: block;
  }
  th {
    background: black;
    padding: 10px;
    color: white;
    font-size: 0.8em;
    font-weight: bolder;
  }
  td {
    padding: 5px;
    font-size: 0.8em; 
  }
  th, td {  
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 20px;
    border: 1px solid lightgrey;
    width: 5%;
  }
  .monostil {
    font-family: monospace;
    font-size: 0.8em;"
  }
  .verdis {
    font-family: Verdana, sans-serif;
    font-size: 0.9em;
    line-height: 1.3;
  } 
}

@media screen and (min-width: 300px) {
  .responsive-table {
    display: block;
  }
  th {
    background: black;
    padding: 10px;
    color: white;
    font-size: 0.8em;
    font-weight: bolder;
  }
  td {
    padding: 5px;
    font-size: 0.8em; 
  }
  th, td {  
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 20px;
    border: 1px solid lightgrey;
    width: 5%;
  }
  li {
    padding-left: 2px;
    margin: 8px 0px 4px 0px;
    font-size: 0.9em;
    line-height: 1.3em !important;
  }
  .monostil {
    font-family: monospace;
    font-size: 0.9em;"
   }
    .p-special{
    display:inline-block;
    margin: 1px 0px 1px 0px;
    border:1px solid white;
    background-color: green;
    color: white;
    font-family: monospace;
    font-size: 1.1em;
    padding-top: 1px;
    vertical-align: middle;
    line-height: 50%;"
    }
  .verdis {
    font-family: Verdana, sans-serif;
    font-size: 0.9em;
    line-height: 1.2;
  } 
}

@media screen and (min-width: 320px) {
body {
    max-width: auto;
    height: fit-content (100%) auto;
    margin: 0 auto;
    margin: 0 auto;
    display: block;
    }

  h1 {
    font-size: 1rem;
  }
  footer {
    font-size: 0.7rem;
    margin-top: 1px;
  }
  .mono {
    font-family: monospace !important;
    font-size: 1em;"
  }
   .responsive-table {
    display: block;
  }
  th {
    background: black;
    padding: 10px;
    color: white;
    font-size: 0.8em;
    font-weight: bolder;
  }
  td {
    padding: 5px;
    font-size: 0.8em; 
  }
  th, td {  
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 20px;
    border: 1px solid lightgrey;
    width: 5%;
  }
  li {
    padding-left: 2px;
    margin: 8px 0px 4px 0px;
    font-size: 0.95em;
    line-height: 1.3em !important;
  }
  .monostil {
    font-family: monospace;
    font-size: 1em;"
  }
  .verdis {
    font-family: Verdana, sans-serif;
    font-size: 0.9em;
    line-height: 1.3;
  } 
}

@media screen and (min-width: 400px) {
  .responsive-table {
    display: block;
  }
  th {
    background: black;
    padding: 10px;
    color: white;
    font-size: 0.9em;
    font-weight: bolder;
  }
  td {
    padding: 5px;
    font-size: 0.9em; 
  }
  th, td {  
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 20px;
    border: 1px solid lightgrey;
    width: 10%;
  }
  li {
    padding-left: 2px;
    line-height: 1.3em !important;
    margin: 6px 0px 4px 0px;
  }
  .monostil {
    font-family: monospace;
    font-size: 1.1em;"
  }
  .verdis {
    font-family: Verdana, sans-serif;
    font-size: 0.9em;
    line-height: 1.3em;
  }
}

@media screen and (min-width: 420px) {
  h1 {
    font-size: 1.2rem;
  }
  footer {
    font-size: 0.8rem;    
    margin-top: 1px;
  }
  .mono {
    font-family: monospace !important;
    font-size: 1.2em;
  } 
  li {
    padding-left: 2px;
    line-height: 1.3em !important;
    margin: 6px 0px 4px 0px;
  }
  .verdis {
    font-family: Verdana, sans-serif;
    font-size: 0.9em;
    line-height: 1.4;
  } 
}

@media screen and (min-width: 480px) {
  .responsive-table {
    display: block;
  }

  th {
    background: black;
    padding: 10px;
    color: white;
    font-size: 0.9em;
    font-weight: bolder;
  }
  td {
    padding: 5px;
    font-size: 1em; 
  }
  th, td {  
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 20px;
    border: 1px solid lightgrey;
    width: 10%;
  }
  
  li {
    padding-left: 2px;
    margin: 5px 0px 4px 0px;
    font-size: 0.95em;
    line-height: 1.3em !important;
  }
  .monostil {
    font-family: monospace;
    font-size: 1.2em;"
  }
  .p-special{
    display:inline-block;
    margin: 1px 0px 1px 0px;
    border:1px solid white;
    background-color: red;
    color: white;
    font-family: monospace;
    font-size: 1.1em;
    padding-top: 1px;
    vertical-align: middle;
    line-height: 300%;"
    }
    .verdis {
    font-family: Verdana, sans-serif;
    font-size: 0.95em;
    line-height: 1.3;
  } 
}

@media screen and (min-width: 720px) {
  .responsive-table {
    display: block;
  }
  th {
    background: black;
    padding: 10px;
    color: white;
    font-size: 0.9em;
    font-weight: bolder;
  }
  td {
    padding: 5px;
    font-size: 1.1em; 
  }
  th, td {  
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 20px;
    border: 1px solid lightgrey;
    width: 10%;
  }
  li {
    padding-left: 2px;
    margin: 6px 0px 4px 0px;
    font-size: 1em;
    line-height: 1.3em !important;
  }
  .monostil {
    font-family: monospace;
    font-size: 1.2em;"
  }
  .verdis {
    font-family: Verdana, sans-serif;
    font-size: 1em;
    line-height: 1.3;
  } 
}

@media screen and (min-width: 768px) {
  body {
    max-width: 796px;
    height: fit-content (100%) auto;
    margin: 0 auto;
    margin: 0 auto;
    display: block;
    }
 
  main {
    padding: 2rem calc(4*var(--padding)) 0;
    min-height: 345px;
    max-height: calc(100vh - var(--navbar-height) - 44px);
  }
  footer {
    position: relative;
    right: unset;
    left: unset;
    bottom: unset;
    margin-top: calc(2*var(--padding));
    font-size: 1rem;    
    margin-top: 1px;
  }
  h1 {
    font-size: 1.6rem;
  }
  .heading article {
    max-width: 420px;
  }
  section.heading {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
  nav .wide-screen {
    display: flex;
    gap: 20px;
  }

  .logo img {
    height: 300px;
  }

  .hide-mobile {
    display: block!important;
  }
  .hide-wide-screen {
    display: none!important;
  }
    .responsive-table {
    display: block;
  }
  th {
    background: black;
    padding: 5px;
    color: white;
    font-size: 1em;
    font-weight: bolder;
  }
  td {
    padding: 5px;
    font-size: 1em; 
  }
  th, td {  
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 20px;
    border: 1px solid lightgrey;
    width: 10%;
  }
  li {
    padding-left: 2px;
    margin: 6px 0px 4px 0px;
    line-height: 1.3em !important;
  }
 .verdis {
    font-family: Verdana, sans-serif;
    font-size: 1em;
    line-height: 1.3;
  } 
}

@media screen and (min-width: 797px) {
  main {
    margin: 5px 0 0;
  }
  .verdis {
    font-family: Verdana, sans-serif;
    font-size: 1em;
    line-height: 1.4;
  } 
}

#vitbakgrund {
  background-color: red !important;  
}
.custom-lineheight {
    line-height: 0.7em; /* Adjust this value as needed */
    padding-left: 10px;
    margin-left: 10px;
}

.monopre {
    font-family: "Source Code Pro", Courier, monospace;
    font-size: 1.2em;"
}

details summary {
  font-family: monospace;
  font-size: 1.1em;  
  letter-spacing: 0.2px;
  font-weight: bolder; 
  
  border: 1px solid #e6e6e6;
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background-color: var(--white);
  padding: 2px 1px 1px 5px;
}

details:hover summary {
  background-color: #d0d0d0; /* Change color on hover */
}

.td-sum {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-size: 0.95em; 
  letter-spacing: 0.3px;
  font-weight: bolder; 
  background-color: #f2f2f2;
  padding: 2px 2px 1px 3px; 
  border: 1px solid #f2f2f2;
  box-shadow: 3px 1px 1px 1px #f2f2f2;
  cursor: pointer; 
}
.td-sum:hover {
  background-color: #d0d0d0; /* Change color on hover */
  cursor: pointer;
}

.half-line-height {
  line-height: 0.7em; /* Adjusts the line height */
}

.third-line-height {
  line-height: 0.3em; /* Adjusts the line height */
}

#header1 {
    height: 1%;
}

#header2 {
    height: 10%;
}