/* LEGAL DISCLAIMER
*
* These Fonts are licensed only for use on these domains and their subdomains:
* ad-vent.no
*
* It is illegal to download or use them on other websites.
*
* While the @font-face statements below may be modified by the client, this
* disclaimer may not be removed.
*
* Optimo webfonts are protected by copyright law and provided under license. To modify, alter, translate, convert, decode or reverse engineer in any manner whatsoever, including converting the Font Software into a different format is strictly prohibited. The webfont files are not to be used for anything other than web font use.
*
* optimo.ch
*/

:root {
  --color-link: blue;
  --color-link-hover: red;
}

@font-face {
font-family: 'Apax';
src: url('Apax-Regular.eot');
src: url('Apax-Regular.eot?#iefix') format('embedded-opentype'),
     url('Apax-Regular.woff2') format('woff2'),
     url('Apax-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Apax';
src: url('Apax-Bold.eot');
src: url('Apax-Bold.eot?#iefix') format('embedded-opentype'),
     url('Apax-Bold.woff2') format('woff2'),
     url('Apax-Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
}

body {
  background: whitesmoke;
  font-family: 'Apax', sans-serif;
  margin: 0;
  padding: 0;
  font-size: 24px;
  line-height: 1.25em;
}
@media only screen and (max-width: 1000px) {
  body {
    font-size: 20px;
  }
}

@media only screen and (max-width: 500px) {
  body {
    font-size: 18px;
  }
}

a {
  color: var(--color-link);
  text-decoration: none;
}
a:hover {
  color: var(--color-link-hover);
}

h1 {
  font-size: 4em;
  line-height: 1em;
  letter-spacing: -0.02em;
  text-align: center;
}
@media only screen and (max-width: 414px) {
  h1 {
    font-size: 3em;
    line-height: 1em;
  }
}

.logo {
  margin: 0;
  padding: 0;
  height: 4em;
  width: 15em;
  position: fixed;
  top: 45%;
  left: -5em;
  transform: translate(-50%, 0);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
@media only screen and (max-width: 500px) {
  .logo {
    height: 3em;
    width: 12em;
    left: -4em;
  }
}
@media only screen and (max-height: 700px) and (min-width: 500px) {
  .logo {
    height: 3em;
    width: 12em;
    left: -4em;
  }
}

.logo svg {
  fill: black;
}
.logo svg:hover {
  fill: var(--color-link-hover);
}

.about {
  position: fixed;
  top: 3.2em;
  right: 0.4em;
  transform-origin: right top;
  -webkit-transform-origin: right top; /* Safari and Chrome */
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
  font-size: 4em;
  font-weight: bold;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  z-index: 10;
  color: black;
}
@media only screen and (max-width: 500px) {
  .about {
    font-size: 3em;
  }
}
@media only screen and (max-height: 700px) and (min-width: 500px) {
  .about {
    font-size: 3em;
  }
}
@media only screen and (max-height: 530px) and (min-width: 1000px) {
  .about {
    font-size: 2em;
  }
}
@media only screen and (max-height: 440px) and (max-width: 1000px) {
  .about {
    font-size: 2em;
  }
}

.language {
  position: fixed;
  bottom: 0;
  right: 0.4em;
  transform-origin: right top;
  -webkit-transform-origin: right top; /* Safari and Chrome */
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
  font-size: 4em;
  font-weight: bold;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
@media only screen and (max-width: 500px) {
  .language {
    font-size: 3em;
  }
}
@media only screen and (max-height: 700px) and (min-width: 500px) {
  .language {
    font-size: 3em;
  }
}
@media only screen and (max-height: 530px) and (min-width: 1000px) {
  .language {
    font-size: 2em;
  }
}
@media only screen and (max-height: 440px) and (max-width: 1000px) {
  .language {
    font-size: 2em;
  }
}

.language a, .about a {
  color: black;
}

.language a:hover, .about a:hover {
  color: var(--color-link-hover);
}

.numbers {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  list-style: none;
  align-content: center;
  align-items: center;
  padding: 0 4em;
  margin: 0 auto;
  justify-content: center;
}
@media only screen and (max-width: 500px) {
  .numbers {
    padding: 0 3em;
  }
}

.number {
  width: 1.6em;
  height: 1.6em;
  line-height: 1.6em;
  color: gray;
  font-weight: bold;
  font-size: 6em;
  text-align: center;
}
@media only screen and (max-width: 375px) {
  .number {
    width: 1.4em;
    height: 1.4em;
    line-height: 1.4em;
    font-size: 3em !important;
  }
}
@media only screen and (max-width: 414px) {
  .number {
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    font-size: 3em !important;
  }
}
@media only screen and (max-width: 768px) {
  .number {
    font-size: 4em;
  }
}
@media only screen and (max-width: 1500px) {
  .number {
    font-size: 5em;
  }
}

.container {
  display: flex;
  margin: 0 6rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media only screen and (max-width: 500px) {
  .container {
    margin: 0 3.5rem;
  }
}

aside {
  font-size: 0.8em;
  flex-shrink: 2;
  max-width: 15em;
  margin-top: 1.5em;
}

aside p {
  margin-top: 0;
  padding: 0;
}
aside ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

article {
  max-width: 35em;
  margin: auto;
  margin-top: 1.5em;
}

article p {
  margin-top: 0;
}
@media only screen and (max-width: 400px) {
  article p {
    -webkit-hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
    -webkit-hyphenate-limit-chars: 6 3 3;
    -webkit-hyphenate-limit-lines: 2;
    -webkit-hyphenate-limit-last: always;
    -webkit-hyphenate-limit-zone: 8%;

    -moz-hyphens: auto;
    -moz-hyphenate-limit-chars: 6 3 3;
    -moz-hyphenate-limit-lines: 2;
    -moz-hyphenate-limit-last: always;
    -moz-hyphenate-limit-zone: 8%;

    -ms-hyphens: auto;
    -ms-hyphenate-limit-chars: 6 3 3;
    -ms-hyphenate-limit-lines: 2;
    -ms-hyphenate-limit-last: always;
    -ms-hyphenate-limit-zone: 8%;

    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    hyphenate-limit-lines: 2;
    hyphenate-limit-last: always;
    hyphenate-limit-zone: 8%;
  }
}

.video {
  margin-bottom: 1.5em;
}

small {
  font-size: 0.8em;
}
.general-info {
  max-width: 30em;
  margin-bottom: 2em;
}

footer {
  text-align: center;
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 1em;
}


#mc_embed_signup {
  clear:left;
  width:100%;
}

#mc_embed_signup_scroll {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
@media only screen and (max-width: 650px) {
  #mc_embed_signup_scroll {
    flex-direction: column;
  }
}

.mailinglist {
  margin: 0.5em 0.5em 0 0.5em;
}


input[type=email], select {
  padding: 0.5em;
  margin: 0.2em 0.1em;
  border: 1px solid black;
  border-radius: 0px;
  font-weight: bold;
  font-family: 'Apax', sans-serif;
  font-size: 0.8em;
}
@media only screen and (max-width: 650px) {
  input[type=email], select {
    width: 16em;
  }
}

.button {
  background-color: white;
  border: 0.15em solid var(--color-link);
  color: var(--color-link);
  font-weight: bold;
  padding: 0.33em 0.5em;
  text-align: center;
  text-decoration: none;
  font-size: 0.8em;
  margin: 0.2em 0.1em;
  cursor: pointer;
}
.button:hover {
  border: 0.15em solid var(--color-link-hover);
  color: var(--color-link-hover);
}
