@charset "UTF-8";
/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  /*Stops horizontal scroll on phones*/
  overflow-x: hidden;
  /*    overflow-y: hidden;*/
}

html {
  /*Makes 1rem equals to 10px*/
  font-size: 62.5%;
  height: 100%;
}

body {
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  /*Good size for accessibility > 20px*/
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  color: #535353;
  font-size: 1rem;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*---------------------
Main code
-----------------------*/
#bgRed {
  display: block;
  position: absolute;
  bottom: 0;
  z-index: -1 !important;
  height: 50vh;
  width: 100%;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F5515F), to(#aa0019));
  background-image: linear-gradient(-180deg, #F5515F 0%, #aa0019 100%);
  /*BUGFIX i safari > når "a visual showreel" animeres inn inn fra sidene*/
  -webkit-transform: translate3d(0, 0, 0);
}

#bgBlack {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #414345;
  /* Old Browsers */
  background: radial-gradient(ellipse at center, rgba(81, 84, 87, 0.9) 0%, #232526 100%);
  opacity: 0;
}

#showReelTxt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-line-pack: center;
      align-content: center;
  position: absolute;
  z-index: -2 !important;
  /*    max-height: 100vh;*/
  padding: 0 11vw;
  margin-top: -1%;
  width: 100%;
  font-size: 4rem;
  font-weight: 200;
}

main #showReelTxt p {
  z-index: -30 !important;
}

/*If firefox run this code...*/
@-moz-document url-prefix() {
  #showReelTxt {
    margin-top: -3.2vh;
  }
}

main {
  min-height: 100vh;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#phoneOuter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 275px;
  height: 540px;
  background: #fff;
  -webkit-box-shadow: 0 18px 38px 0 rgba(0, 0, 0, 0.15), inset 0 -3px 10px 0 rgba(0, 0, 0, 0.1);
          box-shadow: 0 18px 38px 0 rgba(0, 0, 0, 0.15), inset 0 -3px 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 37px;
  z-index: 1;
  /*overflow: hidden;*/
  /*Bug > får ikke trykket på explore-knapp mobil*/
}

#logoTop {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#logoTop img:first-child {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: 140px;
  padding-top: 10vh;
}

/*---------------------
EXPLORE/ HOME
-----------------------*/
#home {
  width: 100%;
  height: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-line-pack: center;
      align-content: center;
}

.exploreStyling {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /*    line-height: 1rem !important;*/
}

.exploreStyling p {
  font-size: 1rem;
  color: #939393;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.arrowNext {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 60px;
  min-height: 60px;
  margin-top: 4px;
  border: 1px solid #E84555;
  /*d8d8d8*/
  border-radius: 100%;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  overflow: hidden;
  background-color: #fff;
}

/*
.arrowNext:active {
    border-color: #F5515F;
}
*/
.arrowNext:hover {
  -webkit-transform: scale(1.03);
          transform: scale(1.03);
}

.arrowNext img {
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
  -webkit-animation: downAni 3.5s infinite;
          animation: downAni 3.5s infinite;
}

.arrowNext:hover img {
  -webkit-animation: downAniDrop 0.9s;
          animation: downAniDrop 0.9s;
}

video, iframe {
  display: none;
  -ms-flex-item-align: center;
      align-self: center;
  position: absolute;
  z-index: 1;
  /*    max-height: 60%;*/
  max-width: 270px;
}

#pCenter {
  display: none;
  /*Skal ikke vises på descktop*/
  -ms-flex-item-align: center;
      align-self: center;
}

/*---------------------
LOGOS
-----------------------*/
#logoSpalte {
  width: 100%;
  height: 90%;
  display: none;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  /*fix*/
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 1;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
}

#logoSpalte h6, #contactUs h6 {
  color: #F5515F;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

#logos {
  padding: 10%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-item-align: center;
      align-self: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.imgs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-item-align: center;
      align-self: center;
  max-width: 110px;
  max-height: 110px;
  padding: 5px 5px;
  /*    user-select: none;*/
}

#logoSpalte #logos img {
  width: 60%;
  height: 100%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

#logoSpalte #logos img:hover {
  -webkit-transform: scale(1.2) !important;
          transform: scale(1.2) !important;
}

#logoSpalte [src*="x9"] {
  /*velger kun ekne småbåthavn*/
  max-width: 40%;
}

#logoSpalte [src*="x5"] {
  /*velger kun grad9*/
  max-width: 50%;
}

#logoSpalte [src*="x13"] {
  /*velger kun stunt*/
  max-width: 45%;
}

/*---------------------
CONTACT US
-----------------------*/
#contactUs {
  display: none;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  height: 90%;
}

#contactUs > p {
  padding: 10% 20px 0 20px;
}

a {
  text-decoration: none;
  color: #535353;
  border-bottom: 2px solid #F5515F;
  padding-bottom: 5px;
}

a:hover {
  border-color: #535353;
}

/*---------------------
Responsive code
-----------------------*/
@media screen and (max-width: 1000px) {
  #showReelTxt {
    font-size: 3rem;
    padding: 0 5vw;
    /*        margin-top: -6px;*/
  }
}

@media screen and (max-width: 750px) {
  #showReelTxt {
    font-size: 2rem;
    padding: 0 6vw;
  }
  /*If firefox run this code*/
  @-moz-document url-prefix() {
    #showReelTxt {
      margin-top: -1.6vh;
      /*Bug in firefox*/
    }
  }
}

/*Sørger for at når en iPhone plus viser siden så forsvinner rammen*/
@media screen and (max-width: 540px) {
  #phoneOuter {
    width: 100%;
    height: 100vh;
    border-radius: 0px;
  }
  video {
    max-height: 100%;
    max-width: 100%;
  }
  #bgBlack {
    display: none;
  }
  #pCenter {
    display: inherit;
  }
}

/*---------------------
Animation
-----------------------*/
@-webkit-keyframes downAni {
  40% {
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  45% {
    -webkit-transform-origin: 50% 60%;
            transform-origin: 50% 60%;
  }
  50% {
    -webkit-transform-origin: 50% 55%;
            transform-origin: 50% 55%;
  }
  55% {
    -webkit-transform-origin: 50% 65%;
            transform-origin: 50% 65%;
  }
  60% {
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
}
@keyframes downAni {
  40% {
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  45% {
    -webkit-transform-origin: 50% 60%;
            transform-origin: 50% 60%;
  }
  50% {
    -webkit-transform-origin: 50% 55%;
            transform-origin: 50% 55%;
  }
  55% {
    -webkit-transform-origin: 50% 65%;
            transform-origin: 50% 65%;
  }
  60% {
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
}

@-webkit-keyframes downAniDrop {
  0% {
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  46% {
    -webkit-transform-origin: 50% 400%;
            transform-origin: 50% 400%;
  }
  /*Down*/
  48% {
    opacity: 1;
  }
  49% {
    opacity: 0;
    -webkit-transform-origin: 50% 400%;
            transform-origin: 50% 400%;
  }
  50% {
    -webkit-transform-origin: 50% -400%;
            transform-origin: 50% -400%;
    opacity: 1;
  }
  /*Up*/
  70% {
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  /*Center*/
}

@keyframes downAniDrop {
  0% {
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  46% {
    -webkit-transform-origin: 50% 400%;
            transform-origin: 50% 400%;
  }
  /*Down*/
  48% {
    opacity: 1;
  }
  49% {
    opacity: 0;
    -webkit-transform-origin: 50% 400%;
            transform-origin: 50% 400%;
  }
  50% {
    -webkit-transform-origin: 50% -400%;
            transform-origin: 50% -400%;
    opacity: 1;
  }
  /*Up*/
  70% {
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  /*Center*/
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

/*----------------------------------------------------------------*/
