/* ============================================================
  HTML & BODY
============================================================ */
@font-face {
  font-family: Geomanist;
  src: url(../fonts/geomanist-regular-webfont.woff);
}
@font-face {
  font-family: GeomanistItalic;
  src: url(../fonts/geomanist-regular-italic-webfont.woff);
}
@font-face {
  font-family: GeomanistBold;
  src: url(../fonts/geomanist-bold-webfont.woff);
}

* {
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
}
body {
  background-color: #ffffff;
  color: #2c2a29;
  font-family: "Geomanist", sans-serif;
  font-size: 1em;
  line-height: 1.5;
}
h1 {
  padding-bottom: 10px;
  font-size: 2em;
  margin-top: 20px;
}
h2 {
  font-size: 1.2em;
  padding-bottom: 10px;
  padding-top: 10px;
}
h3 {
  font-family: "GeomanistBold", sans-serif;
  color: #ff6900;
}
ul {
  margin-left: 20px;
  padding-bottom: 20px;
}
a {
  text-decoration: none;
  color: #2c2a29;
}
.white {
  color: #ffffff;
}
.slogan {
  display: block;
  position: relative;
  top: 50%;
  margin: 0 auto;
  text-align: center;
}
.sloganText {
  color: #ffffff;
  font-size: 4em;
  padding-bottom: 10px;
}
.linkTo {
  padding: 20px;
  background-color: #ff6900;
  text-align: center;
  width: 300px;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}
.slogan a {
  color: #ffffff;
}
.frontpage {
  background-image: url(../img/speltti_birkkala.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 650px;
  padding: 20px 20px 20px 5%;
  display: block;
}

.nav {
  display: block;
  float: right;
}
.nav a {
  padding: 10px;
  border-bottom: 3px solid transparent;
}
.nav a:hover {
  border-bottom: 3px solid #ff6900;
}
.nav a.active {
  border-bottom: 3px solid #ff6900;
}
.nav > ul {
  list-style: none;
}
.nav > ul > li {
  display: inline;
}
.lang {
  display: block;
  float: right;
  margin-left: 20px;
}
.lang a {
  color: #ff6900;
}

.content {
  width: 80%;
  margin: 0 auto;
  padding-top: 20px;
}

p {
  padding: 10px 0;
}

.infograafi {
  width: 100%;
}

.flexcontainer {
  display: flex;
  flex-wrap: wrap;
}
.flexbox-3 {
  flex: 30%;
}
.flexbox-2 {
  flex: 40%;
  padding-bottom: 20px;
}

.align {
  text-align: right;
}
.flexbox-3 > ul {
  list-style: none;
  margin-left: 0;
}
.reference {
  font-family: "GeomanistItalic";
  padding: 10px 0 0 0;
}
.reference-from {
  font-family: "GeomanistBold";
}

.contact {
  background-image: url(../img/boxhunt_corner_graphics.svg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 40px;
  padding-top: 20px;
}

.padding-right-20 {
  padding-right: 20px;
}
.margin-right-5 {
  margin-right: 5%;
}
.container {
  position: relative;
  width: 100%;
  height: 100%;
}

.container .slog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
/* Style the button and place it in the middle of the container/image */
.container .slog .btn {
  background-color: #ff6900;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}
.container .slog .txt {
  font-family: "GeomanistBold", sans-serif;
  font-size: 3em;
  padding: 10px;
  color: white;
  background-color: rgba(44, 42, 41, 0.3);
  border-radius: 5px;
  text-align: center;
}

@media all and (max-width: 770px) {
  .frontpage {
    padding: 20px;
  }
  .nav {
    display: none;
  }
  .flexbox-3,
  .flexbox-2 {
    flex: 100%;
  }
  .slogan {
    top: 35%;
    left: 0;
  }

  .align {
    text-align: center;
  }
  .align-center {
    text-align: center;
  }
}
