/* Icons */
@font-face {
  font-family: "Maria";
  src: url(Maria.woff2) format("woff2"), url(Maria.woff) format("woff");
  font-weight: normal;
  font-style: normal;
}

/* RESET */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav.mobile,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
  outline: 0 none;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav.mobile,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
textarea,
input,
form {
  box-sizing: border-box;
}
element:hover,
element:active {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Maria Pro", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  color: black;
}
a {
  text-decoration: none;
  color: black;
}
img {
  max-width: 100%;
  display: block;
}
.ani {
  -webkit-transition-duration: 700ms;
  -moz-transition-duration: 700ms;
  -o-transition-duration: 700ms;
  transition-duration: 700ms;
}

#mCCForm {
  position: fixed;
  bottom: 10px;
  width: calc(100% - 20px);
  background: white;
  border: 1px solid black;
  opacity: 0.8;
  left: 10px;
  display: flex;
  flex-direction: row-reverse;
  z-index: 10000000;
}
#mCCForm button {
  min-width: 130px;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  outline: none;
  color: white;
  font-family: "Maria Pro", Arial;
  font-size: 15px;
  padding: 10px 0;
  cursor: pointer;
}
#mCCForm p {
  font-size: 12px;
  line-height: 15px;
  padding: 10px;
}
#mCCForm p a {
  margin: 0 0 0 3px;
  border-bottom: 1px solid black;
}

header {
  padding: 30px;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
header h1 {
  float: left;
  font-size: 38px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
header nav {
  float: left;
  margin: 12px 0 0 20px;
}
header nav ul li {
  float: left;
  margin: 0 5px 0 0;
}
header nav ul li a {
  font-size: 22px;
}
header nav ul li a span {
  padding: 0 0 5px 0;
  border-bottom: 2px solid transparent;
}
header nav ul li.on a span,
header nav ul li a.on span {
  border-bottom: 2px solid black;
}
header nav ul li:last-child a i {
  display: none;
}
header a.contact {
  float: right;
  font-size: 22px;
  align-self: flex-end;
  margin: 10px 0 0 10px;
}
header a.references {
  float: right;
  font-size: 22px;
  align-self: flex-end;
  margin: 10px 0 0 0;
}
header a.references span {
  display: inline-block;
  padding: 2px 0 5px 0;
}
header a.contact span {
  display: inline-block;
  padding: 2px 0 5px 0;
}
header a.contact.on span {
  display: inline-block;
  border-bottom: 2px solid black;
}
header a.references.on span {
  display: inline-block;
  border-bottom: 2px solid black;
}

section.spacer {
  height: 100vh;
}
section.intro {
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
}
section.intro .bg {
  width: 200%;
  height: 200%;
  top: 40px;
  left: -50%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
}
section.content {
  min-height: 50vh;
  margin: 0;
  float: left;
  z-index: 10;
  position: relative;
  width: 100%;
  border-bottom: 2px solid black;
  padding: 30px 30px 90px;
  position: relative;
}
section.content h2 {
  font-size: 38px;
  position: sticky;
  position: -webkit-sticky;
  top: 45vh;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  margin: 0 0 100px 0;
}
section.content .box {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 80px 0 0 0;
  float: left;
  padding: 0 0 0 220px;
  position: relative;
  z-index: 1;
  align-items: flex-end;
}
section.content .box .image {
  width: 34%;
}
section.content .box .image img {
  max-width: 100%;
  max-height: 400px;
  float: right;
}
section.content .box .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 30px;
  position: relative;
  width: 66%;
}
section.content .box .info h3 {
  font-size: 22px;
  line-height: 27px;
  text-transform: uppercase;
}
section.content .box.special .info h3 span {
  text-decoration: underline;
}
section.content .box .info h3 span {
  display: inline-block;
}

section.content .box .info p {
  font-size: 22px;
  line-height: 27px;
  margin: 0 0 0 0;
}
section.content .box .info div.more {
  font-size: 22px;
  line-height: 26px;
  display: block;
}
section.content .box .info div.more span {
  border-bottom: 2px solid black;
  display: inline-block;
}
section.content .box:hover .info div.more span {
  color: black;
  border-bottom: 2px solid black;
}
section.content .box.external:hover .info div.more:after {
  content: " ↗";
}
section.content .box:hover .info div.more:after {
  content: " →";
}

/* PROJECT */
.projectBg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 3;
  opacity: 0.3 !important;
  filter: blur(20px);
  background-position: center bottom;
  background-size: cover;
  background-attachment: fixed;
}
section.project {
  min-height: 100vh;
  margin: 0;
  float: left;
  z-index: 10;
  width: 100%;
  border-bottom: 2px solid black;
  padding: 150px 30px 90px;
  position: relative;
  display: flex;
  flex-direction: row;
}
section.project .intro {
  width: 50%;
}
section.project .intro .info {
  top: 45vh;
  left: 20px;
  position: sticky;
  position: -webkit-sticky;
  padding: 0 20px 0 0;
}
section.project .intro .info h2 {
  font-size: 22px;
  line-height: 30px;
  text-transform: uppercase;
  padding: 0 0 0 0;
}
section.project .intro .info .summary {
  font-size: 22px;
  line-height: 30px;
}
section.project .intro .info u {
  text-decoration: none;
}
section.project article {
  width: 50%;
  max-width: 680px;
  padding: 0 0 0 0px;
}
section.project article .item.body {
  width: 100%;
  max-width: 800px;
  padding: 0 0 30px 0;
  font-size: 22px;
  line-height: 30px;
}
section.project article .item.body p {
  padding: 0 0 15px 0;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
section.project article .item.body strong {
  text-transform: uppercase;
}
section.project article .item.body a {
  text-decoration: underline;
}
section.project article .item.body blockquote {
  padding: 30px 90px 15px 120px;
}
section.project article .item.body strong {
  text-transform: uppercase;
}
section.project article .item.body em {
  color: #5d5d5d;
}
section.project article .item.headline {
  width: 100%;
  max-width: 800px;
  font-size: 22px;
  line-height: 30px;
  text-transform: uppercase;
  padding: 0 0 15px 0;
}

section.project article .item.images {
  width: 100%;
  display: flex;
  flex-flow: column;
  padding: 0 0 45px 0px;
  position: relative;
  overflow: visible;
}
section.project article .item.images .images_box {
  position: relative;
  margin: 0 0 15px 0;
}

section.project article .item.images img {
  max-height: 60vh;
  max-width: 50vw;
  display: block;
}
section.project article .item.images span.description {
  margin: 0 0 0 0;
  display: block;
  font-size: 10px;
  left: -15px;
  position: absolute;
  z-index: 10;
  bottom: -5px;
  transform: rotate(-90deg);
  transform-origin: left top;
}
.template_project section.content {
  background-size: 240%;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url(tippberg_blur.jpg);
}

@media screen and (max-width: 800px) {
  #mCCForm {
    bottom: 40px;
    flex-direction: column-reverse;
  }

  .btn-menu {
    width: 30px;
    height: 24px;
    position: fixed;
    right: 15px;
    top: 17px;
    z-index: 10000;
    cursor: pointer;
  }
  .btn-menu.on {
    transform: rotate(90deg);
  }
  .btn-menu span {
    display: block;
    width: 100%;
    height: 4px;
    background: black;
    position: absolute;
  }
  .btn-menu span:nth-child(1) {
    top: 0;
  }
  .btn-menu span:nth-child(2) {
    top: 10px;
  }
  .btn-menu span:nth-child(3) {
    top: 10px;
  }
  .btn-menu span:nth-child(4) {
    top: 20px;
  }
  header {
    padding: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: white;
  }
  header.on {
    padding: 0 0 20px 0;
  }
  header h1 {
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 15px 12px;
    background: white;
    position: relative;
    z-index: 1000;
  }
  header nav {
    margin: 0 0 0 15px;
    display: none;
  }
  header nav ul {
    display: flex;
    flex-direction: column;
  }
  header nav ul li {
    margin: 20px 0 0 0;
  }
  header nav ul li a {
    font-size: 26px;
  }
  header nav ul li.on a span,
  header nav ul li a.on span {
    border-bottom: 2px solid black;
  }
  header nav ul li a i {
    display: none;
  }
  header a.contact {
    font-size: 26px;
    align-self: auto;
    margin: 20px 0 15px 15px;
    display: none;
  }
  header a.contact span {
    display: inline-block;
    padding: 2px 0 5px 0;
  }
  header a.contact.on span {
    display: inline-block;
    border-bottom: 2px solid black;
  }
	
	header a.references {
		font-size: 26px;
		align-self: auto;
		margin: 0 0 15px 15px;
		display: none;
	}
	header a.references span {
		display: inline-block;
		padding: 2px 0 5px 0;
	}
	header a.references.on span {
		display: inline-block;
		border-bottom: 2px solid black;
	}
	
	
  section.intro .bg {
    background-position: top center;
  }

  section.content {
    padding: 30px 15px 50px;
  }
  section.content h2 {
    font-size: 26px;
    top: 74px;
    margin: 0 0 60px 0;
  }
  section.content .box {
    width: 100%;
    margin: 40px 0 0 0;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
  }
  section.content .box .image {
    width: 60%;
  }
  section.content .box .image img {
    float: left;
  }
  section.content .box .info {
    padding: 10px 0 0 0;
  }
  section.content .box .info h3 {
    font-size: 16px;
    line-height: 20px;
  }
  section.content .box .info p {
    font-size: 16px;
    line-height: 20px;
  }

  section.project {
    padding: 70px 15px 60px;
    flex-direction: column;
  }
  section.project .intro {
    width: 100%;
  }
  section.project .intro .info {
    top: inherit;
    left: inherit;
    position: inherit;
    padding: 0;
  }
  section.project .intro .info h2 {
    font-size: 16px;
    line-height: 20px;
  }
  section.project .intro .info .summary {
    font-size: 16px;
    line-height: 20px;
  }

  section.project article {
    width: 100%;
    max-width: 680px;
    padding: 30px 0 0 0;
  }
  section.project article .item.body {
    font-size: 16px;
    line-height: 20px;
  }

  section.project article .item.body blockquote {
    padding: 15px 30px 15px 30px;
  }

  section.project article .item.headline {
    font-size: 16px;
    line-height: 20px;
  }

  section.project article .item.images {
    padding: 0 0 30px 0px;
  }
  section.project article .item.images img {
    max-width: 100%;
  }
  section.project article .item.images span.description {
    left: -12px;
    bottom: -10px;
  }
}
