/* ALL pages*/
* {
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Times New Roman", serif;
}

main {
  flex: 1;
}
p {
  font-size: 1.1em;
}
:root {
  --bg: #f7e6ca;
  --text: #000;
}

.dark-mode {
  --bg: #143c42;
  --text: #fff;
}

body {
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
  color: #d6ad29;
}
a:hover {
  color: #ab8d29;
}
.hidden {
  display: none;
}
/* top-Header*/
.topheder {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logoheader {
  width: 70px;
  height: 70px;
  padding: 0px 0px 0px 10px;
}
.logoheader img {
  width: 100%;
}
.nameBox {
  align-content: center;
}
.name {
  font-size: 1.5em;
  text-align: center;
}
.role {
  text-align: center;
}

.headerKnap {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 5px 5px 5px 5px;
  margin: 10px;
}
.darkToLight {
  background-color: #640b06;
}
.lightToDark {
  background-color: #8fd1ff;
  display: none;
}
.headerKnap img {
  width: 100%;
}
/* Navigation*/
.navbar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.navbar a {
  font-size: 1.75em;
  font-weight: bold;
  padding-right: 10px;
  padding-top: 7px;
}

/* Div'erne er lukket */
.navmobimg1,
.navmobimg2,
.navmobimg3,
.navmobimg4 {
  width: 100%;
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

/* Når den åbnes */
.navmobimg1.show,
.navmobimg2.show,
.navmobimg3.show,
.navmobimg4.show {
  height: 120px;
  border-radius: 0px 0px 5px 5px;
}

.ommigmobilimg {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.navnormal {
  display: none;
}

.bignav {
  display: none;
}

/* main*/
.container {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}
.forsideimgbox {
  width: 55%;
}

.forsideimg {
  width: 100%;
}
.forsidetext {
  display: flex;
  margin-right: 5px;
  width: 45%;
  font-size: 1.1em;
  display: grid;
  grid-template-areas:
    "a a"
    "b c"
    "d e";
}
.forsidehilsen {
  grid-area: a;
}
.ommigknap {
  background-color: #640b06;
  grid-area: b;
  padding: 5px;
  margin-top: 5px;
  width: 100px;
  height: 50px;
  border: none;
  border-radius: 5px 5px 5px 5px;
}
.ommigknap a {
  font-weight: bold;
  font-size: 1.1em;
}
.dark-mode .ommigknap {
  background-color: #8fd1ff;
}
.projektknap {
  background-color: #640b06;
  grid-area: d;
  padding: 5px;
  margin-top: 5px;
  width: 100px;
  height: 50px;
  border: none;
  border-radius: 5px 5px 5px 5px;
}
.projektknap a {
  font-weight: bold;
  font-size: 1.1em;
}
.dark-mode .projektknap {
  background-color: #8fd1ff;
}

/* Om mig side plus div (firstimgbox og h1er) på projekt side*/
h1 {
  margin-bottom: 10px;
}
.omcontainer {
  margin: 15px 5px 0px 5px;
  overflow: hidden;
}

.firstimgbox {
  float: right;
  width: 45%;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.ommigimg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px 5px 5px 5px;
}

.belbinbox {
  width: 100%;
  margin-top: 10px;
}

.blebinstats {
  width: 100%;
}

.belbinLight {
  display: block;
}
.belbinDark {
  display: none;
}

.darkToLight {
  display: flex;
}
.lightToDark {
  display: none;
}
.dark-mode .belbinLight {
  display: none;
}
.dark-mode .belbinDark {
  display: block;
}

.dark-mode .darkToLight {
  display: none;
}
.dark-mode .lightToDark {
  display: flex;
}
/* om mig job med slides*/
.jobcontainer {
  margin: 50px 5px 0px 5px;
}
.erhvervimgbox {
  display: none;
}
.slideshow {
  margin-top: 15px;
  padding: 5px 0px 5px 0px;
  border-top: 5px solid;
  border-bottom: 5px solid;
  border-color: #640b06;
  display: flex;
  align-items: center;
}
.dark-mode .slideshow {
  border-color: #8fd1ff;
}

.sliderknap {
  font-size: 2em;
  margin: 5px;
  cursor: pointer;
}

.slide {
  display: none;
  flex-direction: column;
  align-items: center;
  min-height: 553px;
}
.slide.aktiv {
  display: flex;
}

.slidetekst {
  width: 100%;
  height: 305px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.slideimgbox {
  width: 100%;
  max-height: 248px;
  display: flex;
  justify-content: center;
}
.slideimg {
  width: 100%;
  border-radius: 0px 0px 5px 5px;
}

.programsildeshow {
  padding: 5px 0px 5px 0px;
  border-top: 5px solid;
  border-bottom: 5px solid;
  border-color: #640b06;
  display: flex;
}
.dark-mode .programsildeshow {
  border-color: #8fd1ff;
}
/* om mig skole */
.skolecontainer {
  margin: 50px 5px 0px 5px;
}
/* om mig Programmer */
.programcontainer {
  margin: 50px 5px 0px 5px;
}

.programsildeshow {
  overflow: hidden;
  width: 100%;
}

.programtrack {
  display: flex;
  width: max-content;
}

.prosilde {
  flex: 0 0 auto;
  width: 150px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.prosildeimgbox {
  width: 120px;
  padding: 5px 0px 5px 0px;
}

.prosildeimg {
  width: 100%;
}
/* om mig fritid */
.fritidcontainer {
  margin: 50px 5px 0px 5px;
  overflow: hidden;
}

.friimgbox {
  float: right;
  width: 45%;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.friimg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px 5px 5px 5px;
}
/*Projekt*/
.procontainer {
  margin: 15px 5px 0px 5px;
  overflow: hidden;
}

.firstimgbox {
  float: right;
  width: 45%;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.projektimg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px 5px 5px 5px;
}
.projektcontainer {
  margin: 50px 5px 0px 5px;
}
.projektlogo {
  display: flex;
}
.proimgbox {
  width: 38px;
  padding: 20px 10px 0px 0px;
}
.proimg {
  width: 100%;
}
/* kontakt*/
.koncontainer {
  margin: 15px 5px 0px 5px;
  overflow: hidden;
}
.kontakimg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px 5px 5px 5px;
}
.mailknap {
  background-color: #640b06;
  padding: 5px;
  margin-top: 5px;
  width: 150px;
  height: 60px;
  border: none;
  border-radius: 5px 5px 5px 5px;
}
.mailknap a {
  font-weight: bold;
  font-size: 1.3em;
}
.dark-mode .mailknap {
  background-color: #8fd1ff;
}
.mail {
  padding: 100px 0 20px 0px;
}
/* footer*/
footer {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

/* stor mobil */
@media screen and (min-width: 412px) {
  .navmobimg1.show,
  .navmobimg2.show,
  .navmobimg3.show,
  .navmobimg4.show {
    height: 130px;
  }
  .ommigmobilimg {
    height: 130px;
  }
}
/* lille tablet */
@media screen and (min-width: 768px) {
  .navmobimg1.show,
  .navmobimg2.show,
  .navmobimg3.show,
  .navmobimg4.show {
    height: 240px;
  }
  .ommigmobilimg {
    height: 240px;
  }
  .erhverv {
    display: flex;
  }
  .erhvervimgbox {
    display: flex;
    width: 30%;
    margin: 5px;
  }
  .erhvervimg {
    width: 100%;
  }
  .erhvervtekst {
    width: 60%;
    margin: auto;
  }
  .slide.aktiv {
    flex-direction: row;
  }
  .slidetekst {
    width: 45%;
    min-height: 420px;
    margin-left: 5px;
    margin-right: 10px;
  }
  .slideimgbox {
    width: 58%;
    max-height: 400px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .slideimg {
    border-radius: 0px 5px 5px 0px;
  }
}

/* stor tablet */
@media screen and (min-width: 833px) {
  .logoheader {
    width: 100px;
    height: 100px;
    margin-left: 10px;
  }
  .navmobimg1.show,
  .navmobimg2.show,
  .navmobimg3.show,
  .navmobimg4.show {
    height: 260px;
  }
  .ommigmobilimg {
    height: 260px;
  }
}

/* lille pc */
@media screen and (min-width: 1024px) {
  body {
    font-size: 1.2em;
  }
  .headerKnap {
    width: 65px;
    height: 65px;
  }
  .logoheader {
    margin: 10px 0px 0px 10px;
  }
  .navbar {
    display: none;
  }
  .navnormal {
    display: flex;
    justify-content: end;
  }
  .navnormal a {
    margin-right: 10px;
    margin-left: 5px;
    font-size: 1.5em;
    font-weight: bold;
  }
  .duerher {
    font-weight: bolder;
    text-decoration: underline;
  }
  .container {
    padding-top: 15px;
  }

  .bignav {
    display: flex;
  }

  .bignav a {
    display: flex;
    font-size: 6em;
    font-weight: bold;
    writing-mode: vertical-rl;
    margin-left: 30px;
  }
  .bignav {
    display: flex;
    align-items: center;
  }

  .navpcimg2,
  .navpcimg3,
  .navpcimg4 {
    width: 0;
    height: 572px;
    overflow: hidden;
    transition: width 0.4s ease;
    display: flex;
    justify-content: center;
    border-radius: 0px 5px 5px 0px;
  }

  .linkommigpc:hover + .navpcimg2,
  .linkprojektpc:hover + .navpcimg3,
  .linkkontaktpc:hover + .navpcimg4 {
    width: 256px;
  }

  .ommigpcimg {
    height: 100%;
  }

  .container:has(.linkommigpc:hover) .forsideimgbox,
  .container:has(.linkprojektpc:hover) .forsideimgbox,
  .container:has(.linkkontaktpc:hover) .forsideimgbox {
    width: 0;
  }
  .forsideimgbox {
    width: 25%;
    height: 572px;
    overflow: hidden;
    transition: width 0.4s ease;
    display: flex;
    justify-content: flex-end;
  }
  .forsideimg {
    height: 100%;
    width: auto;
    max-width: none;
  }
  .forsidetext {
    width: 25%;
    margin: 10px;
  }
  .projektknap {
    grid-area: c;
  }
  /* Om mig side*/
  .omcontainer {
    margin: 10px;
  }
  .firstimgbox {
    width: 40%;
  }
  .blebinstats {
    width: 55%;
  }
  .jobcontainer {
    margin-left: 10px;
    margin-right: 10px;
  }
  .skolecontainer {
    margin-left: 10px;
    margin-right: 10px;
  }
  .fritidcontainer {
    margin-left: 10px;
    margin-right: 10px;
  }

  .slidetekst h3 {
    padding-bottom: 10px;
  }

  .friimgbox {
    width: 40%;
  }
  /* projekt side*/
  .procontainer {
    margin: 10px;
  }
  .proimgbox {
    width: 50px;
  }
  .procontainer .programcontainer {
    overflow: hidden;
    margin: 20px 0 0 0;
  }
  .procontainer .programsildeshow {
    width: auto;
  }
  /* kontakt side*/

  .koncontainer {
    margin: 10px;
  }
}

/* Desktop */
@media screen and (min-width: 1280px) {
  .logoheader {
    width: 120px;
    height: 120px;
    padding: 0px 0px 0px 10px;
  }
  main {
    max-width: 1250px;
    margin: auto;
  }
  .slideimgbox {
    max-height: 488px;
  }
  .slidetekst {
    min-height: 490px;
  }
  .proimgbox {
    width: 60px;
  }
}

/* Stor desktop */
@media screen and (min-width: 1440px) {
  body {
    font-size: 1.5em;
  }
  .headerKnap {
    width: 70px;
    height: 70px;
  }
  .forsideimgbox {
    height: 565px;
  }
  main {
    max-width: 1400px;
    margin: auto;
  }
  .slideimgbox {
    max-height: 551px;
  }
  .slidetekst {
    min-height: 580px;
  }
  .prosilde {
    width: 200px;
    padding: 5px;
  }
  .prosildeimgbox {
    width: 170px;
  }
  .proimgbox {
    width: 70px;
  }
}

/* Ekstra bred skærm */
@media screen and (min-width: 1920px) {
  body {
    font-size: 2.2em;
    max-width: 1990px;
    margin: auto;
  }
  .logoheader {
    width: 200px;
    height: 200px;
    padding: 0px 0px 0px 10px;
  }
  .headerKnap {
    width: 100px;
    height: 100px;
  }
  .forsideimgbox {
    height: 790px;
  }
  .ommigknap,
  .projektknap {
    width: 150px;
    height: 75px;
  }
  .ommigknap a,
  .projektknap a {
    font-size: 1.7em;
  }
  main {
    max-width: 1900px;
    margin: auto;
  }
  .slideimgbox {
    max-width: 1000px;
    max-height: 750px;
  }
  .slidetekst {
    min-height: 780px;
  }
  .prosilde {
    width: 280px;
    padding: 5px;
  }
  .prosildeimgbox {
    width: 220px;
  }
  .proimgbox {
    width: 80px;
  }
}
