/*Stylling for alle sider*/
* {
  padding: 0;
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
}
h1,
h2,
h3 {
  font-family: "Zilla Slab", serif;
  font-style: normal;
  font-weight: 700;
}
h4 {
  margin: auto;
  margin-left: 10px;
  padding: 5px;
}
body {
  background-color: #ffe3fc;
}
a {
  text-decoration: none;
}

/*styling for logo i header*/
.logo {
  display: flex;
  margin: 5px 10px;
}

.picture {
  width: 70px;
}

/*Links hover effekt + x-icon i nav menu*/
a:hover {
  color: #ffffff;
}

/*Navigation menu*/
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}

/*Footer*/
footer {
  bottom: 0;
  width: 100%;
  text-align: center;
  margin: 20px 0 14px 0;
}

/*Mobil version*/

/*Navigation menu*/
/*Open icon*/
.nav-open {
  font-size: 30px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 25px;
}

/*Navigation menu når den er åben*/
.nav-menu {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #bee7a5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 300ms ease;
}

/*Navigation menu animation*/
.nav-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/*Tekst i menu*/
.nav-box {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

/*Styling i tekst*/
.nav-menu a {
  padding: 8px;
  font-size: 36px;
  color: #000000;
  display: block;
  transition: 0.3s;
}

/*Navigation menu open icon hover effekt*/
.nav-open:hover {
  color: #92d269;
}

/*Position af x-icon*/
.nav-menu .closebtn {
  position: fixed;
  right: 15px;
  font-size: 60px;
}

/*Navigation menu pc version så den ikke ses i mindre skærme*/
.nav-menu-pc {
  display: none;
}

/*Navigation menu links hover effekt*/
.nav-menu a:hover {
  color: #ffffff;
}

/*Ens stylling for alle grønne bokse*/
.g {
  background-color: #bee7a5;
  border: 10px solid #ffffff;
  border-radius: 15px;
  margin: 0 auto;
  padding: 10px 20px;
  max-width: 400px;
}

/*Ens stylling for alle lilla bokse med border*/
.l {
  background-color: #cea5e7;
  border: 10px solid #ffffff;
  border-radius: 15px;
  margin: 0 auto;
  padding: 10px 20px;
  max-width: 400px;
}

/*Ens stylling for alle lilla bokse uden border*/
.ll {
  font-weight: 600;
  text-align: center;
  max-width: 400px;
  justify-content: center;
  margin: 0 auto;
}
.l-box {
  background-color: #cea5e7;
  border-radius: 15px;
  padding: 10px 15px;
}

/*Ens stylling for alle billeder*/
.photo {
  display: block;
  margin: 10px auto 0 auto;
  width: 50%;
  border: 10px solid #ffffff;
}

/*Ens stylling for alle billeder med transperant baggrund*/
.no-background {
  display: block;
  margin: 10px auto 0 auto;
  width: 50%;
}

.no-background-v2 {
  display: block;
  max-width: 400px;
  margin: 10px auto 10px auto;
  width: 100%;
}

/*Stylling for alle videoer*/
.vid-1 {
  display: block;
  margin: 0 auto 20px auto;
  border: 10px solid #ffffff;
}

/*Mellemrum mellem den første boks og header i hver side*/
.fl-1,
.o-1,
.d-1,
.f-1,
.a-1 {
  margin-top: 10%;
}

/*Mellemrum mellem overskrift (h1) og resten af teksten*/
.fl-1 h1,
.o-1 h1,
.d-1 h1,
.a-1 h1 {
  margin-bottom: 5px;
}

/*Mellemrum efter hver sektion*/
.s {
  margin-bottom: 130px;
}

/*Afstand mellem h2 og tekst i bokse*/
.i h2 {
  margin-bottom: 5px;
}

/*h2 i midten af boks*/
.t h2 {
  text-align: center;
}

/*Stylling for links i bokse*/
.f-1-2-g a,
.f-3-1 a,
.f-4-1 a,
.f-5-1 a,
.d-13-1 a {
  font-weight: 600;
  color: black;
}
.f-1-2-g a:hover,
.f-3-1 a:hover,
.f-4-1 a:hover,
.f-5-1 a:hover,
.d-13-1 a:hover {
  color: #ffffff;
}

/*Forsiden*/
.f-1 div {
  margin-bottom: 50px;
}

.fl-5 div {
  margin-bottom: 50px;
}

/*Unik stylling for boks med dokumentation*/
.f-1-2-g {
  background-color: #92d769;
  margin: 0 auto;
  padding: 10px 20px;
  max-width: 400px;
  border: 10px solid #ffffff;
  border-radius: 15px;
}
.f-1-2-g p {
  margin-bottom: 15px;
}
.f-1-2-g h3 {
  margin-bottom: 10px;
}

/*Afstand mellem f-2 boks og video*/
.f-2 {
  margin-top: 80px;
}

/*Stylling for program billeder*/
.programmer {
  display: flex;
  margin: 20px auto;
}
.program {
  display: flex;
  width: 70%;
  border-radius: 15px;
  margin: 10px auto;
}

/*Flow*/
/*Afstand mellem boks og video*/
.fl-2-1 {
  margin-bottom: 50px;
}

/*Afstand mellem boks og billede*/
.fl-4-3,
.fl-4-4,
.fl-4-5,
.fl-6-2 {
  margin-top: 20px;
}

/*Afstand mellem billeder*/
.fl-6-4 {
  margin-top: 40px;
}

/*Om mig*/
/*Afstand mellem lilla bokse*/
.o-1-3,
.o-1-4,
.o-1-5 {
  margin: 45px auto;
}

/*Afstand mellem lilla bokse med borders*/
.o-1-7 {
  margin: 35px auto 30px auto;
}

/*Afstand mellem billeder*/
.o-3-2,
.o-3-4,
.o-4-2,
.o-5-2 {
  margin-top: 20px;
}

/*Design procces*/
.d-2 div {
  margin-bottom: 50px;
}

.d-3-2,
.d-3-3,
.d-3-4,
.d-3-5 {
  margin: 45px auto;
}

.d-4-2 {
  margin-top: 15px;
}

.d-5 div,
.d-6 div,
.d-7 div {
  margin-bottom: 20px;
}

.d-13-1 {
  margin-top: 20px;
}

/*Pc version*/
@media screen and (min-width: 800px) {
  /*Fjerne mobil header*/
  .nav-menu {
    display: none;
  }
  .nav-open {
    display: none;
  }
  /*Reset styling fra mobil version*/
  .o-3-2,
  .o-3-4,
  .o-4-2,
  .o-5-2 {
    margin-top: 0;
  }

  .d-5 div {
    margin-bottom: 10px;
  }
  .g,
  .no-background,
  .photo,
  .programmer,
  .program {
    margin: 0;
    justify-content: normal;
  }
  .t,
  .t-pc,
  .f-1 div,
  .fl-6-2,
  .fl-6-4 {
    margin: 0 auto;
  }
  .no-background {
    width: 100%;
  }
  .photo {
    width: 98%;
  }

  /*Display pc header*/
  .nav-menu-pc {
    display: flex;
    justify-content: space-between;
    margin-right: 20px;
  }
  .nav-links-pc {
    display: flex;
    list-style: none;
    gap: 40px;
  }
  .logo {
    margin: 10px 0 0 10px;
  }
  .picture {
    width: 100px;
  }
  h4 {
    font-size: 20px;
  }
  li {
    display: inline;
  }
  a {
    color: black;
  }
  .nav-links-pc a {
    font-size: 20px;
  }
  a:hover {
    color: #ad69d7;
  }

  .no-background-v2 {
    max-width: 450px;
  }

  .s {
    margin-bottom: 150px;
  }

  .vid-1 {
    width: 420px;
    height: 236px;
  }

  /*Tykkere borders*/
  .g,
  .l {
    border: 15px solid #ffffff;
  }

  /*Stylling så flere div kan være ved siden af hinanden*/
  .div-couple-pc {
    display: flex;
    justify-content: space-evenly;
    margin: 50px auto;
  }

  /*Beskyttelse tekst i div beholder deres nuværende positition i div*/
  .text-div {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /*Maximum størrelse for billeder*/
  .photo-pc {
    max-width: 290px;
  }

  /*Stylling til alt der skal være i midten*/
  .middle {
    justify-content: center;
    margin: auto;
  }

  .t-pc {
    margin-bottom: 30px;
  }

  /*Forside*/
  /*Større font for første div*/
  .f-1-1 h1 {
    font-size: 50px;
  }
  .f-1-1 h2 {
    font-size: 40px;
  }

  /*Afstand mellem første div og video*/
  .vid-1 {
    margin-top: 30px;
  }

  /*Stylling så alle 4 billeder kan være side om side i midten*/
  .program {
    max-width: 210px;
    justify-content: center;
  }
  .programmer {
    justify-content: center;
  }

  /*Om mig*/
  .div-med-lilla-box {
    margin: auto 0;
  }

  /*Flow*/
  .fl-1 {
    margin-top: 10%;
    margin-bottom: 80px;
  }

  .fl-2 .vid-1 {
    margin: auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .fl-2 .div-couple-pc {
    margin: 0 auto;
  }

  .fl-3 {
    margin-top: 30px;
  }

  .fl-3-2,
  .fl-3-3 {
    max-width: 360px;
  }

  .fl-4-3,
  .fl-4-4 {
    max-width: 400px;
    margin-top: 0;
  }

  .div-billede-billede {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .div-billede-billede .fl-4-3,
  .div-billede-billede .fl-4-4 {
    max-width: 470px;
  }

  .fl-6-4 {
    max-width: 370px;
  }

  .fl-6-2 {
    margin: 0;
    max-width: 469px;
  }

  /*Design procces*/
  .d-3-7 img,
  .d-5-6 img,
  .d-5-12 img {
    max-width: 100%;
    margin: auto 20px;
  }

  .d-5-7 {
    margin-top: 30px;
  }
  .d-7-3 {
    margin: auto;
    margin-top: 20px;
  }
}

/*Width limit så hjemmesiden ikke strækker ud i uendelighed*/
@media screen and (min-width: 1200px) {
  body {
    max-width: 1200px;
    margin: auto;
  }
}
