/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: rgba(255, 255, 255, 0.9);
    color:#222;
    text-shadow: none;
}

::selection {
    background: rgba(255, 255, 255, 0.9);
    color:#222;
    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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

body {
	background-color:#000;
	font-family: 'freight-micro-pro', Georgia, serif;
}

.out {
	width: 100%;
}

.in {
	width: 85%;
	max-width: 1000px;
	margin: 0 auto;
}

.text-in {
	width: 90%;
	margin: 0 auto;
}

p {
	margin: 1.5em auto;
	font-size: 1.6em;
	font-weight: 100;
	line-height: 1.6;
	text-align: left;
}

ol, ul {
	font-size: 1.6em;
	font-weight: 100;
}

p.callout {
	font-size:2em;
}

.bgvid {
	position: fixed;
	opacity:0.5;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
	background: url('/assets/vidcover2.jpg') no-repeat;
	background-size: cover;
}

.bgvid-ctas {
	position: relative;
	opacity: 0.4;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
	background: url('/assets/vidcover2.jpg') no-repeat;
	background-size: cover;
}

.main-text {
	text-align:center;
	margin:-30px auto 0;
	text-transform:uppercase;
	line-height: 0.9;
	font-size: 7.5em;
	font-family: 'pill-gothic-300mg',sans-serif;
}

.main-text h2, p.count {
	font-size: 0.15em;
	margin: 0 0 20px;
	font-weight: 600;
	letter-spacing: 0.15em;
	display: inline-block;
	border-bottom: 1px solid rgba(255,255,255,0.5);
	padding: 0 40px 20px;
}

p.count {
	border-bottom: 0px;
	border-top: 1px solid rgba(255,255,255,0.5);
	margin: 0;
	padding: 25px 40px 0;
	position: relative;
	top: -30px;
	text-align: center;
}

p.count span {
	background-color: #fff;
	color: #222;
	padding: 1px 2px 1px 5px;
	margin: 0 2px;
	position: relative;
	top: -1px;
}

.main-text h1 {
	font-size: 1em;
	margin: 0;
	font-weight: 900;
	animation: fade-in 2s 1;
	-webkit-animation: fade-in 2s 1;
	line-height: 0.95;
	letter-spacing: 0.05em;
	font-style: italic;
	color: #ffdb0f;
}

.act {
	text-align: center;
	margin-bottom:80px;
}

.jump {
	font-family: 'pill-gothic-300mg',sans-serif;
	text-transform:uppercase;
	color:#00b3f9;
	padding:3px 8px;
	border:2px solid #00b3f9;
	text-decoration:none;
	letter-spacing: 0.05em;
	font-size: 1.1em;
	animation: fade-in 4s 1;
	-webkit-animation: fade-in 4s 1;
	transition:opacity 0.2s ease;
}

.jump:hover {
	opacity:0.7;
}

.top {
	color:#fff;
	padding-bottom: 5px;
}

.model {
	background-color: #ffdb0f;
	padding: 40px 0 60px;
	margin-top: 80px;
	color: rgba(0,0,0,0.7);
}

.model ol {
	font-size: 1.25em;
}

.model ol li {
	margin: 0.9em auto;
}

.model h3 {
	font-family: 'pill-gothic-300mg',sans-serif;
	margin: 30px 0 40px;
	font-size: 4em;
	font-weight: 900;
	text-align: left;
	text-transform: uppercase;
	color: rgba(0,0,0,0.8);
	line-height: 1;
	border-bottom: 7px solid #fff;
	padding-bottom: 10px;
}

.model p {
	margin: 1em auto;
}

.logo {
	background-image:url('/assets/logo-v1p1.svg');
	display:inline-block;
	background-repeat:no-repeat;
	width: 80px;
	height: 30px;
	margin-top: 20px;
}

.cta {
	text-align: center;
	position: absolute;
	z-index: 10;
	top: 70px;
	transition: bottom 0.5s ease;
}

@-webkit-keyframes fade-in {
	0%, 70% {
        opacity:0;
	}
	100% {
        opacity:1;
	}
}

@keyframes fade-in {
	0%, 70% {
        opacity:0;
	}
	100% {
        opacity:1;
	}
}

.cta .btn {
	padding: 30px 40px 28px;
	border: 8px solid rgba(255,255,255,0.4);
	width: 35%;
	box-sizing: border-box;
	text-decoration: none;
	font-weight: 900;
	font-size: 3em;
	color: #fff;
	text-transform: uppercase;
	line-height: 0.9;
	font-family: 'pill-gothic-300mg',sans-serif;
	display: inline-block;
	margin: 0 4%;
	transition:background-color 0.2s ease, border-color 0.2s ease;
}

.cta .btn:hover {
	border: 8px solid rgba(255,255,255,1);
}


.cta .btn span {
	display: block;
	font-family: 'freight-micro-pro', serif;
	font-size: 0.35em;
	text-transform: none;
	font-weight: 100;
	color: rgba(0,0,0,0.8);
	margin-top: 5px;
}

.reg-btn {
	background-color: #00b3f9;
}

.reg-btn:hover {
	background-color: #5bd1ff;
}

.signup-btn {
	background-color: #FF4715;
}

.signup-btn:hover {
	background-color: #fd7650;
}

.remodal h1 {
	font-weight:900;
}

.remodal label {
	font-weight:600;
	letter-spacing: 0.05em;
}

.remodal #mc_embed_signup input[type="email"], .remodal #mc_embed_signup input[type="text"] {
	border: 3px solid #ccc;
	font-family: 'freight-micro-pro', serif;
	text-transform:none;
}

.remodal #mc_embed_signup input[type="email"]:focus, .remodal #mc_embed_signup input[type="text"]:focus {
	border: 3px solid #333;
	outline:none;
	box-shadow:none;
}

.remodal #mc_embed_signup .button {
	background-color: #9BD268;
	font-size: 1.5em;
	padding: 5px 30px;
	height: inherit;
	margin-top: 5px;
	border-radius:0px;
}

.remodal #mc_embed_signup .button:focus, .remodal #mc_embed_signup .button:hover {
	background-color: #73a741;
}

.wp-form {
	width:401px;
	height:700px;
	border: 0;
}

.info {
	overflow: hidden;
	max-height: 340px;
	position: relative;
}

.tooltip {
	background: url('/assets/tooltip.svg') no-repeat 0 0;
	width: 12px;
	height: 12px;
	display: inline-block;
	position: relative;
	top: -5px;
	left: 4px;
	cursor: pointer;
	transition:opacity 0.2s ease;
	margin-right: 5px;
}

.tooltip:hover {
	opacity:0.7;
}

.tooltipster-content p {
	font-size:1em;
	line-height:1.2;
	margin: 0;
}


@media (max-width: 800px) {
    
    .in {
		width: 90%;
	}

	.text-in {
		width: 95%;
	}
	
	.main-text h1 {
		font-size: 0.8em;
	}
    
}




@media (max-width: 550px) {
    	
	.main-text h1 {
		font-size: 0.6em;
	}
	
	.main-text h2 {
		line-height: 1.1;
		padding: 0 0px 20px;
	}
	
	.model h3 {
		font-size: 2.5em;
		border-bottom: 5px solid #fff;
	}
	
	.cta .btn span {
		font-size: 0.4em;
		margin-top: 7px;
	}
	
	.cta .btn {
		width: 80%;
		margin-bottom: 40px;
		padding: 25px 8%;
		font-size: 2.25em;
		border-width:6px;
	}
	
	.cta .btn:hover {
		border-width:6px;
	}
	
	.model {
		padding: 40px 0 50px;
		margin-top: 40px;
	}
	
	p.callout {
		font-size: 1.8em;
		line-height: 1.3;
	}
	
	p.count {
		top: 0px;
		margin-bottom: 40px;
		padding: 25px 20px 0;
	}
	
	.wp-form {
		width:300px;
	}
	
	.info {
		height: 450px;
		max-height: 450px;
	}
    
    .cta {
		top: 60px;
	}
    
}

@media (max-width: 400px) {
    	
	.main-text h1 {
		font-size: 0.5em;
		letter-spacing: 0;
	}
	
	p, ol, ul {
		font-size: 1.4em;
	}
	
	.remodal-overlay .remodal {
		padding: 25px;
	}
	
	.wp-form {
		width:270px;
	}
	
	.bgvid {
		display:none;
	}
	
	/*
	.mob-bg {
		background: url('/assets/vidcover-v.jpg') no-repeat;
		background-size: cover;
		width: 100%;
		min-height: 100%;
		position: fixed;
		z-index: -999;
	}
	*/
    
}






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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

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

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