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

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: #000;
  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
   ========================================================================== */













/* montserrat-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/montserrat-v25-latin-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v25-latin-200.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/montserrat-v25-latin-200italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v25-latin-200italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v25-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/montserrat-v25-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v25-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v25-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/montserrat-v25-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v25-latin-700italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/montserrat-v25-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v25-latin-900.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/montserrat-v25-latin-900italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v25-latin-900italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}










body { 
	font-family: Montserrat;
	font-size: 1em;
	font-weight: 400;
	letter-spacing: 0.1em;
	color:#00115a;
}
   
#wrapall { 
	display: flex; 
	flex-direction: column; 
	height: 100vh;
	position: relative;
	text-align: center;
}


h1, h2, h3 {
	color: #00115a;
}

h1 { 
	font-weight: 900; 
	text-shadow: -1px 1px 2px #00115a,
				  1px 1px 2px #00115a,
				  1px -1px 0 #00115a,
				  -1px -1px 0 #00115a;

}
h1, h2 { letter-spacing: 0.15em; }
h2, h3 { font-weight: 800; }
h3 {
	text-shadow: -1px 1px 2px #00115a,
				  1px 1px 2px #00115a,
				  1px -1px 0 #00115a,
				  -1px -1px 0 #00115a;
}

a {
  text-decoration: none;
  color: #00ccff;
  font-weight: 800; 
  font-size: 1.5em;
  letter-spacing: 0.15em;
  line-height: 2.5em;
}

a:hover {
  color:#00115a;
}

a img {
	width: 1em;
	margin-top: -0.3em;
	margin-right: 0.5em;
	padding: 0;
	display:inline;
}

.header {
	display: flex; 
	flex-direction: column;
	flex-shrink:0;
	flex-grow: 0;
	width: 100vw;
	margin:0
}


#bikeshop-desc {
	background-color: #00ccff;
}

#bikeshop-desc h3 { color: white; }


.header-logos { 
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
}

.header-logos img { width: 4em; }

details > summary {
	color:#00ccff;
	display:none;
	font-weight:700;
	margin-top:1em;
	margin-bottom:1em;
	list-style:none;
	cursor:pointer;
}


.main { 
    background: url(../img/logo-white.png) no-repeat center center;
    background-size:80%;
	background-color:  #00ccff;
	/* background-color: #2f8ce4; */
	display: flex;
	height:25%;
	flex-basis: 25%;
	flex-grow: 0;
	flex-shrink: 0;
	justify-content: space-between;
	align-items: center;
	margin:0;
	padding:0;
}


.logo-text {
  background-color: #00ccff;
  color:white;
  font-size: 1.5rem;
  letter-spacing:0.5rem;
  margin:0;
  padding:0; 
  padding-bottom:1em; 
}

.footer { 
	display: flex;
	flex-direction: column;
	flex-grow: 30;
	justify-content: space-between;
	padding: 1em;
	z-index: 5;
}

.footer section { flex-grow: 1; }

.nolinkformat a {
  font-size: inherit;
  font-weight: 400;
  color:#00115a;
}

.nav {
	flex-grow:1;
}

.nav a, strong {
	font-size: 1rem;
}



.ctable {
	text-align: left;
	margin: 0 auto;
}

strong {
  font-weight: bold;
}





/* ANIMATIONS */


.heartbeat {
	width: 100vw;
	z-index: 0;
	visibility: hidden;
}

.intro-block {

  width:100%;
  text-align: center;
  padding-top: 20px;
}

.intro-block .monitor {

  padding: 0;
  max-width: 500px;
  margin: 0 auto;
}

.intro-block svg {

	max-width: 390px;
	margin-left: 20px;
	margin-right: 20px;
	position: relative;
	transition: all 0.5s ease-in-out;
}

.intro-block svg .ekg {
will-change: transform;
	fill: none;
	stroke: white;
	stroke-width: 6;
	stroke-linecap: round;
	stroke-linejoin: miter;
	opacity: 0;
	stroke-dashoffset: 1000;
	stroke-dasharray: 1000;
	animation: ekg 3.8s linear forwards 17;
}

.intro-block h1,
.intro-block h3,
.intro-block p {
  background-color: #0b0e13;
  width: 450px;
  margin: 0 auto;
  padding-top: 10px;
  border-left: 2px solid #0f3a4d;
  border-right: 2px solid #0f3a4d;
	text-shadow:  1px  1px 1px #0f3a4d,
	              1px -1px 1px #0f3a4d,
	             -1px  1px 1px #0f3a4d,
	             -1px -1px 1px #0f3a4d;
}

.intro-block p {
  border-radius: 0 0 20px 20px;
  border-bottom: 2px solid #0f3a4d;
  padding-bottom: 20px;
}

@keyframes ekg {
    0% {
      opacity: 0;
    }
    25% {
      opacity: 1;
    }
    50% {
      stroke-dashoffset: 2000;
    }
    99% {
      opacity: 0;
      stroke-dashoffset: 3000;
    }
    100% {
      stroke-dashoffset: 1000;
    }
}

/*****************************************/
.intro-block2 {

  width:100%;
  text-align: center;
  padding-top: 20px;
}

.intro-block2 .monitor {

  padding: 0;
  max-width: 500px;
  margin: 0 auto;
}

.intro-block2 svg {

	max-width: 390px;
	margin-left: 20px;
	margin-right: 20px;
	position: relative;
	transition: all 0.5s ease-in-out;
}

.intro-block2 svg .ekg {
will-change: transform;
	fill: none;
	stroke: white;
	stroke-width: 6;
	stroke-linecap: round;
	stroke-linejoin: miter;
	opacity: 0;
	stroke-dashoffset: 1000;
	stroke-dasharray: 1000;
	animation: ekg 3.8s linear forwards 17;
	animation-delay: 1.9s;
}

.intro-block2 h1,
.intro-block2 h3,
.intro-block2 p {
  background-color: #0b0e13;
  width: 450px;
  margin: 0 auto;
  padding-top: 10px;
  border-left: 2px solid #0f3a4d;
  border-right: 2px solid #0f3a4d;
	text-shadow:  1px  1px 1px #0f3a4d,
	              1px -1px 1px #0f3a4d,
	             -1px  1px 1px #0f3a4d,
	             -1px -1px 1px #0f3a4d;
}

.intro-block2 p {
  border-radius: 0 0 20px 20px;
  border-bottom: 2px solid #0f3a4d;
  padding-bottom: 20px;
}






/* ==========================================================================
   Media Queries 

@media only screen and (min-width: 20em) {
  .main { 
    background-size: 55%;
    flex-basis:30%;
  }
  .logo-text {
    font-size: 2.5rem;
    margin:0;
   }
}
* =========================================================================== */

@media only screen and (min-width: 35em) {
 
  .main { 
    background-size: 70%;
 
    height:50%;
  }
  
  .logo-text {
    font-size: 2rem;
    margin:0;
  }

  .header-logos { 
    display:flex;
  }
  
  details > summary {
    display:block; 
  }
}






@media only screen and (min-width: 40em) {  
  .main { 
    background-size: 55%; 
    height: 50vh;
  }
  
  .logo-text {
    padding-bottom: 0.5em;
  }
}





@media only screen and (min-width: 45em) {
  .main { 
    background-size: 38%;

  }
  .logo-text {
    font-size: 2rem;
    margin:0;
  }
}



@media only screen and (min-width: 70em) {
  body {
	font-size:1rem;
  }
  
  .heartbeat {
	visibility: visible;
  }

  
  .footer {
	flex-direction: row;
  }
  
  .underline {
	text-decoration: underline;
  }
  
  .header-logos img {
    width: 6rem;
  }
  
  .main {
   	background-size: 22%;
   	flex-basis:30%;
   }
   
  .logo-text {
    font-size: 2rem;
  }
}











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







@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;
  }
}

