@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
@import url("https://fonts.googleapis.com/css?family=Open+Sans");
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
}

body {
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
}

a {
  text-decoration: none;
}

h1 {
  font-weight: bold;
  color: #e1a490;
}

p {
  font-size: 25px;
}

body {
  background-image: url("./baggrund.jpg");
  width: 100%;
}

header {
  background-color: #e1a490;
  height: 100px;
  width: 100%;
  -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.25);
          box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.25);
}
header a h1 {
  display: inline-block;
  float: left;
  /*z-index: 10000;*/
  color: #fff6f4;
  margin: 0.2em 0 0 0.5em;
  font-size: 60px;
}
header div label {
  /*background-color: $color;
  width: 50px;
  height: 50px;
  display: block;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 20px;*/
  line-height: 60px;
  text-align: center;
  color: #fff6f4;
  font-size: 60px;
  float: right;
  margin: 0.3em 0.7em;
}
header div input {
  display: none;
}
header div input:checked + nav {
  left: 0px;
}

main {
  width: auto;
}

#home {
  background: url(./forsidemobilbig.jpg) no-repeat;
  padding-top: 75%;
  padding-bottom: 20%;
}
#home section {
  background-color: #ffdbd5;
  padding: 2% 0;
}
#home section article {
  margin: 0 2% 5% 5%;
}
#home section article p {
  font-size: 32px;
  margin-bottom: -3.5em;
  margin-top: 0;
  font-weight: lighter;
  color: #fff6f4;
}
#home section article h1 {
  font-size: 95px;
  margin-bottom: -0.4em;
}
#home section article h2 {
  font-size: 37px;
  color: #fff6f4;
}
#home section .button {
  text-align: center;
}
#home section .button a {
  background-color: #fff6f4;
  text-align: center;
  font-size: 25px;
  line-height: 40px;
  display: inline-block;
  padding: 3% 5%;
  border-radius: 5%;
  color: #b2b2b2;
  margin: 0 5%;
}

.overskiftundersider {
  font-size: 65px;
  text-align: center;
}

#aboutme {
  background-color: #fff6f4;
  margin: 1em 5%;
  padding: 1em 0;
}
#aboutme #portrait {
  width: 90%;
  max-width: 525px;
  display: block;
  margin: 2% auto;
}
#aboutme .all {
  margin: 10px 5%;
}
#aboutme .all article h2 {
  font-size: 30px;
  margin: 0 0 0.3em 0;
}
#aboutme .all article p {
  margin: 0 0 1.6em 0;
}
#aboutme .all article table {
  text-align: left;
  font-size: 23px;
  margin-bottom: 1.6em;
}
#aboutme .all article table .tabel {
  padding-left: 6em;
}

#projects {
  background-color: #fff6f4;
  margin: 1em 5%;
  padding: 1em 0;
  /*margin: 0 2em;*/
}
#projects section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  /*margin: 0 1em;*/
}
#projects section figure {
  text-align: center;
}
#projects section figure a {
  color: #b2b2b2;
}
#projects section figure a .macbooks {
  /*display: block;
  margin: 0 auto;*/
  /*width: 100%;*/
  max-width: 400px;
}
#projects section figure a .projectname {
  font-size: 40px;
}
#projects section figure a .projectwork {
  font-size: 25px;
}
#projects article {
  margin: 0 2.5em;
}

#contact {
  background-color: #fff6f4;
  margin: 1em 5%;
  padding: 1em 0;
}
#contact article form {
  width: 80%;
  margin: 1em auto;
}
#contact article form p {
  margin: 0 -10%;
}
#contact article form input {
  width: 100%;
  display: block;
  height: 4.5rem;
  margin: 1.5em auto;
  font-size: 30px;
}
#contact article form textarea {
  width: 100%;
  font-size: 30px;
  font-family: 'Open Sans', sans-serif;
}

.projectpage {
  background-color: #fff6f4;
  margin: 1em 5%;
  padding: 1em 0;
  padding-bottom: 10px;
}
.projectpage .upper {
  margin: 0 5%;
}
.projectpage .upper h1 {
  margin-bottom: 0;
}
.projectpage .upper h2 {
  text-align: center;
  color: #e1a490;
  margin-top: 0;
}
.projectpage img {
  position: absolute;
  width: 90%;
  height: 120%;
  max-width: 700px;
}
.projectpage .slideshowcontainerkick {
  position: relative;
  height: 300px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.projectpage .slideshowcontainerkick img:nth-child(6) {
  -webkit-animation: xfade 30s 0s infinite;
  animation: xfade 30s 0s infinite;
}
.projectpage .slideshowcontainerkick img:nth-child(5) {
  -webkit-animation: xfade 30s 5s infinite;
  animation: xfade 30s 5s infinite;
}
.projectpage .slideshowcontainerkick img:nth-child(4) {
  -webkit-animation: xfade 30s 10s infinite;
  animation: xfade 30s 10s infinite;
}
.projectpage .slideshowcontainerkick img:nth-child(3) {
  -webkit-animation: xfade 30s 15s infinite;
  animation: xfade 30s 15s infinite;
}
.projectpage .slideshowcontainerkick img:nth-child(2) {
  -webkit-animation: xfade 30s 20s infinite;
  animation: xfade 30s 20s infinite;
}
.projectpage .slideshowcontainerkick img:nth-child(1) {
  -webkit-animation: xfade 30s 25s infinite;
  animation: xfade 30s 25s infinite;
}
.projectpage .slideshowcontainerfresh {
  position: relative;
  height: 300px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.projectpage .slideshowcontainerfresh img:nth-child(4) {
  -webkit-animation: xfade 20s 0s infinite;
  animation: xfade 20s 0s infinite;
}
.projectpage .slideshowcontainerfresh img:nth-child(3) {
  -webkit-animation: xfade 20s 5s infinite;
  animation: xfade 20s 5s infinite;
}
.projectpage .slideshowcontainerfresh img:nth-child(2) {
  -webkit-animation: xfade 20s 10s infinite;
  animation: xfade 20s 10s infinite;
}
.projectpage .slideshowcontainerfresh img:nth-child(1) {
  -webkit-animation: xfade 20s 15s infinite;
  animation: xfade 20s 15s infinite;
}
.projectpage .slideshowcontaineri2d {
  position: relative;
  height: 300px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.projectpage .slideshowcontaineri2d img:nth-child(9) {
  -webkit-animation: xfade 45s 0s infinite;
  animation: xfade 45s 0s infinite;
}
.projectpage .slideshowcontaineri2d img:nth-child(8) {
  -webkit-animation: xfade 45s 5s infinite;
  animation: xfade 45s 5s infinite;
}
.projectpage .slideshowcontaineri2d img:nth-child(7) {
  -webkit-animation: xfade 45s 10s infinite;
  animation: xfade 45s 10s infinite;
}
.projectpage .slideshowcontaineri2d img:nth-child(6) {
  -webkit-animation: xfade 45s 15s infinite;
  animation: xfade 45s 15s infinite;
}
.projectpage .slideshowcontaineri2d img:nth-child(5) {
  -webkit-animation: xfade 45s 20s infinite;
  animation: xfade 45s 20s infinite;
}
.projectpage .slideshowcontaineri2d img:nth-child(4) {
  -webkit-animation: xfade 45s 25s infinite;
  animation: xfade 45s 25s infinite;
}
.projectpage .slideshowcontaineri2d img:nth-child(3) {
  -webkit-animation: xfade 45s 30s infinite;
  animation: xfade 45s 30s infinite;
}
.projectpage .slideshowcontaineri2d img:nth-child(2) {
  -webkit-animation: xfade 45s 35s infinite;
  animation: xfade 45s 35s infinite;
}
.projectpage .slideshowcontaineri2d img:nth-child(1) {
  -webkit-animation: xfade 45s 40s infinite;
  animation: xfade 45s 40s infinite;
}
@-webkit-keyframes xfade {
  0% {
    opacity: 1;
  }
  12.5% {
    opacity: 1;
  }
  16.5% {
    opacity: 0;
  }
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes xfade {
  0% {
    opacity: 1;
  }
  12.5% {
    opacity: 1;
  }
  16.5% {
    opacity: 0;
  }
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.projectpage .downer {
  margin: 100px 5% 30px 5%;
}
.projectpage .downer article {
  margin: 40px 0;
}
.projectpage .downer article h3 {
  margin: 0 0 0.3rem 0;
  font-size: 30px;
}
.projectpage .downer article p {
  margin: 0;
}
.projectpage .downer a {
  color: #fff6f4;
  background-color: #e1a490;
  padding: 1em;
  border-radius: 5px;
  text-align: center;
}

footer {
  height: 130px;
  background-color: #e1a490;
}
footer div {
  text-align: center;
}
footer div i.fa {
  /*background-color: $color;
  width: 50px;
  height: 50px;
  display: block;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 20px;*/
  line-height: 60px;
  text-align: center;
  color: #fff6f4;
  font-size: 60px;
  display: inline-block;
  padding: 2rem;
}

@media screen and (max-width: 1000px) {
  header div nav {
    width: 70%;
    height: 100%;
    position: fixed;
    left: -100%;
    top: 0;
    background-color: #b2b2b2;
    -webkit-box-shadow: 3px 0px 5px rgba(0, 0, 0, 0.25);
            box-shadow: 3px 0px 5px rgba(0, 0, 0, 0.25);
    -webkit-transition-duration: .3s;
            transition-duration: .3s;
    z-index: 100000;
    text-align: center;
    padding: 40% 0;
  }
  header div nav a {
    /*float:left;*/
    display: block;
    height: 30px;
    /*height:50px;*/
    color: #fff6f4;
    font-size: 40px;
    /*border-bottom:1px solid #757575;*/
    line-height: 50px;
    margin: 3em 0;
  }
}
@media screen and (min-width: 1080px) {
  header {
    height: 80px;
    padding-bottom: 7%;
  }
  header a h1 {
    /*font-size: 50px;*/
    margin-bottom: 0.5rem;
  }
  header div input, header div label {
    display: none;
  }
  header div nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    height: 100px;
    margin-right: 3.5em;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
  header div nav a {
    font-size: 18px;
    display: inline-block;
    padding: 0.5rem 1rem 1.5rem 1rem;
    color: #fff6f4;
  }
  header div nav a:hover {
    color: black;
    -webkit-transition-duration: .4s;
            transition-duration: .4s;
  }

  p {
    font-size: 14px;
  }

  .overskiftundersider {
    margin-bottom: 0.4em;
    padding-bottom: 15px;
    border-bottom: solid #e1a490;
  }

  #home {
    background: url(./forside3.png) no-repeat;
    padding: 24% 0;
    text-align: center;
  }
  #home section {
    float: right;
    width: 50%;
    padding: 1% 0;
  }
  #home section article {
    margin-bottom: 0;
  }
  #home section article p {
    margin-bottom: -3.3em;
    font-size: 24px;
  }
  #home section article h1 {
    font-size: 65px;
  }
  #home section article h2 {
    font-size: 24px;
    margin-top: 0.7em;
  }
  #home section .button {
    width: 100%;
  }
  #home section .button #projectbutton {
    /*margin-right: 30%;*/
  }
  #home section .button a {
    font-size: 18px;
    padding: 0.5% 1%;
    margin: 0 1rem 1rem 1rem;
    /*margin: 1rem;*/
  }

  #aboutme {
    height: 900px;
  }
  #aboutme #portrait {
    display: inline-block;
    float: left;
    margin-left: 5%;
  }
  #aboutme .venstre {
    float: left;
    width: 40%;
    clear: left;
  }
  #aboutme .hojre {
    float: right;
    width: 40%;
    clear: right;
    margin-top: -26.8rem;
  }
  #aboutme .hojre article table {
    font-size: 14px;
  }

  #projects article p {
    font-size: 16px;
    text-align: center;
  }
  #projects section figure {
    margin: 0;
  }
  #projects section figure a:hover {
    background-color: #e1a490;
    -webkit-transition-duration: .5s;
            transition-duration: .5s;
  }
  #projects section figure a:hover .projectname {
    color: #e1a490;
  }
  #projects section figure .macbooks {
    width: 80%;
  }

  .projectpage .downer article {
    margin: 25px 0;
  }
  .projectpage .downer a {
    display: inline-block;
    margin: 10px 0;
  }
  .projectpage .downer a:hover {
    background-color: #ffdbd5;
    -webkit-transition-duration: .3s;
            transition-duration: .3s;
  }

  #contact {
    height: 600px;
  }
  #contact article p {
    text-align: center;
  }
  #contact article form input {
    width: 48%;
    float: left;
    clear: left;
    font-size: 18px;
    margin: 1% 0;
    height: 35px;
  }
  #contact article form #ikkedeandre {
    float: right;
    clear: right;
  }
  #contact article form textarea {
    width: 48%;
    float: right;
    clear: right;
    margin-top: -150px;
    font-size: 18px;
  }
  #contact article form p {
    float: right;
    clear: right;
    text-align: left;
    width: 48%;
    margin: 0%;
    font-style: italic;
  }
  #contact article form #submit {
    background-color: #e1a490;
    border-radius: 5px;
    color: #fff6f4;
  }
  #contact article form #submit:hover {
    background-color: #ffdbd5;
    -webkit-transition-duration: .3s;
            transition-duration: .3s;
  }
}
