html,
body {
  height: 100%;
}

header {
  background-image:
   /* linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), */ 
    url("./ditheredbg.png");
  background-position: top;
  background-size: cover;
  margin-top: 0;
}


body {
  line-height: 1.5rem;
  /* height: 100vh; */
  display: flex;
  flex-direction: column;
}

main {
  flex: auto;
}



body:has(#forside) {
  background-image:
    /* linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), */
    url("./ditheredbg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  margin-top: 0;

  & header {
    background-color: none;
    background-image: none;
    margin-top: 0;
  }

  & footer {
    display: none;
  }
}

.frontPageHero {
  height: calc(80vh);
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 25px;
  margin-top: 0;
}

.frontPageFooter {
  height: calc(10vh);
  position: absolute;
  bottom: 1em;
  display: flex;
  align-items: end;
  justify-content: end;
  align-content: end;
  width: 120px;
  margin-right: auto;
  margin-top: 0;
  gap: 1.5vw;
}

.frontPageFooter>* {
  flex: 1 1 auto;
}

.frontPageTitel {
  flex: 1 1 50%;
  min-width: 150px;
  max-width: 45vw;
  margin-top: 0;
}

.frontPageTitel img {
  margin: 0 auto;
}

.frontPageBeskrivelse {
  flex: 1 2 50%;
  margin-top: 0;
  max-width: calc(45vw);
  min-width: 150px;
}



h1.heroTitel {
  font-weight: 900;
  color: white;
  margin: 0;
  font-size: calc(16px + 3.5vw);
}

h2.heroTitel {
  font-weight: 600;
  color: white;
  margin: 0;
  font-size: calc(8px + 1.4vw);
}

@media (max-width: 700px) {
  .frontPageTitel {
    max-width: 75vw;
  }
  .frontPageBeskrivelse {
   max-width: 75vw;
  }
  h2.heroTitel {
    font-size: calc(16px + 1.4vw);
  }
}

.frontpagewidth {
  max-width: 72ch;
  margin: 0 auto;
}

.navigationslinje {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  height: 5rem;
  padding-right: 1rem;
}

img.logo {
  padding-top: 8px;
  padding-left: 8px;
  padding-bottom: 8px;
  width: 60px;
  min-width: 60px;
  box-sizing: content-box;
}

*/ .navigationslinje a:hover {
  color: lightblue;
}

nav p {
  display: flex;
  gap: 2px 20px;
  margin-right: 20px;
  flex-wrap: wrap;
  align-items: start;
  margin: 0;
}

nav p a {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: whitesmoke;
  text-decoration: none;
  text-wrap: nowrap;
}

.medlemsKnap {
  text-wrap: nowrap;
}

html {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: none;
}

body {
  font-family: Arial, sans-serif;
  background: white;
  color: black;
  line-height: 1.5rem;
  margin: 0;
}

/* Juster Margin ved at ændr. værdien i max-width neden under */
main {
  max-width: 72ch;
  /* <-- Denne */
  margin: 0 auto;
  padding: 0 1rem;
}

main:has(#forside) {
  max-width: 200ch;
  margin: 0 auto;
  padding: 0 1rem;
}


h1,
h2,
h3 {
  font-family: Arial, sans-serif;
  color: #17301c;
  margin-top: 1rem;
  line-height: 1.1;
}

h1 {
  margin-top: 4rem;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

h2 {
  margin-top: 3rem;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #17301c;
}

.fritekst h1,
.fritekst h2,
.fritekst h3 {
  color: white
}

ol,
blockquote {
  padding-left: 1.7rem;
  padding-right: 2rem;
  margin-left: 0;
  margin-right: 0;
  padding-right: 2rem;
}

blockquote {
  border-radius: 25px;
  background-color: #17301c;
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: white;
  text-wrap: wrap;
}

blockquote a,
blockquote h1,
blockquote h2,
blockquote h3 {
  color: white;
  margin-top: 0;
}

pre {
  white-space: pre-wrap;
  /*overflow-x: auto;*/
  padding: 1rem;
  line-height: 1.2;
  border: 1px solid lightgray;
  border-radius: 4px;
  font-family: monospace;
}

ol li {
  margin: 0.4rem 0;
}

ol li::marker {
  color: lightgray;
}

p {
  margin: 0.75rem 0;
}

main img,
main video,
main audio {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
}

main video,
main audio {
  width: 100%;
}

main video {
  border: 1px solid lightgray;
  aspect-ratio: 16 / 9;
}

header .back-link {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)),
    url("./ditheredbg.png");
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  gap: 0.5rem;
  line-height: 1;
}

footer {
  padding: 1.4rem 3.5rem 1rem 3.5rem;
  margin: 0 0 0 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)),
    url("./ditheredbg.png");
  background-color: #556B2F;
}

footer div.footerFlex {
  display: flex;
  flex-wrap: wrap;
  gap: 5vw;

}

footer div.footerLogo {
  flex: 0 1 300px;
  align-content: center;
  ;
}

footer div.fritekst {
  flex: 0 1 300px;
  text-align: right;
  font-size: 1rem;
  line-height: 1.4rem;
  color: white;
  text-wrap: wrap;
  margin-left: auto;
  max-width: 300px;

}

footer a {
  text-decoration: none;
  color: lightgrey;
}

#socialeMedier {
  display: flex;
  justify-content: center;
  width: 120px;
  margin-right: auto;
  margin-top: 20px;
  gap: 1.5vw;
}

#socialeMedier>* {
  flex: 1 1 auto;
}

footer .lichen-plug {
  display: block;
  margin: 1rem auto;
  color: inherit;
  text-decoration: none;
}

table {
  border: solid 1px gray;
  border-collapse: collapse;
  border-spacing: 0;
  font: normal 13px Arial, sans-serif;
}

thead th {
  background-color: orchid;
  border: solid 1px black;
  color: white;
  padding: 10px;
  text-align: left;
}

tbody td {
  border: solid 1px black;
  color: #333;
  padding: 10px;
  text-shadow: 1px 1px 1px #fff;
}

/* FORM CSS - KEILA FIX */
form {
 border: 1px solid black;
  padding: 1rem;
  gap: 1rem;
}

form h1 {
  margin-top: 1rem;
}

.flex {
  display: flex;
}

.flex-col {
 flex-direction: column;
}

.justify-start {
  justify-content: flex-start;
}

form button {
  height: 4rem;
  width: 10rem;
  font-size: 2rem;
  font-weight: 600;
}

form input {
  height: 2rem;
} 




