@charset "UTF-8";
/*
1. Global
2. Typography
3. Heading
4. Navigation
5. Hamburger
6. Hero
7. Body
 Footer
 Grid
 Media Queries
 */
/* GLOBAL
===================*/
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #FCFCFC;
}

img {
  max-width: 100%;
}

.grid-container {
  max-width: 65%;
  margin-left: auto;
  margin-right: auto;
}

.post-container {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

/* Typography
==========================*/
a {
  text-decoration: none;
  color: #000;
  outline: 0;
  margin: 0;
  padding: 0;
}

a:active {
  outline: 0;
}

p {
  font-size: 1em;
}

p.post {
  font-size: 1.4em;
}

h1 {
  font-size: 3em;
}

h3 {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 2.6em;
  line-height: 5%;
}

h3.post {
  font-size: 4em;
}

h4 {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 1.1em;
}

/* Responsive Images */
img, img.scale-with-grid {
  outline: 0;
  max-width: 100%;
  height: auto;
}

 /* Heading
==========================*/
header {
  width: 100%;
  position: fixed;
  z-index: 98;
}

.element {
  position: relative;
  background-color: rgba(254, 246, 238, 0.4);
  padding: .5% 0;
  top: -100px;
  -webkit-transition: top .3s linear;
  -moz-transition: top .3s linear;
  -o-transition: top .3s linear;
  transition: top .3s ease-in-out;
}

.visable > .element {
  top: 0;
}

.nav {
  margin-left: 60%;
}

/*Navigation
==========================*/
nav {
  width: 100%;
  font-size: 1.2em;
  vertical-align: center;
}

nav ul {
  list-style: none;
}

nav li {
  width: 14%;
  display: inline-block;
  margin: 1% 2%;
  border-right: 1px solid #bbb;
}

nav li:last-child {
  border-right: none;
}

nav li a {
  font-family: 'Alegreya Sans SC', sans-serif;
}

nav li a:link {
  color: #000000;
}

nav li a:visited {
  color: #000000;
}

nav li a:hover {
  color: #FF0000;
}

/*Hamburger
==========================*/
.navicon-button {
  z-index: 99;
  display: inline-block;
  position: fixed;
  padding: 2.0625rem 1.5rem;
  transition: 0.25s;
  cursor: pointer;
  user-select: none;
  opacity: .8;
}
.navicon-button .navicon:before, .navicon-button .navicon:after {
  transition: 0.25s;
}
.navicon-button:hover {
  transition: 0.5s;
  opacity: 1;
}
.navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
  transition: 0.25s;
}
.navicon-button:hover .navicon:before {
  top: .825rem;
}
.navicon-button:hover .navicon:after {
  top: -.825rem;
}

.navicon {
  position: relative;
  width: 2.5em;
  height: .3125rem;
  background: #dc1928;
  transition: 0.5s;
  border-radius: 2.5rem;
}
.navicon:before, .navicon:after {
  display: block;
  content: "";
  height: .3125rem;
  width: 2.5rem;
  background: #dc1928;
  position: absolute;
  z-index: -1;
  transition: 0.5s 0.25s;
  border-radius: 1rem;
}
.navicon:before {
  top: .625rem;
}
.navicon:after {
  top: -.625rem;
}

.open:not(.steps) .navicon:before,
.open:not(.steps) .navicon:after {
  top: 0 !important;
}

/* × */
.open .navicon {
  background: transparent;
}
.open .navicon:before {
  transform: rotate(45deg);
}
.open .navicon:after {
  transform: rotate(-45deg);
}

/*Hero Image
==========================*/
.hero {
  background: url("../img/hero.jpg") no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  -webkit-background: url("../img/hero.jpg") no-repeat center;
  -webkit-background-size: cover;
  -webkit-background-attachment: fixed;
  -o-background: url("../img/hero.jpg") no-repeat center;
  -o-background-size: cover;
  -o-background-attachment: fixed;
  -moz-background: url("../img/hero.jpg") no-repeat center;
  -moz-background-size: cover;
  -moz-background-attachment: fixed;
  -ms-background: url("../img/hero.jpg") no-repeat center;
  -ms-background-size: cover;
  -ms-background-attachment: fixed;
  height: 700px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 5%;
}

.hero h1 {
  color: #fff;
  font-size: 3em;
  opacity: 0.7;
  text-align: center;
  vertical-align: middle;
  line-height: 1100px;
}

/* Body
==========================*/
.content {
  width: 100%;
  text-align: center;
  margin: auto;
  padding-bottom: 60px;
  /* Height of the footer */
}

/* Footer
==========================*/
footer {
  width: 100%;
  margin-top: 2%;
  border-top: solid 1px rgba(0, 0, 0, 0.1);
  padding-top: 2%;
}

p.small {
  text-align: center;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 1em;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.9);
  padding-top: 1.1%;
}

.logo {
  margin-left: 49%;
}

/* Media Queries
===================*/
@media (min-width: 768px) {
  /* Columns
  ==============*/
  .grid-container > [class^="grid-"] {
    float: left;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 2%;
  }

  .grid-container > [class^="grid-"]:first-child {
    margin-left: 0;
  }

  .grid-container > [class^="grid-"]:last-child {
    float: right;
  }

  /* Grids COL=65px GUT=20px
  ==========================*/
  .grid-1 {
    width: 6.5%;
  }

  .grid-2 {
    width: 15%;
  }

  .grid-3 {
    width: 23.5%;
  }

  .grid-4 {
    width: 32%;
  }

  .grid-5 {
    width: 40.5%;
  }

  .grid-6 {
    width: 49%;
  }

  .grid-7 {
    width: 57.5%;
  }

  .grid-8 {
    width: 66%;
  }

  .grid-9 {
    width: 74.5%;
  }

  .grid-10 {
    width: 83%;
  }

  .grid-11 {
    width: 91.5%;
  }

  .grid-12 {
    width: 100%;
  }

  /* Clearfix
  =================*/
  .group:after,
  .grid-container:after {
    content: " ";
    display: table;
    clear: both;
  }
}
.side {
  float: right;
}

.line {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 7%;
}

.post {
  margin-bottom: 4%;
}

.post-bild {
  margin-bottom: 1%;
}

@media (max-width: 768px) {
  h3.post {
    font-size: 2em;
  }

  p.post {
    font-size: 1.2em;
  }
}
@media screen and (max-device-width: 1024px) {
  .hero {
    background: url("../img/hero-small.jpg") no-repeat center;
  }
}
