@charset "UTF-8";
/*
  # Kirby Starterkit

  This CSS file handles all of the styling in of Kirby’s
  Starterkit. Feel free to tinker around with it and
  adjust it according to your needs.

  ## Color Definitions

  The following colors used in the Starterkit. If you want
  to use this CSS file as a starting point for your own
  project, you can do a simple search & replace to adjust
  the color scheme to your needs.

  - Background:            #fffff8
  - Text:                  #261e66
  - Hovered Links:         #0b25ed
  - Active Button BG:      #4509be
  - Caption BG in projects
    showcase:              rgba(38, 30, 102, .95)

  - Highlight, Selection,
    Link Underline:        #71efac
  - Tap color
    (touch devices):       rgba(113, 239, 172, .5)
  - Marked Text BG,
    Callout Boxes BG:      #eafded

  - Menu Separator,
    <hr> in text:          #a8a5be
  - Blockquote BG:         #fffffd

  ## Table of Contents

  1 Global Rules & Definitions
  1.1 Font Definitions
  1.2 Reset & Normalization
  1.3 General Typography
  1.4 Images & Figures

  2 Layout Helpers & Reusable Components
  2.1 Kirbytext
  2.2 Button
  2.3 Grid & Layout
  2.4 Pagination
  2.5 Projects Showcase

  3 Site Layout
  3.1 Header
  3.2 Menu
  3.3 Sticky Footer
  3.4 Main Content

  4 Template-specific Components
  4.1 Homepage
  4.2 Blog Article
  4.3 Team
  4.4 Contact

*/

/* =====  1 Global Rules & Definitions  ===================================== */

/* -----  1.1 Font Definitions  --------------------------------------------- */

/* Montserrat */
@font-face {
  font-family: 'Vremena';
  src: url(../fonts/vremenaregular-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'YoungSerif';
  src: url(../fonts/YoungSerif-Regular.woff) format("woff");
  font-weight: normal;
  font-style: normal;
}

/* -----  1.2 Reset & Normalization  ---------------------------------------- */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  list-style: none;
}

article, aside, details, figcaption, figure,
footer, header, main, menu, nav, section, summary {
  /* Add correct display for IE 9- and some newer browsers */
  display: block;
}

::-moz-selection {
  background: #71efac;
  color: #261e66;
}

::selection {
  background: #71efac;
  color: #261e66;
}

/* -----  1.3 General Typography  ------------------------------------------- */

h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, pre {
  /* Reset font-sizes and normalize margins */
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 1.5rem;
}

/* Headings */
h1, h2, h3 {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 700;
}

h1 {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.25;
  text-align: center;
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.75rem;
  line-height: 2.2rem;
  text-align: center;
}

h3 {
  font-size: 1.25em;
  line-height: 1.2;
}

h4 {
  font-size: 1em;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover, a:focus, a:active, a.active {
  color: #0b25ed;
}

/* Misc */
hr {
  font-size: 1.25rem;
  font-weight: 500;
  height: 1.5rem;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #71efac;
}

hr::before {
  content: "";
  position: relative;
  display: block;
  background: currentColor;
  height: 2px;
  top: calc(50% + 1px);
}

hr::after {
  content: "× × ×";
  background: #fffff8;
  position: relative;
  padding: 0 .25rem;
  top: -.25rem;
}

h1 + hr,
.intro + hr {
  /* Shift a <hr> right after an `.intro`
     or <h1> block one line up. */
  margin-top: -1.5rem;
}

mark {
  padding: .1em .05em;
  margin: -.1em 0;
  color: #261e66;
  background: #eafded;
}

u {
  text-decoration: none;
  border-bottom: 1px solid;
}

/* -----  1.4 Images & Figures  --------------------------------------------- */

img {
  border-style: none;
  width: 100%;
  height: auto;
}

figcaption {
  font-size: .75rem;
  line-height: 1.5rem;
}

/* =====  2 Layout Helpers & Reusable Components  =========================== */

/* The Clearfix™: A classic … */
.cf::after {
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
}

.clear {
  clear: both;
}


body {
  //font-family: "YoungSerif";
  font-size: 1.5rem;
  line-height: 125%;
}

/* =====  3 Navigation  =========================== */
.menu {
    background: #fffa4f;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 6rem;
    line-height: 6rem;
    padding-left: 3rem;
    margin: 0;
}
.menu li {
    display: inline-block;
}
/*.menu a.active:before {
  content: ". ";
  font-family: "WebSymbolsRegular";
}*/

/* =====  4 TWISTED  =========================== */

.twisted-showcase {
  /*display: flex;
  flex-wrap: wrap;
  align-items: flex-end;*/
  padding: 12.5px;
}

.twisted-showcase-item {
  width: auto;
  /*flex: 0 0 auto;*/
  margin: 12.5px;
  float: left;
}

a.twisted-showcase-link {
  border: 0;
  display: block;
}

/* =====  4 STRAIGHT  =========================== */


.projects-list {
  width: 25%;
  position: fixed;
  top: 0;
  bottom: 6rem;
  left: 0;
  padding: 3rem;
  overflow-y: auto;
  margin: 0;
}

.project-wrapper{
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  bottom: 0rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 3rem ;
  padding-bottom: 1rem;
}

.project {
  margin-right: -2%;
}

.project figure {
  float: left;
  margin-right: 2%;
  margin-bottom: 2%;
}

.project img {
  display: block;
}

.project p {
}
