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

html {
    color: white;
    font-size: 1em;
    line-height: 1.4;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

#gradientBackground {
	position: fixed;
	width: 100%;
	height: 100%;
	
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ec008c+0,fc6767+100 */
	/*background: rgb(236,0,140);
	background: -moz-linear-gradient(-45deg, rgba(236,0,140,1) 0%, rgba(252,103,103,1) 100%);
	background: -webkit-linear-gradient(-45deg, rgba(236,0,140,1) 0%,rgba(252,103,103,1) 100%);
	background: linear-gradient(135deg, rgba(236,0,140,1) 0%,rgba(252,103,103,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ec008c', endColorstr='#fc6767',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#00adf0+0,007ae9+100 */
	background: rgb(106,133,174); /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgb(106,133,174) 0%, rgb(27, 56, 100) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, rgb(106,133,174) 0%,rgb(27, 56, 100) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, rgb(106,133,174) 0%,rgb(27, 56, 100) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6A85AE', endColorstr='#1B3864',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	
	z-index: -10;
}

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

body {
	overflow-x: hidden;
}

nav {
	-webkit-backdrop-filter: blur(5px) saturate(200%);
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height:52pt;
    background:rgba(255, 255, 255, 0.9);
    padding:0;
    margin:0;
    z-index: 100;
}

nav ul {
	padding:0;
	margin:0;
	list-style: none;
}

nav li {
	float:right;
	height:36pt;
	display: inline-block;
	padding:16pt 16pt 0 12pt;
}

#badge {
	margin: 10pt 0pt 0 16pt;
}

#announcements {
	padding-top:60pt;
}

h1 {
	color: white;
	font-size: 44pt;
	font-weight: 900;
	padding:0;
	margin:64pt 0 0 0;
	line-height: 1.2;
}

h2 {
	padding:0;
	margin:0;	
	line-height: 1;
	font-weight: 400;
	font-size: 16pt;
}

h3 {
	font-size: 32pt;	
	line-height: 1;
	padding:0;
	margin:32px 0;
}

h4 {
	font-size: 24pt;	
	line-height: 1;
	padding:0;
}

a {
	/*color: #C3ED68;*/
	color: white;
	text-decoration: underline;
}

nav a {
	/*color: #EC008C;*/
	color: #0C2668;
	text-decoration: none;
}

.centerAligned {
	text-align: center;
}

.shadowed {
	box-shadow: 0px 8px 21px rgba(0, 0, 0, 0.19)
}

.restricted {
	width: 100%;
	max-width: 500pt;
	margin: auto;
	position: relative;
	z-index: 0;
}

.restricted > .paddingHorizontal {
	padding-left: 16pt;
	padding-right: 16pt;
}

.restricted > .paddingVerical {
	padding-top: 32pt;
	padding-bottom: 32pt;
}

.restricted > .paddingTop {
	padding-top: 32pt;
}

button#downloadButton {
	border:none;
	background-color: white;
	border-radius: 20pt;
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	padding: 8pt 16pt;
	margin:32pt auto 0pt;
	display:block;
}

img#heroImage {
	display: block;
	margin: 32pt auto;
/* 	width: 100%; */
	max-width: 500pt;
	position: relative;
}

img#heroImage1 {
	position:absolute;
	right:50%;
	margin-right:16pt;
	top:6pt;
}

img#heroImage2 {
	position:absolute;
	left:50%;
	top:6pt;
}

video#heroVideo {
	position: absolute;
	top:5pt;
	left: 50%;
	margin:0 0 0 -60pt;
	padding:0;
	background-image: url("/web/20191228071746im_/https://specto.it/img/hero1bg.png");
	background-size: contain;
}

#rebuilt {
	padding-bottom: 32pt;
}

#right {
	text-align: right;
	padding-bottom: 32pt;
}

.aquaGradient {
	
	background: rgb(14,176,160);
	background: -moz-linear-gradient(-45deg, rgba(14,176,160,1) 0%, rgba(0,249,199,1) 100%);
	background: -webkit-linear-gradient(-45deg, rgba(14,176,160,1) 0%,rgba(0,249,199,1) 100%);
	background: linear-gradient(135deg, rgba(14,176,160,1) 0%,rgba(0,249,199,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0eb0a0', endColorstr='#00f9c7',GradientType=1 );
}

.seaGradient {
	/*background: rgb(255,226,89);
	background: -moz-linear-gradient(-45deg, rgba(255,226,89,1) 0%, rgba(255,167,81,1) 100%);
	background: -webkit-linear-gradient(-45deg, rgba(255,226,89,1) 0%,rgba(255,167,81,1) 100%);
	background: linear-gradient(135deg, rgba(255,226,89,1) 0%,rgba(255,167,81,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe259', endColorstr='#ffa751',GradientType=1 );*/
	
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#48546b+0,03256c+100 */
	background: rgb(72,84,107); /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgb(72,84,107) 0%, rgb(3,37,108) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, rgb(72,84,107) 0%,rgb(3,37,108) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, rgb(72,84,107) 0%,rgb(3,37,108) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#48546b', endColorstr='#03256c',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.mangoGradient {
	background: rgb(255,226,89);
	background: -moz-linear-gradient(-45deg, rgba(255,226,89,1) 0%, rgba(255,167,81,1) 100%);
	background: -webkit-linear-gradient(-45deg, rgba(255,226,89,1) 0%,rgba(255,167,81,1) 100%);
	background: linear-gradient(135deg, rgba(255,226,89,1) 0%,rgba(255,167,81,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe259', endColorstr='#ffa751',GradientType=1 );
}

#rebuilt button, 
#right button {
	background: white;
	border:none;
	border-radius: 20pt;
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	padding: 8pt 16pt;
}

#dontSeeAnswer {
	padding:32pt 0;
}

.clearfix {
	clear:both;
	display:inline;
}

.faq {
	margin-bottom: 64pt; 
}

footer {
	font-weight: 700;
	font-size:11pt;
	padding: 64pt 0;
	opacity: 0.5;
}

#bigX {
	position: relative;
	z-index: 0;
}

section {
	position:relative;
}

#x {
	font-size:600pt;
	position: absolute;
	top:-750pt;
	right:-100pt;
	line-height: 1;
	font-weight: 900;
	opacity: 0.09;
	z-index: -1;
}

footer a {
	color: white;
	text-decoration: underline;
}

#popup-badge {
	padding: 24pt 0;
}

.haze {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:#ece5ef;
	background:rgba(237,230,240,0.75);
	z-index:1000;
	padding:25px 0 0 0;
	overflow:scroll;
	-webkit-overflow-scrolling: touch;
	-webkit-backdrop-filter: blur(5px) saturate(200%);
}

.popup {
	width:250px;
	position:absolute;
	top:0;
	left:50%;
	margin:50px 0 0 -155px;
	background:white;
	border-radius:6px;
	box-shadow:0px 5px 10px rgba(0,0,0,0.15);
	font-size:15px;
	padding:30px;
	color:#646464;
	overflow: hidden;
}
.popup a {
	color:black;
	text-decoration: underline;
}
#download-popup {
	text-align: center;
}
.popupMargin {
	position:absolute;
	top:0;
	left:0;
	height:100%;
	padding-bottom:50px;
}
.popup h3 {
	text-align:center;
	font-size:23px !important;
	margin-bottom:10px;
}
.popup h4 {
	font-size:18px;
	text-align: center;
	margin:-10px 0 20px;
}
.popup button.confirm, 
.popup button.cancel {
	margin:30px 0 5px;
	/* box-shadow:0 2px 2px rgba(0,0,0,0.2); */
	box-shadow: none;
}
.popup button.confirm {
	
}
.popup p {
	margin:10px 0;
}

.popup .sec-wrapper {
	width:300%;
	position: relative;
}
.popup .sec {
	width:250px;
	float:left;
	margin-right:30px;
}
.popup .app-store-badge {
	margin:20px 0;
}

a.warning {
	color: #bd0000;
	text-decoration: none;
}


/* ==========================================================================
   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 only screen and (max-width: 320pt) {
    nav li {
		padding:16pt 8pt 0 8pt;
	}
	#badge {
		margin: 10pt 0pt 0 8pt;
	}

}

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