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

/*
 * What follows is the result of much research on cross-browser styling.
 * Cblueit 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: #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;
}

:focus {
outline: 0;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html, body{ 
  margin: 0; 
  padding: 0; 
	height: 101%;
}
            


html.rider{ 
/*  animation-name: colorchange-rider;
  animation-duration: 12s;
  animation-iteration-count: infinite;*/
}
@keyframes colorchange {
      0%   {background-color: #ff7171;}
      10%   {background-color: #ff7171;}      
      50%  {background-color: #ff2b97} 
      90%   {background-color: #ff7171;}
      100% {background-color: #ff7171}
  }  

@keyframes colorchange-rider {
  0%   {background-color: #e2e2e2;}
  10%   {background-color: #e2e2e2;}     
  50%  {background-color: #cedff3;} 
  90%   {background-color: #e2e2e2;}
  100% {background-color: #e2e2e2;}
}    
  

@keyframes colorchange-text{
  0%   {color: #913dd1;}
  30%   {color: #4d4dad; }      
  50%  {color: darkblue} 
  60%   {color: #4d4dad;}
  100% {color: #913dd1}
}  

@keyframes colorchange-background{
  0%   {background-color: #913dd1;}
  30%  {background-color:  #4d4dad;}      
  50%  {background-color:  darkblue} 
  60%  {background-color:  #4d4dad;}
  100% {background-color:  #913dd1}
}  

@keyframes colorchange-border{
  0%   {border-color: #913dd1}
 30%   {border-color: #4d4dad;}      
  50%  {border-color: darkblue} 
  60%   {border-color: #4d4dad;}
  100% {border-color: #913dd1}
}  

/*@keyframes alt-colorchange-background{
  0%   {background-color:  #bcd86c;}
  50%  {background-color:  #d8f7b7}
  100% {background-color:  #bcd86c;}
}*/

@keyframes alt-colorchange-background{
  0%   {background-color:  #e8ffe9}
  50%  {background-color:  #d8f7b7}
  100% {background-color:#e8ffe9;}
}

@keyframes alt-colorchange-text{
  0%   {color:  #e8ffe9}
  50%  {color:  #d8f7b7;} 
  100% {color: #e8ffe9}
} 

html { 
  animation:alt-colorchange-background 20s ease 0s infinite normal;
/*  scroll-behavior:smooth;
*/ 
}  
  
body{
    color:black;
    margin: 0; 
    padding: 0;
    height: 100%;
    font-family:"lato", Arial, "Helvetica Neue", Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    letter-spacing:.02em;
    overflow-x: hidden;
    max-width: 100%;
    animation:alt-colorchange-background 20s ease 0s infinite normal;
    
    
}            


section {
  flex: 1 0 auto;
}

h1{
  font-size: 85.9vw;
  margin:-80px 0 0;
  line-height:85%;
  text-transform:uppercase;
  text-align:center;
  font-family:"lato", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight:700;
  letter-spacing:-75px;
  width: 100%;
  overflow: hidden;
  position: relative;
  left: -120px;
  padding-right: 120px;
  padding-bottom:30px;
  transition: filter 1s;
  animation:colorchange-text 20s ease 0s infinite normal;
  
}

h1:hover{
  filter: drop-shadow(16px 16px 10px yellow);
  transition: filter .5s;
}

h1 a{
  color:inherit;
  text-decoration:none;
  animation:colorchange-text 20s ease 0s infinite normal;
}

h1 a:hover span{
  color:#fffd46;
  text-decoration:underline;
}
   
h2{
  text-align:center;
  text-transform:uppercase;
  font-family:"lato", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight:700;
  font-size:35px;
  padding-top:25px;
  margin-top:0;
  position:fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index:1;
  letter-spacing:-1px;
  animation:colorchange-text 20s ease 0s infinite normal;
/*  filter: drop-shadow(16px 16px 10px yellow);
*/}  

h2{
  position:relative;
  margin-bottom:-90px;
}

h2:hover{
/*  filter: drop-shadow(16px 9px 10px yellow);
  transition: filter .5s;*/
}

h3{
  font-family:"lato", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight:700;
  text-transform:uppercase;
  text-align:center;
  margin:50px auto 15px;  
  padding-bottom:10px;
  font-size:15px;
  border-bottom:3px solid;
  animation:colorchange-border 20s ease 0s infinite normal;
;
  
}    

h4{
  text-transform:uppercase;
  font-family:"lato", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight:700;
  margin-top:2px;
  margin-bottom:2px;
  text-align:left;
  font-size:15px;
} 

h4.video-credit{
  text-align:center;
  margin: 20px auto;
  width: 100%;
  line-height: 2em;
  animation:alt-colorchange-background 20s ease 0s infinite normal;
  padding-top:20px;
} 
@media only screen and (max-width: 800px) {
  h4.video-credit{
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    line-height: 1.5em;
  } 
}

h4#about{
  text-align:center;
  margin:auto;
  max-width:500px;
  line-height:2em;
} 

.rider h2 a{
  text-decoration:none;
  color:black;
}

.rider h2 span{
  font-style: italic;
  font-size: 17px;
  letter-spacing: 1.6px;
  padding-left: 10px;
}

h4#about.rider{
  max-width:600px;
  padding-top:30px ;
  text-transform:none;
  font-weight:400;
}

h4#about.rider .product{
  text-transform:uppercase;
  font-weight:700;
  font-size:22px;
} 

h4#about.rider .title{
  border-bottom:3px solid darkblue;
  padding-top:8px;
  padding-bottom:8px;
  text-transform:uppercase;
  font-weight:700;
  line-height:41px;
} 

table{
  margin:40px auto;
}   

td{
  padding:5px 30px;
}

img.mainpic{
  width:70%;
  text-align:center;
  display:block;
  margin:auto;
}

.part-one, .part-two{
  background:black;
}

/**
 * Vimeo
 */

.vimeo-embed-container{ 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%; 
    height: auto; 
    margin:auto;
}

.vimeo-embed-container iframe, .vimeo-embed-container object, .vimeo-embed-container embed{ 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    
}

#client-container{
  padding-top:35px;
  margin-top:80px;
}

#client-container h3{
  width:600px; 
}

#about-container{
  margin-top:85px;
  padding-top:25px;
}

#about-container h3{
    width:94%; 
}

#about-container img{
  width:40%;
  text-align:center;
  display:block;
  margin:40px auto;
}

#clients{
  text-align:center;
  
}

#clients ul{
  display:inline-block;
  list-style-type:none;
  padding:0;
  margin:20px 15px;
}

.big-button-container{
  display: block;
  margin: 130px 5px 0 5px;
  text-align:center;
}

.big-button-container.rider{
  margin: 80px 5px 0 5px;
}

a.big-button{
  font-size: 35px;
  font-weight:700;
  margin-top: 50px;
  padding: 20px;
  background: black;
  text-decoration:none;
  animation:alt-colorchange-text 20s ease 0s infinite normal;
  
}

a.big-button:hover{
  background:darkblue;
  transition: all 0.4s ease-in-out;
}

footer{
  text-align:center;
  margin-top:60px;
}

footer ul{
  display:inline-block;
  list-style-type:none;
  padding:0;
  margin:20px 15px;
}

footer li, footer li h4{
  display:inline;
}

footer ul.extras{
  position:absolute;
  right:0;
  margin-top:20px;
}

footer ul.navigation li{
  padding:6px 12px;
}

footer ul.navigation li h4{
  font-size:24px;
}

footer a{
  text-decoration:none;
  animation:colorchange-text 20s ease 0s infinite normal;
  cursor:pointer;
}

footer a:hover{
  color:blue;
  transition: all 0.4s ease-in-out;
}

footer a.current{
  border-bottom:3px solid darkblue;
}

footer a.current:hover{
  border-bottom:3px solid blue;
}

/*  Lower navigation Extras */



a.contact-bottom{
  display:inline-block;
  padding: 5px;
  font-size: 13px;
  letter-spacing:.075em;
  text-decoration:none;
}

a.social{
  display:inline-block;
  text-decoration:none;
  padding-left:5px;
  font-size:20px;
}

a.social.email-icon{
  display:none;
}

.fa.fa-instagram, .fa.fa-tumblr, .fa.fa-envelope, .fa.fa-soundcloud, .contact-bottom{
  font-size:18px;
  margin-left:8px;
}

.fa:hover, .contact-bottom{
  color:blue;
  transition: all 0.4s ease-in-out;
}

#plus-link{
  font-size:23px;
  vertical-align:-2px;
}


.clear-all{
  clear:both;
}

/*  Animated Plus/Minus */

.closed .vertical {
    transition: all 0.5s ease-in-out;
    transform: rotate(-90deg);
}
.closed .horizontal {
    transition: all 0.5s ease-in-out;
    transform: rotate(-90deg);
    opacity: 1;
}

.opened {
  opacity: 1;
}  
.opened .vertical {
    transition: all 0.5s ease-in-out;
    transform: rotate(90deg);
}
.opened .horizontal {
    transition: all 0.5s ease-in-out;
    transform: rotate(90deg);
    opacity: 0;
}

.circle-plus {
    height: 4em;
    width: 4em;
    font-size: 1em;
    opacity: 1;
    position: relative;
    bottom: -8px;
    z-index:50;
}

.circle-plus .circle {
    position: fixed;
    width: 2.55em;
    height: 2.5em;
    right: 10px; 
    top:20px;
    cursor:pointer;
    filter:drop-shadow(-1px -1px 9px blue);
}

.circle-plus.opened .circle {
    filter:none;
}
.circle-plus .circle .horizontal {
    position: absolute;
/*    animation:colorchange-background 20s ease 0s infinite normal;
*/    
    background:yellow !important;
    width: 30px;
    height: 5px;
    left: 50%;
    margin-left: -15px;
    top: 50%;
    margin-top: -2.5px;
}
.circle-plus .circle .vertical {
    position: absolute;
/*    animation:colorchange-background 20s ease 0s infinite normal ;
*/    
    background:yellow !important;
    width: 5px;
    height: 30px;
    left: 50%;
    margin-left: -2.5px;
    top: 50%;
    margin-top: -15px;
}

.opened.circle-plus .circle .vertical {
  background:#8ab18e !important;
  filter:none !important;
}

.circle-plus .circle:hover .horizontal, .circle-plus .circle:hover .vertical{
  background-color:blue;
  transition: all 0.4s ease-in-out;
}

.circle-plus .plus-content{
  position:fixed;
  position: fixed;
  right: -405px;
  top: 15px;
  transition-property: right;
  transition-duration: .5s;
}

.circle-plus.opened .plus-content{
  right:51px;
  background: #8ab18e;  
}


.plus-content a.navlink-top, .plus-content .navlink-top{
  color: black;
  display: inline-block;
  padding: 20px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .075em;
  float: left;
  margin: 0;
  text-decoration: none;
  width: 100px;
  text-align: center;
}

.plus-content .navlink-top a{
  color: black;
  text-decoration: none;
}


.plus-content a.navlink-top:hover, .plus-content .navlink-top:hover{
/*  animation:colorchange-background 20s ease 0s infinite normal;
*/  
  background: #4d4dad;
  filter:none;
  font-style: italic;
  letter-spacing: 1.6px;
  transition: all 0.4s ease-in-out;
}



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

@media only screen and (max-width: 800px) {
  h1{
    font-size: 120vw;
    margin: -60px 0 0;
    line-height: 85%;
    letter-spacing: -50px;
    left: -60px;
    padding-right: 80px;
    padding-bottom: 40px;
    width: calc(100% - 20px);
    filter: drop-shadow(-20px 16px 10px #ffff0059);
 }
  
  h2, h2.scrolled{
    position:relative;
    margin:0 auto;
    font-size:23px;
    text-align:left;
    padding-left:15px;
/*    filter:drop-shadow(0px -14px 9px yellow);
*/  }
  
  img{
    width:100%
  }
  
  h3{
    width:100% !important;
  }
  
  #clients ul{
    display:block;
    margin:0 15px;
  }
  #clients li{
    margin-left:10px;
    margin-top:10px;
  }
  
  #about-container{
    margin-top:15px;
    padding-top:20px;
  }
  
  h4#about{
    text-align:left;
    margin-left:25px;
  }
  
  .big-button-container{
    margin-top:110px;
  }
  
  #client-container{
    margin-top:55px;
    padding-top:18px;
  }
  
  footer{
    text-align:left;
  }
  
  
  footer ul, footer ul.extras{
    position: relative;
    clear: both;
    float:right;
    margin: 10px 15px;
  }
  
  footer ul li{
    padding-left:10px;
  }
  
  footer ul.navigation li h4{
    font-size:20px;
  }
  
  a.social i.fa{
    font-size:25px;
  }
  
  footer a:hover, .fa:hover{
    color:darkblue;
  }
  
  footer a.current:hover{
    border-bottom:2px solid darkblue;
  }
  
  .circle-plus .circle:hover .horizontal, .circle-plus .circle:hover .vertical, .plus-content a.contact-bottom:hover, .circle-plus-bottom .circle:hover .horizontal, .circle-plus-bottom .circle:hover .vertical{
    background-color:darkblue;
  }
  
  .vimeo-embed-container{ 
      max-width: 100%; 
  }
  
}

@media only screen and (max-width: 470px) {
  .plus-content a.navlink-top, #content-link-top{
      padding:21px 10px;
      font-size: 12px;
      width:auto;
  }
}


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

/* SUBNAV STUFF FROM WP */


#content-link-top{
  cursor:pointer;
}

.plus-content .subnav {
		position:absolute;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    display: inline-block;
    padding: 5px;
    font-size: 13px;
    letter-spacing: .075em;
    text-decoration: none;
		color:black;
    background: #8ab18e;
    left: 200px;
    padding: 20px;
    text-align: left;
		display:inline-block;
	  height: 0;
		max-height:0;
	  top: 0;
	  line-height: 0;
	  z-index: -1;
	  transition: .3s ease-out;
    font-style:normal;
    text-transform: uppercase;
    font-family: 'Lato', Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 700;
    list-style:none;
}



@media only screen and (max-width: 1025px) {

	.circle-plus .plus-content a.navlink-top, .circle-plus .plus-content div.navlink-top{
/*    padding:5px 9px;
    width:auto;*/
	}
	#content-link-top .subnav, #content-link-top .content-label{
    display:none !important;
	}
	#content-sub-nav-mobile.subnav{
    display:block;
		position:fixed;
    width:100%;
		top:-310px;
		opacity:0;
    max-height:0;
    padding-left:11px;
    padding-right:11px;
    animation:colorchange-background 20s ease 0s infinite normal ;
    text-align:left;
	  transition:.3s ease-in;
	}
	
	#content-sub-nav-mobile.subnav.opened{
	  height: auto;
		max-height:100vh;
    width:100%;
		top:0;
    padding:100px 11px 10px;
	  line-height: inherit;
	  font-size: inherit;
	  transition:.3s ease-in;
		opacity:1;
		line-height: 30px;
    margin-top: 0;
    z-index: 51;
	}

	#content-sub-nav-mobile.subnav li a{
		opacity:1;
		transition-delay: .3s;
		line-height:30px;
    font-size:30px;
    font-weight:700;
    color:black;
    text-transform:uppercase;
    text-decoration:none;
	}

  
	#content-sub-nav-mobile.subnav li.close{
    margin-top:50px;
    transition-delay: .3s;
    line-height: 30px;
    color:black;
    text-transform: uppercase;
    font-size:45px;
	}
}

@media only screen and (min-width: 1025px) {
  #content-sub-nav-mobile, .content-label-mobile{
        display:none;
}
  
  #content-link-top:hover .subnav{
    height: auto;
  	max-height:300px;
    top: 40px;
    line-height: inherit;
    font-size: inherit;
    transition:.3s ease-in;
  }

  #content-link-top:hover .subnav.no-flicker{
  	display:none;
  }

  #content-link-top .subnav li{
  	opacity:0;
  	transition-delay: 0s;
  }

  #content-link-top:hover .subnav li{
  	opacity:1;
  	transition-delay: .2s;
    line-height: 2;
  }
  
	#content-sub-nav.subnav li a:hover{
    font-style:italic;
    letter-spacing: 2px;
  	transition-delay: .2s;
	}
}
