/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[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
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * 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: "";
  display: table;
}

.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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* CUSTOM */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100dvh;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: 14px;
  font-weight: 200;
  font-style: normal;
}

body.company {
  height: 300dvh;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: coverx;
  z-index: -1;
}

.company .background {
  background: url('../img/background.jpg') no-repeat center center/cover;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.container {
  text-align: center;
}

.company .container {
  position: fixed;
  height: 100dvh;
  width: 100%;
}

/* NOTE: .app-landing-page rules have been extracted to app-common.css 
   These rules below are kept for backwards compatibility and will be overridden by app-common.css */

.app-landing-page .container {
  flex: 1;
  width: 600px;
  max-width: 90%;
  margin: 0 auto;
}

.logo {
}

.company .logo {
  width: 400px;
  max-width: 90%;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear, width 0.1s linear, top 0.1s linear;
}

@media screen and (max-width: 767px) {
  .company .logo {
    max-width: 90%;
  }
}

.app-landing-page .logo {
  width: 200px;
  margin-top: 60px;
}

.app-landing-page .presents {
  text-transform: uppercase;
  font-size: 10px;
}

.app-landing-page .app-icon {
  position: relative;
  margin: 24px 0;
  width: 300px;
  height: 300px;
  max-width: 90%;
  left: 50%;
  transform: translate(-50%, 0%);
  border-radius: 12px;
  background-image: url('../img/app/Borg_logo_2017-gradient1.png');
  background-size: cover;
}

.content {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 620px;
  height: fit-content;
  min-height: 60%;
  overflow-y: auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.0);
  border-radius: 10px;
  color: white;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
}

.contentBlock {
  line-height: 1.6;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  bottom: 0;
  transition: opacity 1.0s ease, transform 1.0s ease;
}

.contentBlock p {
  line-height: 1.6;
  margin-bottom: 12px;
}

.contentBlock ul {
  margin: 10px 0;
  list-style-position: inside;
}

.app-landing-page .description {
  text-align: left;
  padding: 10px;
}

.app-landing-page .description p {
  text-align: justify;
  margin: 6px 0;
}

.app-landing-page .description h3 {
  margin: 24px 0 6px 0;
  font-weight: normal;
}

.app-landing-page .description h4 {
  margin: 6px 0 6px 0;
  font-size: 12px;
}

.app-landing-page .description li {
  list-style: outside;
  padding-inline-start: 0;
  margin-left: 20px;
}

.footer {
  border-radius: 5px;
  font-size: 11px;
  font-weight: 300;
  white-space: nowrap;
  width: fit-content;
  min-width: 30%;
  padding: 2px 20px;
  text-align: center;
}

.company .footer {
  position: absolute;
  top: calc(100dvh - 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.app-landing-page .footer {
  position: relative;
  margin-top: 30px;
  margin-bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(0%);
  background-color: rgba(235, 235, 235, 0.80);
  color: rgba(0, 0, 0, 0.6);
}

.footer a, .footer a:active, .footer a:hover {
  text-decoration: none;
}

.company .footer a, .company .footer a:active, .company .footer a:hover {
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.6);
}

.app-landing-page .footer a, .app-landing-page .footer a:active, .app-landing-page .footer a:hover {
  color: rgba(0, 0, 0, 0.6);
  border-bottom: 1px dotted rgba(0, 0, 0, 0.6);
}

.iconBar {
  list-style-image: none;
  list-style-type: none;
}

.iconBar li {
  display: inline;
  padding: 10px 10px;
  line-height: 40px;
}

.iconBar img {
  max-height: 40px;
  max-width: 100px;
}

.iconBar img.line {
  max-height: 20px;

  @media screen and (max-width: 767px) {
    max-height: 20px;
  }
}

.iconBar img.lineMedium {
  max-height: 30px;

  @media screen and (max-width: 767px) {
    max-height: 20px;
  }
}

.hidden-scrollbar {
  overflow-y: auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.hidden-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

.no-transitions * {
  transition: none !important;
}

.hidden {
  display: none;
}

@media screen and (max-width: 767px) {
  _::-webkit-full-page-media, _:future, :root .safariBottom {
    padding-bottom: 65px; //resize
  }
}

#debug {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  width: 100px;
  height: 100px;
  background-color: red;
}

/* BUTTON  */

.button-9 {
  backface-visibility: hidden;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  border-width: 0;
  box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .1) 0 2px 5px 0, rgba(0, 0, 0, .07) 0 1px 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
  font-size: 100%;
  height: 44px;
  line-height: 1.15;
  margin: 6px 0 12px 0;
  outline: none;
  overflow: hidden;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-transform: none;
  transform: translateZ(0);
  transition: all .2s, box-shadow .08s ease-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  max-width: 400px;
}

.button-9:disabled {
  cursor: default;
}

.button-9:focus {
  box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .2) 0 6px 15px 0, rgba(0, 0, 0, .1) 0 2px 2px 0, rgba(50, 151, 211, .3) 0 0 0 4px;
}

/** PULSATING ARROW, https://codepen.io/karloespiritu/pen/doOWZK */

.page-scroll {
  position: absolute;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 80px;
}

.page-scroll .btn-circle i.animated {
  -webkit-transition-property: -webkit-transform;
  -webkit-transition-duration: 1s;
  -moz-transition-property: -moz-transform;
  -moz-transition-duration: 1s;
  -webkit-animation-name: pulse;
  -moz-animation-name: pulse;
  -webkit-animation-duration: 1.5s;
  -moz-animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
}

.page-scroll .btn-circle:hover i.animated {
  -webkit-animation-name: pulse;
  -moz-animation-name: pulse;
  -webkit-animation-duration: 1.5s;
  -moz-animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-moz-keyframes pulse {
  0% {
    -moz-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -moz-transform: scale(1);
    transform: scale(1);
  }
}
