*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body{
  background-image: url(img/portfolio-mobil-baggrund.jpg);
  background-attachment: fixed;
}

/* BURGERMENU START */

body{
  overflow-x: hidden;
}

.nav-links{
  position: fixed;
  right: 0px;
  height: 100vh;
  top: 0px;
  background-color: #E7E4DB;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transform: translateX(100%);
  transition: transform 0.5s ease-in;
  display: flex;
  padding: 35% 0;
  z-index: 100;
}

.burger, #mobile-logo h1{
  z-index: 102;
}

.nav-links li{
  list-style: none;
  margin: 10% auto;
  opacity: 0;
}

#mobile-nav-tag{
  float: right;
  margin-right: 10%;
  margin-top: 2%;
}

.nav-links a{
  text-decoration: none;
  letter-spacing: 4px;
  font-size: 30px;
}

.burger div{
  width: 25px;
  height: 3px;
  background-color: #2E2E2E;
  margin: 5px;
  transition: all 0.3s ease;
  border-radius: 20%;
}

.burger{
  display: block;
  position: fixed;
}

#portrait-burgermenu{
  width: 100%;
}

.nav-active{
  transform: translateX(0%);
}

@keyframes navlinkfade {
  from{
    opacity: 0;
    transform: translateX(50px);
  }
  to{
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1{
  transform: rotate(-45deg) translate(-5px,6px);
}

.toggle .line2{
  opacity: 0;

}

.toggle .line3{
  transform: rotate(45deg) translate(-5px,-6px);
}

/* BURGERMENU SLUT */

header, main{
  width: 89%;
  margin: 0 auto;
  color: #2E2E2E;
}

header a, main a{
  color: #2E2E2E;
}

header{
  margin: 10% auto;
}

#com-logo{
  display: none;
}

h1{
  font-weight: 300;
  display: inline-block;
  text-align: left;
  position: fixed;
  font-size: 35px;
}

a{
  text-decoration: none;
}

header button{
  font-size: 20px;
  margin-top: 2%;
  right: 10%;
  position: fixed;
}

nav h1{
  position: relative;
  margin: 9% 0 0 7%;
}

#desktop-nav-tag{
  display: none;
}
/*
#close-nav{
  margin-top: 10%;
  font-size: 22px;
}

#mobile-nav{
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  margin: 0;
  z-index: 10;
  background-color: #E7E4DB;
  top: 0;
  left: 0;
}

#mobile-nav section{
  text-align: center;
}

#mobile-nav a{
  text-decoration: none;
  font-size: 29px;
  font-weight: bold;
}

#mobile-nav li{
  margin-top: 20%;
}

#mobile-nav img{
  width: 25%;
}
*/


#header-portrait{
  width: 15%;
  position: fixed;
  left: 42%;
  top: 3%;
}

#sidebar-com{
  display: none;
}

main{
  padding-top: 23%;
  text-align: center;
}

#projekt main h2{
  font-size: 50px;
  line-height: 90%;
}

#projekt h3{
  margin-top: 5%;
}

.breadcrum li{
  list-style-type: none;
  display: inline-block;
}

.projekt-indhold{
  background-color: white;
  margin-top: 5%;
  text-align: left;
  padding: 4% 5%;
  border-radius: 20px;
}

.projekt-indhold p{
  margin-top: 4%;
  font-size: 18px;
}

.formaal{
  margin-top: 15%;
  margin-bottom: 15%;
  padding-top: 5%;
  border-top: 1px solid black;
}

.formaal h3{
  font-size: 37px;
  text-align: center;
}

.formaal ul{
  margin-left: 6%;
}

.formaal ul li{
  font-size: 16px;
  margin-bottom: 2%;
}

/* --------- Slideshow starter ------------ */
.slidecontainer{
  max-width: 1000px;
  position: relative;
  margin: 1em auto 0 auto;
}

.fade{
  animation-name: fade;
  animation-duration: 1.5s;
}

.numbertekst{
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.slideImg{
  vertical-align: middle;
  width: 100%;
}

.billedetekst{
  color: black;
  font-size: 17px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background-color: #ffedd1;
}

.prev, .next{
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  margin-top: -22px;
  color: #7097b2;
  font-weight: bold;
  font-size: 160%;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.prev{
  left: 0;
}

.next{
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prikker{
  text-align: center;
  margin-top: 2%;
  margin-bottom: 5%;
}

.dot{
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  -webkit-transition: background-color 0.6s ease;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* --------- Slideshow slutter ------------ */

.website{
  text-align: center;
}

.eksternLink{
  background-color: #8ED2D5;
  border-radius: 10px;
  border: none;
  padding: 5%;
  font-weight: 600;
  margin: 3% auto;
}

.internlink{
  background-color: #FE7941;
  border-radius: 10px;
  border: none;
  padding: 5%;
  font-weight: 600;
  margin: 3% auto;
}

.flex-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 8%;
}

.flex-item{
  width: 48%;
  background-color: white;
  border-radius: 10px;
  padding: 7% 4%;
  margin-bottom: 5%;
}

.flex-item h4{
  font-size: 15px;
  margin-bottom: 10%;
}

.flex-item img{
  width: 100%;
  margin: 10% auto;
}

.flex-item .internlink{
  font-size: 15px;
  padding: 4%;
}

video{
  width: 100%;
}

footer{
  text-align: center;
  background-color: #4B4A4A;
  margin-top: 10%;
  padding: 5%;
}

footer a{
  color: white;
}

footer #SoMe a{
  font-size: 30px;
  margin: 1% 3%;
}

#grafisk .flex-container .flex-item button{
  display: none;
}

@media only screen and (max-height: 750px){
  .nav-links li{
    margin: 10% auto;
  }

  .nav-links{
    padding: 30% 0;
  }

  #portrait-burgermenu{
    display: none;
  }


}

@media only screen and (min-width: 720px){
  #grafisk .flex-container .flex-item button{
    display: block;
  }

  body{
    background-image: url(img/portfolio-desktop-baggrund.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    /*background-color: #464646;*/
  }

  .burger{
    right: 8%;
  }

  header{
    margin: 7% auto;
  }

  .nav-links{
    padding: 18% 0;
  }

  .navlinks li{
    margin-top: 9%;
  }

  h1{
    font-size: 45px;
  }

  header button{
    font-size: 24px;
    /*margin-top: 1%;*/
  }

/*
    #mobile-nav li{
      margin-top: 13%;
    }

    #close-nav {
      font-size: 24px;
    }*/

    main{
      padding-top: 20%;
    }

    .tekstboks{
      margin-top: 6%;
      padding: 4%;
    }

    .internlink{
      padding: 2%;
      font-size: 20px;
    }

    .tekstboks h3{
      font-size: 35px;
    }

    footer #SoMe{
      margin-top: 2%;
    }

    footer #SoMe a{
      font-size: 45px;
    }

    .breadcrum{
      margin-top: 2%;
    }

    .projekt-indhold p{
      text-align: center;
    }

    #projekt h3{
      margin-top: 3%;
      font-size: 33px;
    }

    .eksternLink{
      padding: 3%;
      font-size: 20px;
    }

    .formaal p{
      text-align: left;
    }

    .formaal{
      margin-bottom: 5%;
      margin-top: 10%;
    }

}

@media only screen and (min-width: 1000px){
  #header-portrait{
    position: absolute;
    width: 9%;
    left: 45%;
  }

  header, main{
    width: 82%;
  }

  header{
    margin: 5% auto;
  }

  nav h1{
    margin: 5% 0 0 7%;
  }

  .nav-links{
    padding: 14% 0;
  }

  .nav-links li {
    margin: 4% auto;
  }

  main{
    padding-top: 12%;
  }

  #projekt h3{
    margin-top: 1%;
  }

  .projekt-indhold{
    margin-top: 3%;
  }

  .projekt-indhold p{
    margin-top: 1%;
  }

  .projekt-indhold .formaal p{
    margin-top: 4%;
  }

  footer{
    padding: 2%;
  }
}

@media only screen and (min-width: 1025px){

  body{
    padding: 0 7%;
  }
  #com-logo{
    display: block;
  }

  #mobile-logo{
    display: none;
  }

  .burger{
    display: none;
  }

  header{
    width: 17%;
    float: left;
    position: fixed;
  }

  #desktop-nav-tag ul a{
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
  }

  #desktop-nav-tag ul a:after, .breadcrum a:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  /*position: absolute;*/
  background: #2E2E2E;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
  }

  #desktop-nav-tag ul a:hover:after, .breadcrum a:hover:after {
  width: 100%;
  left: 0;
}

  #desktop-nav-tag ul #desktop-nav-aktiv{
    font-weight: bolder;
  }

  .internlink:hover{
    cursor: pointer;
    background-color: #8ED2D5;
    transition: 0.3s ease 0s, left 0.3s ease 0s;
  }

  .eksternLink:hover{
    cursor: pointer;
    background-color: #FE7941;
    transition: 0.3s ease 0s, left 0.3s ease 0s;
  }

  #desktop-nav-tag{
    display: inline-block;
    margin-top: 55%;
  }

  #desktop-nav{
    list-style: none;
  }

  #desktop-nav li{
    font-size: 24px;
    margin-top: 50%;
  }

  #header-portrait{
    display: none;
  }

  main{
    width: 60%;
    margin-left: 20%;
    display: inline-block;
  }

  #sidebar-com{
    width: 17%;
    display: block;
    position: fixed;
    right: 5%;
    top: 6%;
  }

  #sidebar-com h2{
    font-size: 22px;
    margin: 2% 0;
  }

  #sidebar-com p{
    font-size: 18px;
  }

  .tekstboks{
    width: 65%;
  }

  #sidebar-com img{
    width: 90%;
  }

  #ikke-portfolio .tekstboks{
    width: 80%;
  }

  #portfolio main{
    width: 60%;
    margin-left: 20%;
  }

  footer #SoMe a, footer a{
    color: #2E2E2E;
    margin: 1%;
  }

  footer #SoMe a:hover{
    color: #FE7941;
    transition: 0.3s ease 0s, left 0.3s ease 0s;
  }

  footer{
    background-color: transparent;
  }
}
