html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  display: block;
  margin: auto;
  background-color: white;
  font-family: "neuzeit-grotesk", Helvetica, sans-serif;
}

header {
  width: 100%;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  position: fixed;
  justify-content: space-between;
  background-color: white;
  z-index: 10;
  border-bottom: solid 1px;
}

a {
  cursor: crosshair;
  text-decoration: none;
}

header h1 {
  font-size: 16px;
  font-weight: 700;
  padding-right: 50px;
  letter-spacing: 0.5px
}

header h1 a {
  text-decoration: none;
  color: black;
}

nav a {
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
  padding-left: 10px;
  padding-right: 10px;
  color: black;
}

nav a:hover {
  background-color: beige;
  transition: .4s;
}

section.main {
  padding-left: 20px;
  padding-right: 20px;
  top: 40px;
  position: relative;
  width: 100%;
}

section.introduction {
  display: flex;
  width: 100%;
  height: auto;
  position: sticky;
  top: 40px;
  z-index: 9;
}

.introduction p {
  font-family: "linotype-sabon", serif;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  color: black;
  text-decoration: none;
}

.introduction a {
  color: lightgrey;
  cursor: crosshair;
}

.introduction a:hover {
  text-decoration: underline;
}

/* added for intro decoration effect */
.introduction a.decoration{
 color : black;
}
/* end */

section.gallery {
  position: relative;
  width: 100%;
  margin: auto;
}

.container {
  display: block;
}

.container video {
  width: 100%;
  height: auto;
}

.container img {
  max-width: 100%;
  height: auto;
}

.container h6 {
  font-family: "linotype-sabon", serif;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  text-align: left;
  margin: 0;
  color: black;
  padding-bottom: 150px;
}

.container a:hover {
  text-decoration: underline;
  color: black;
}

/* added for fade in effect */
.pj {
  opacity: 0;
  transition: 0.5s;
}

.pj.visible {
  opacity: 1;
}
/* end */

.project1 {
  width: 70%;
  float: left;
  clear: both;
}

.project2 {
  width: 40%;
  float: right;
  clear: both;
}

.project3 {
  width: 85%;
  clear: both;
  margin: auto;
}

.project4 {
  width: 60%;
  float: left;
  clear: both;
}

.project5 {
  width: 50%;
  clear: both;
  margin: auto;
}

.project6 {
  width: 60%;
  float: right;
  clear: both;
}

.project7 {
  width: 30%;
  clear: both;
  margin: auto;
}

.project8 {
  width: 90%;
  clear: both;
  margin: auto;
}

.project9 {
  width: 40%;
  float: left;
  clear: both;
}

.project10 {
  width: 60%;
  clear: both;
  margin: auto;
}

.project11 {
  width: 40%;
  float: right;
  clear: both;
}

.project12 {
  width: 60%;
  float: left;
  clear: both;

}

.project13 {
  width: 30%;
  clear: both;
  margin: auto;
}

/* footer element */
footer {
  position: relative;
  height: 40px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: row;
  border-top: solid 1px;
}

footer p {
  font-size: 12px;
  font-weight: 300;
  color: grey;
}

/* media query */
@media only screen and (max-width:800px) {
  section.introduction {
    top: 0px;
    height: auto;
    position: relative;
  }

  section.introduction {
    display: none;
    text-decoration: none;
  }

  .pj {
    opacity: 1;
  }

  .project1, .project2, .project3, .project4, .project5, .project6, .project7, .project8, .project9, .project10, .project11, .project12, .project13, .project14 {
    width: 100%;
    display: block;
    margin: auto;
  }

  .container {
    overflow: hidden;
  }

  .container h6 {
    padding-bottom: 30px;
  }

  footer {
    margin-top: 30px;
  }
