/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Titan+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
  color: #222;
  font-size: 1em;
  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;
}

/* ==========================================================================
   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
 */

.sr-only {
  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 .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.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
 *
 * 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: " ";
  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;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/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;
  }
}

p, li {
  font-family: "Roboto";
  font-weight: 400;
}

h1 {
  font-family: "Playfair Display" !important;
  font-weight: 900 !important;
  color: #252728;
  line-height: 100% !important;
  padding: 1em 0;
  transform: scale(1, 1.15) !important;
  /* Safari and Chrome */
  -webkit-transform: scale(1, 1.15) !important;
  /* Firefox */
  -moz-transform: scale(1, 1.15) !important;
  /* IE 9+ */
  -ms-transform: scale(1, 1.15) !important;
  /* Opera */
  -o-transform: scale(1, 1.15) !important;
}

h2 {
  font-family: "Playfair Display" !important;
  font-weight: 900 !important;
  color: #252728 !important;
  line-height: 100% !important;
  padding: 1em 0;
  transform: scale(1, 1.15) !important;
  /* Safari and Chrome */
  -webkit-transform: scale(1, 1.15) !important;
  /* Firefox */
  -moz-transform: scale(1, 1.15) !important;
  /* IE 9+ */
  -ms-transform: scale(1, 1.15) !important;
  /* Opera */
  -o-transform: scale(1, 1.15) !important;
}

.header {
  text-align: left;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.header-inner {
  padding: 0 2em;
  width: 100%;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: baseline;
  font-family: 'Titan One';
  font-weight: 600;
}

.header-inner-always-center {
  padding: 0 2em;
  width: 100%;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-family: 'Titan One';
  font-weight: 600;
}

@media (min-width: 992px) {
  .header-inner {
    padding: 0 2em;
  width: 100%;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-family: 'Titan One';
  font-weight: 600;
  }
}

.navigation {
  text-align: center;
  width: 100%;
  padding: 1em;
  background-color: #fff;
  border-top: 1px solid rgba(0,0,0,0.2);
  position: fixed;
  bottom: 0;
  left: 0;
}

.login {
  text-align: right;
  position: fixed;
  top: 3em;
  right: 3em;
}

.button, input[type="submit"] {
  color: #000;
  text-decoration: none !important;
  background-color: #ffd97f;
  font-family: "Roboto";
  font-weight: 600 !important;
  padding: 16px 25px;
  border: 2px solid #ffd97f;
  border-radius: 0px;
  display: inline-block;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 #ffd97f;
  -webkit-transition: ease-out 0.2s;
  -moz-transition: ease-out 0.2s;
  transition: ease-out 0.2s;
}

.wide {
  padding: 16px 45px !important;
}

.button.black {
  color: #252728;
  text-decoration: none !important;
  background-color: rgba(0,0,0,0);
  font-family: "Roboto";
  font-weight: 600 !important;
  padding: 16px 25px;
  border: 1px solid #252728;
  border-radius: 0px;
  display: inline-block;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 #252728;
  -webkit-transition: ease-out 0.2s;
  -moz-transition: ease-out 0.2s;
  transition: ease-out 0.2s;
}

.button.black.filled {
  color: #fff !important;
  text-decoration: none !important;
  background-color: #252728;
  font-family: "Roboto";
  font-weight: 600 !important;
  padding: 16px 25px;
  border: 1px solid #252728;
  border-radius: 0px;
  display: inline-block;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 #252728;
  -webkit-transition: ease-out 0.2s;
  -moz-transition: ease-out 0.2s;
  transition: ease-out 0.2s;
}

input[type="submit"] {
  padding: 12px 20px;
}

.button.small {
  background-color: rgba(0,0,0,0);
  font-family: "Roboto";
  font-weight: 600 !important;
  font-size: 85%;
  padding: 7px 14px !important;
  border: 1px solid #252728;
  border-radius: 0px;
  display: inline-block;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 #252728;
  -webkit-transition: ease-out 0.2s;
  -moz-transition: ease-out 0.2s;
  transition: ease-out 0.2s;
}

.button:hover, input[type="submit"]:hover {
  background-color: rgba(0,0,0,0);
}

.button.black:hover {
  background-color: rgba(0,0,0,8);
  color: #fff !important;
}

.mb-1 {
  margin-bottom: 1em;
}

.mb-2 {
  margin-bottom: 2em;
}

.mb-4 {
  margin-bottom: 4em;
}

a {
  color: #252728 !important;
}

a:visited {
  color: #252728;
}

a.button {
  text-decoration: none !important;
}

input[type="email"], input[type="password"] {
  border: 1px solid #252728; /*ffd162*/
  padding: 16px 25px;
  font-family: "Roboto";
  border-radius: 0px;
  width: 13em;
}

input[type="email"]:focus, input[type="password"]:focus {
  outline: none;
  border: 1px solid #252728;
}

.bg-slogan-stamp {
  background: none;
}

.bg-bag {
  background-color: #fff !important;
}

.display-1 {
  font-weight: 900 !important;
}

.display-3 {
  font-weight: 900 !important;
}

@media (min-width: 576px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
  .bg-slogan-stamp {
    padding-top: 90px;
    padding-bottom: 90px;
    background-image: url('../img/fresh-roast-stamp.svg');
    background-repeat: no-repeat;
    background-position: top right;
  }

  .bg-handheld {
    background-color: #ecedef !important;
    /*background-image: url('../img/iphone-mockup-clean-pink-centered.png');*/
    background-repeat: no-repeat;
    background-position: left center;
  }

  .bg-bag {
    background-color: #fff !important;
    /*background-image: url('../img/bag-mockup-text.png');*/
    background-repeat: no-repeat;
    background-position: right 300px center;
    background-size: 25%;
  }
}

#phone-mockup-text {
  transform: translateY(-6em);
}

#bag-mockup-text {
  transform: translateY(-1em);
}

@media (min-width: 992px) {
  #phone-mockup-text {
    transform: none;
  }

  #bag-mockup-text {
    transform: none;
  }
}



/* Loader 1 */
.loader-1 {
	height: 32px;
	width: 32px;
	-webkit-animation: loader-1-1 4.8s linear infinite;
	        animation: loader-1-1 4.8s linear infinite;
}
@-webkit-keyframes loader-1-1 {
	0%   { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes loader-1-1 {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.loader-1 span {
	display: block;
	position: absolute;
	top: 0; left: 0;
	bottom: 0; right: 0;
	margin: auto;
	height: 32px;
	width: 32px;
	clip: rect(0, 32px, 32px, 16px);
	-webkit-animation: loader-1-2 1.2s linear infinite;
	        animation: loader-1-2 1.2s linear infinite;
}
@-webkit-keyframes loader-1-2 {
	0%   { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(220deg); }
}
@keyframes loader-1-2 {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(220deg); }
}
.loader-1 span::after {
	content: "";
	position: absolute;
	top: 0; left: 0;
	bottom: 0; right: 0;
	margin: auto;
	height: 32px;
	width: 32px;
	clip: rect(0, 32px, 32px, 16px);
	border: 3px solid #000;
	border-radius: 50%;
	-webkit-animation: loader-1-3 1.2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
	        animation: loader-1-3 1.2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
}
@-webkit-keyframes loader-1-3 {
	0%   { -webkit-transform: rotate(-140deg); }
	50%  { -webkit-transform: rotate(-160deg); }
	100% { -webkit-transform: rotate(140deg); }
}
@keyframes loader-1-3 {
	0%   { transform: rotate(-140deg); }
	50%  { transform: rotate(-160deg); }
	100% { transform: rotate(140deg); }
}

#splash {
  padding-top: 7em;
}


@media (min-width: 576px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
  #splash {
    padding-top: 0em;
  }
}

.text-lg-start {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1em;
}

.text-lg-start-inner {
  transform: translateY(-3em);
}

.splash-main-text {
  transform: translateY(-7em);
}

@media (min-width: 992px) {
  .text-lg-start {
    margin-bottom: 0em;
  }
  
  .text-lg-start-inner {
    transform: translateY(0);
  }

  .splash-main-text {
    transform: translateY(0);
  }
}

#intro {
  background-color: #ecedef !important;
  min-height: 80vh;
  position: relative;
  z-index: 30 !important;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
}

.timeline {
  border-left: 1px solid #a3a3a3;
  position: absolute;
  top: 25px;
  left: -21px;
  height: 80%;
}

.listitem {
  min-width: 25px !important;
  height: 25px !important;
  margin-right: 2em;
  background-color: #252728;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  font-size: 0.7em;
  font-weight: 900;
}

.button.quiz {
  font-size: 0.75em !important;
  font-weight: 400 !important;
  background-image: url('../img/circle-black.svg');
  background-position: 1em center;
  background-repeat: no-repeat;
}

.button.quiz.filled, .button.quiz:hover {
  font-size: 0.75em !important;
  font-weight: 400 !important;
  background-image: url('../img/check-circle.svg');
  background-position: 1em center;
  background-repeat: no-repeat;
}

@media (min-width: 992px) {
  .button.quiz {
    font-size: 1em;
    font-weight: 400 !important;
    background-image: url('../img/circle-black.svg');
    background-position: 1em center;
    background-repeat: no-repeat;
  }
}

.arrow-up {
  width: 10px;
  height: 10px;
  position: relative;
  left: calc(20%);
  top: calc(-1em - 10px);
  transform: translateX(-10px);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
  .arrow-up {
    width: 10px;
    height: 10px;
    position: relative;
    left: calc(13%);
    top: calc(-1em - 10px);
    transform: translateX(-10px);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0,0,0,0.08);
  }
}