@import url(https://fonts.googleapis.com/css?family=Playfair+Display:400,700,900);@import url(https://fonts.googleapis.com/css?family=Nunito+Sans);

html {
  height: 100%;
  min-height: 100%;
  font-size: 18px;
  background-color: #e8e8e8;
  margin: 0;
  padding: 0; }

body {
  height: 100%;
  font-family: "Avenir Next", "Nunito Sans", sans-serif;
  color: #272727;
  background-color: #e8e8e8;
  margin: 0;
  padding: 0; }

a, a:link, a:visited, a:active, a:hover {
  color: #e00000;
  text-decoration: underline;
}

h2, h3, h4, h5 {
  font-family: "Bodoni MT", "Playfair Display", serif;
}

h1.room, h2.room {
  font-family: "Avenir Next", "Nunito Sans", sans-serif;
  font-weight: bold;
}

h6 {
  display: inline-block;
  font-weight: bolder;
  padding-top: 1em;
}

main {
  min-height: calc(100% - 90px);
}

header {
  position: fixed;
  display: block;
  z-index: 10;
  color: #e8e8e8;
  background-color: #272727;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s;
  width: 100%;
  height: 70px;
  overflow: hidden; }
  header ul {
    list-style: none;
    line-height: 70px;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0px 0px; }
    header ul li {
      order: 3;
      width: 100%;
      text-align: center;
      display: inline; }
      header ul li a, header ul li a:visited, header ul li a:link {
        padding: 0px 27px;
        color: #e8e8e8;
        text-decoration: none; }
      header ul li a:hover, header ul li.active a, header ul li.active a:visited, header ul li.active a:link {
        color: #ffffff;
        text-decoration: underline; }
      header ul li a#header-nav-fika-logo {
        padding-left: 0px;
        vertical-align: middle;
        height: 47px;
        width: 96.4px;
        display: inline-block;
        text-indent: -10000px;
        background-size: contain;
        background-image: url(/static/img/fika.svg);
        background-repeat: no-repeat;
      }
      header ul li.logo {
        order: 1;
        width: auto;
        margin-left: 27px;
      }
      header ul li.toggle {
        order: 2;
        width: auto;
        height: 51px;
        line-height: 51px;
        margin-right: 27px;
        text-align: right;
      }
      header ul li.toggle svg {
        display: inline-block;
      }
      header ul li.toggle .arrow {
        display: inline-block;
      }
header.home {
  background-color: transparent;
}

h1 {
  font-size: 47px;
  font-weight: 500;
  line-height: 1em;
  margin: 15px 0px;
  padding: 0;
  }

h2 {
  font-size: 27px;
  font-weight: 100; }

section {
  margin: 0 auto;
  padding: 97px 27px 27px 27px;
  max-width: 1000px; }

section.marketing {
  position: relative;
  padding: 0px;
  width: 100%;
  max-width: 100%;;
  background-color: #272727;
  height: 74vh;
  min-height: 470px;
  max-height: 740px;
  color: #e0e0e0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

section.marketing background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 74vh;
  min-height: 470px;
  max-height: 740px;
  background-image: url(/static/img/bg-fika1.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 2;
  transition: opacity 1s;
  opacity: 0;
}

section.marketing background:nth-child(2) {
  z-index: 1;
  opacity: 0.27;
}

section.marketing bumpf {
  z-index: 3;
  padding: 27px;
  text-align: center;
}

section.marketing bumpf p {
  padding-top: 27px;
  width: 100%;
  line-height: 1.3em;
}

section.marketing ~ section {
  padding-top: 0px;
}

section h2 {
  padding-top: 27px;
}

.btn-join, .btn-join:visited, .btn-join:link {
  background-color: #e00000;
  border-radius: 4px;
  color: #e8e8e8;
  padding: 15px 23px;
  margin-right: 15px;
  text-decoration: none;
}
.btn-join:hover {
  background-color: #ff0000;
}
#sign-in, #sign-in:visited, #sign-in:link {
  color: #e0e0e0;
  text-decoration: underline;
}
#sign-in:hover {
  color: #ffffff;
}

emoji {
  display: inline-block;
  width: 100%;
  padding-bottom: 7px;
  padding-right: 10px;
  font-size: 200%;
  vertical-align: middle;
}

h6 emoji {
  display: initial;
  padding-bottom: 0px;
}

logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: opacity 1s; }
  
header.shrink logo {
  opacity: 0; }

arrow {
  color: #e8e8e8;
  font-size: 35px;
  padding-bottom: 25px;
  transition: opacity 1s; }

arrow.shrink {
  opacity: 0; }

header.shrink findnext {
  opacity: 0; }

footer {
  color: #e8e8e8;
  background-color: #272727;
  width: 100%;
  text-align: center; }
  footer ul {
    list-style: none;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0px; }
    footer ul li {
      padding: 12px;
      width: 100%;
      display: inline; }
      footer ul li a, footer ul li a:visited, footer ul li a:link {
        padding: 0px 27px;
        color: #e8e8e8;
        text-decoration: none; }
        footer ul li a:hover {
          color:#ffffff;
          text-decoration: underline; }

a.findnext {
  font-family: "Avenir Next", "Nunito Sans", sans-serif;
  font-size: 16px;
  line-height: 90px;
  transition: opacity 1s;
  color: #e8e8e8;
  text-decoration: none; }
  a.findnext span {
    display: inline-block;
    width: 90px;
    height: 90px;
    background-image: url(/static/img/FindNext-target.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    text-indent: -10000px; }
  a.findnext:hover {
    text-decoration: none;;
  }

.fika {
  font-family: "Bodoni MT", "Playfair Display", serif;
  text-transform: lowercase;
}

.flex-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding-bottom: 27px;
}

.flex-item {
  margin: auto;
  padding: 15px;
}

.flex-item img {
  display: block;
  height: 47px;
}

@media all and (max-width: 1023px) {
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  nav ul li a {
      display: block;
      padding: 15px 5px;
  }
  .menu li.subitem a {
      padding: 15px;
  }
  .toggle {
      order: 1;
      font-size: 10px;
      background: rgba(255, 255, 255, 0.13);
      border-radius: 6px;
      padding: 0px 3px;
    }
  .toggle svg {
    margin-right: 3px;
  }
  .item.button {
      order: 2;
  }
  .item {
      order: 3;
      width: 100%;
      text-align: center;
      display: none;
  }
  /*
  .active .item {
      display: block;
  }
  */
  .button.secondary { /* divider between buttons and menu links */
      border-bottom: 1px #444 solid;
  }
}

@media all and (min-width: 1024px) {
  h1 {
    font-size: 74px;
  }
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  nav ul {
      flex-wrap: nowrap;
      background: none;
  }
  nav ul li {
    order: 1;
    position: relative;
    display: block; 
    width: auto;
    white-space: nowrap;
  }
  nav ul li.logo, nav ul li.copyright {
    padding: 0px;
    order: 0;
    width: 100%;
    margin-left: 0px;
  }
  header ul li {
    width: auto;
    text-align: left;
  }
  header ul li.toggle {
    display: none;
  }
  section {
    padding: 97px 0px 27px 0px;
  }
  section.marketing {
    height: 74vh;
    min-height: 470px;
    max-height: 740px;
    }
  section.marketing bumpf {
    width: 1000px;
    max-width: 1000px;
    padding: 0px;
    text-align: left;
  }
  emoji {
    width: auto;
  }
  footer {
    /* line-height: 90px; */
  }
  footer ul li {
    padding: 0px;
    width: auto;
  }
}

@media (min-device-width: 320px) {
  section.marketing {
    height: 100vh;
  }
}

@media (min-device-width: 374px) {
  section.marketing {
    height: 74vh;
    min-height: 470px;
    max-height: 740px;
    }
}

@media all and (min-width: 1366px) {
  section.marketing background {
    background-attachment: fixed;
  }
}

@media (max-width: 1023px) and (orientation: portrait) {

}

@media (max-width: 1023px) and (orientation: landscape) {
}
