/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/
html{
  background-color: #F8E9E2;
}

/* AkzidenzGrotesk
-------------------------------------------------- */

@font-face {
    font-family: AkzidenzGrotesk;
    src: url(../fonts/AkzidenzGrotesk-Light.otf);
    font-weight:300;
}
@font-face {
    font-family: AkzidenzGrotesk;
    src: url(../fonts/AkzidenzGrotesk-Cond.otf);
    font-weight:400;
}
@font-face {
    font-family: AkzidenzGrotesk;
    src: url(../fonts/AkzidenzGrotesk-Regular.otf);
    font-weight:500;
}

@font-face {
    font-family: AkzidenzGrotesk;
    src: url(../fonts/AkzidenzGrotesk-BoldCondAlt.otf);
    font-weight:600;
}

@font-face {
    font-family: Script;
    src: url(../fonts/script.ttf);
}

@font-face {
    font-family: Baskerville;
    src: url(../fonts/Baskerville.ttc);
}


/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}


blockquote{
  padding-left:4rem; 
  padding-right:4rem; 
  font-size: 0.5em;
  color: #3EC1CF;
}
/* Links
-------------------------------------------------- */
a {
  display: block;
  color: #9B6958;
  font-family: AkzidenzGrotesk;
  font-size : 1.1em;
  font-weight: 500;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
 
  color: #3EC1CF;
  text-decoration: none;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: AkzidenzGrotesk;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  
  margin: 2rem;
  font-family: Akzidenz-Regular;
  line-height: 2em;
  font-size: 0.8em;
  letter-spacing: 0.05em;
}


/* Header
-------------------------------------------------- */
.header {
  margin-bottom:2em;
}
.logo {

  display: block;
  margin-bottom: 1.5em;
}
.logo img {
  width: 100%;
}


/* Navigation
-------------------------------------------------- */
.menu a {

  display: block;
  color: #FF9999;
  
}
.menu a:hover {
  border-bottom: 2px solid #99CCCC;
  color: #99CCCC;
  text-decoration: none;
}
.menu .active {
  color: #99CCCC;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
 

}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -.5em;
  left: 0;
  border-top: .5em solid transparent;
  border-bottom: .5em solid transparent;
  border-left: .5em solid #222;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #99CCCC;
  background: #222;
  white-space: nowrap;
}
.submenu a:hover {
  background: #333;
  color: #99CCCC;
}

@media screen and (min-width: 40em) {
  body {
    padding: 3em;
  }
  .logo {
    float: left;
  }
  .menu {
    float: right;
    margin-right: -1em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}


/* Headings
-------------------------------------------------- */
h1 {
  /*text-decoration: underline; */
  font-family: Baskerville;
  text-transform: capitalize;
  font-size: 3em;
  /*padding-left: 2rem;*/
  letter-spacing: 0.03em;
  color:#7F7F7F; /*Brown*/
  margin-bottom: .5em;
}
h2 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  color: #3EC1CF;
}

h3 {
  text-align: center;
  font-size: 1.25em;
  color: #23BFD0;
  line-height: 1.5em;
  font-weight: 300;
  margin-bottom: .5em;
}

h3 strong{
  text-align: center;
  font-family: AkzidenzGrotesk;
  font-size: 1.8em;
  color:#FF9999;
  letter-spacing: 0.06em;
  font-weight: 600;
}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: #3EC1CF;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}



/* Main
-------------------------------------------------- */
.main {

}
.main hr {
  margin: 3em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}
.main a {
  /*border-bottom: 2px solid #ddd;*/
}
.main a:hover {
  /*border-color: #222;*/
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: #3EC1CF;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .teaser li {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}


/* Footer
-------------------------------------------------- */
.footer-projects li{
  width:16%;
}

@media screen and (max-width: 800px) {
  .footer-projects li {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .footer-projects li:first-child {
    margin-left: 0;
  }
}

@media screen and (max-width: 500px) {
  .footer-projects li {
    /*float: left;*/
    width: 45%;
    margin:0px;
  }
  .footer-projects .teaser img:hover {
    border:0;
  }
}



.footer {
  margin-top: 4rem;
  border-top: 2px solid #99CCCC;
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  justify-content: space-between;
  padding: 1em 0 6em;
  font-size: .8em;
}
.copyright {

}
.copyright p{
  padding-top: 0px;
}
.colophon a{
 margin-left:1rem;
}
.links {
  
}
.colophon a b {
  color: #3EC1CF;
  padding-left: .25em;
}
