/*! HTML5 Boilerplate v5.3.0 | 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: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * 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;
}

/* ==========================================================================
     custom Chive styles
   ========================================================================== */

/* Colors 

Black: #171717;
Dark green: #64B243;
Light Green: #AED33E;
Orange: #EDB700;
Light gray: #EFEFEF;
Dark Gray: #555555;
*/

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    color: #171717;
}

/* GENERAL */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.bigbold {
    font-size: 133%;
    color: #64B243;
    font-weight: 900;
}

.thick, strong {
    font-weight: 900;
}

.thick--green, .green {
    color: #AED33E;
}

.white { 
    color: white;
}

.section-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 30px 0;
    color: #171717;
}

.section-subheading {
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    margin-top: -30px;
    margin-bottom: 30px;
}

.body-par { 
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .container { padding: 0 30px; }
}

.container--tight {
    max-width: 800px;
}

@media (max-width: 800px) {
    .container { padding: 0 30px; }
}

@media (max-width: 419px) {
    .container { padding: 0 15px; }
    .section-heading { font-size: 28px; }
}

@media (max-width: 350px) {
    body { font-size: 16px; }
    .body-par { font-size: 16px; margin-bottom: 20px; }
}

/* END GENERAL */

/* TITLE BAR */

.title-bar {
    background: #171717;
    color: white;
    padding: 30px 0;
    position: fixed;
    z-index: 100;
    width: 100%;
}

.title-bar a {
    color: white;
}

a.title-bar__logo {
    font-size: 24px;
    font-weight: normal;
    float: left;
    line-height: 1;
    text-decoration: none;
}

.title__nav {
    float: right;
}

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

.title__nav-item {
    display: inline-block;
    text-transform: uppercase;
    font-size: 18px;
    margin-right: 15px;
}
.title__nav-item:last-child {
    margin-right: 0;
}

.title__nav-item a {
    color: white;
    text-decoration: none;
}

nav input,
nav label {
    display: none;
    width: 36px; 
    height: 36px;  
} 

nav label { 
    transition: .4s;
}

nav label:hover {
    cursor:pointer;
}


@media (max-width: 900px) {
    
    .title__nav {
        clear: both;
        width: 100%;
        text-align: right;
        margin-top: 15px;
    }

    nav ul{
        display: none; 
        box-shadow: 0 0 5px rgba(0,0,0, .7);
    }

    nav li{
        width: 100%;
        /*border-bottom: solid 1px #777;*/
        margin-bottom: 5px;
    } 

    nav input[type="checkbox"] {
        float: right;
    }

    nav input[type="checkbox"]:checked + ul{
        display: block;
        width: 100%;
        
    }

    nav label {
        position: absolute; 
        top: 24px; 
        right: 30px; 
        display: block; 
        float: right;
    }  
} 

@media (max-width: 740px) {
    .title-bar {
        padding: 15px 0;
    }
    nav label {
        top: 10px; 
    }
}

@media (max-width: 419px) {
    .title-bar { position: static; }
    a.title-bar__logo { font-size: 20px; }
}


/* END TITLE BAR */

/* HERO AREA */

.hero {
    background: url(../img/bg-chive.jpg) top center;
    background-attachment: fixed;
    border-bottom: 20px solid #171717;
}

.hero__headings {
    padding: 110px 0 50px;
    text-align: center;
    color: white;
    text-transform: uppercase;
}

.hero__main-heading {
    font-size: 64px;
    font-weight: 900;
    margin: 0 0 15px;
}

.hero__subheading {
    font-size: 24px;
    font-weight: bold;
}

.hero__video {
    margin-bottom: 60px;
}

#vidwrap {
    width: 100%;
    height:423px;
    max-width: 750px;
    position: relative;
}

#vidwrap iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

@media (max-width: 740px) {
    .hero__main-heading {
        font-size: 48px;
        line-height: 1;
    }
    .hero__subheading {
        font-size: 20px;
        margin-top: 0;
    }
}

@media (max-width: 419px) {
    .hero__headings { padding-top: 30px; }
}

/* END HERO AREA */

/* WORK HISTORY */

.jobs {
    max-width: 380px;
    background: #171717;
    padding: 15px;
    margin: 50px auto;
    
}

.jobs__inner {
    border: 1px solid #AED33E;
    padding: 30px;
}

.jobs__title {
    text-align: center;
    color: white;
    text-transform: uppercase;
    margin: 0;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.jobs__title--designer {
    font-size: 48px;
    color: #AED33E;
}

.jobs__title--web-developer {
    font-size: 29px;
}

.jobs__title--copywriter {
    font-size: 38px;
}

.jobs__title--content-creator {
    font-size: 26px;
}

.jobs__title--video-editor {
    font-size: 35px;
}

.jobs__title--on-screen {
    font-size: 25px;
}

.jobs__title--bartender {
    font-size: 20px;
}

@media (max-width: 375px) {
    .jobs__title--designer {font-size: 38px; color: #AED33E;}
    .jobs__title--web-developer {font-size: 23px;}
    .jobs__title--copywriter {font-size: 29px;}
    .jobs__title--content-creator {font-size: 20px;}
    .jobs__title--video-editor {font-size: 27px;}
    .jobs__title--on-screen {font-size: 19px;}
    .jobs__title--bartender {font-size: 15px;}
}

/* END WORK HISTORY */

/* ACCOMPLISHMENTS */

.accomplishments__group {
    margin-bottom: 50px;
}

.accomplishments__good {
    padding: 30px; 
}

.accomplishments__bad {
    background: #171717;
    padding: 30px;
}

.accomplishments__par--good {
    font-size: 30px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: white;
}

.accomplishments__par--good a {
    color: white;
}

.accomplishments__par--bad {
    color: #9B9B9B;
}

.accomplishments__good--HAL {
    background: url(../img/bg-HAL.jpg) no-repeat #64B243;
    background-size: cover;
}

.accomplishments__good--invision {
    background: url(../img/bg-invision.jpg) no-repeat #EDB700;
    background-size: cover;
}

.accomplishments__good--TCC {
    background: url(../img/bg-class.jpg) no-repeat #64B243;
    background-size: cover;
}

.accomplishments__good--hubze {
    background: url(../img/bg-hubze.jpg) no-repeat #EDB700;
    background-size: cover;
}

.accomplishments__good--ADDYs {
    background: url(../img/bg-addys.jpg) no-repeat #64B243;
    background-size: cover;
}

.accomplishments__img {
    margin: 30px 0;
    border: 1px solid #9B9B9B;
    display: inline-block;
}

@media (max-width: 401px) {
    .accomplishments__good, .accomplishments__bad { padding: 15px; }
    .accomplishments__par--good { font-size: 20px; }
    .accomplishments__img img { width:100%; max-width: 300px; }
}

/* END ACCOMPLISHMENTS */

/* CHIVERY DESIGNS */

.shirts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px 0;
}

.shirts__display {
    margin: 20px;
    border: 1px solid #979797;
    position: relative;
}

.shirts__snipe {
    background: url(../img/icon-flame.png) no-repeat 5px center rgba(174, 211, 62, 0.8);
    padding: 5px 10px 5px 20px;
    position: absolute;
    top: 20px;
    display: block;
    color: white;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.3)

}

@media (max-width: 1156px) {
    .shirts { flex-direction: column; align-items: center; }
    .shirts__display { margin-bottom: 30px; }
}

@media (max-width: 350px) {
    .shirts { margin-bottom: 0; }
}

/* END CHIVERY DESIGNS

/* BEER TALK */

.beer-talk {
    margin-bottom: 100px;
}

.card {
    max-width: 700px;
    background: url(../img/wizard-chef-me.png) no-repeat -100px -15px #64B243;
    padding: 30px;
    border: 1px solid #171717;
    margin: 0 auto;
    text-align: right;
}

.card__name {
    font-size: 48px;
    text-transform: uppercase;
    margin: 0;
}

.card__title {
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 0;
}

.card__info {
    text-transform: uppercase;
    margin: 0;
}

.card__info a {
    color: #171717;
    font-weight: bold;
}

.card__vid-launch {
    position: relative;
    bottom: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left:0;
}

@media (max-width: 690px) {
    .card { 
        background-position-x: -50px; 
        background-position-y: 25px;
        padding: 15px;
        background-size: contain; 
    }
}

@media (max-width: 548px) {
    .card__name { font-size:36px; }
    .card__title { font-size: 18px; }
}

@media (max-width: 510px) {
    .card { background-image: none; text-align: center; }
}

/* ========================================================================
    Typed.js
   ======================================================================= */

    .typed-cursor{
    opacity: 1;
    -webkit-animation: blink 1s infinite;
    -moz-animation: blink 1s infinite;
    animation: blink 1s infinite;
}
@keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}

/* =========================================================================
    Headroom
    ======================================================================= */


.headroom {
    -webkit-transition: transform 0.2s linear;
    -moz-transition: transform 0.2s linear;
    transition: transform 0.2s linear;
}
.headroom--pinned {
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
     transform: translateY(0%);
}
.headroom--unpinned {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
}

/* ========================================================
    Magnify
=========================================================== */

.MagnifyWrapper { position: relative; }

.MagnifyWrapper img {
    /*width: 100%;*/
    max-width: 383px;
    max-width: none;
    clear: both;
    display: block;
}

/*Lets create the magnifying glass*/
.magnifyingGlass {
    width: 300px; height: 300px;
    position: absolute;
    border-radius: 100%;
    
    /*Multiple box shadows to achieve the glass effect*/
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.85), 
    0 0 7px 7px rgba(0, 0, 0, 0.25), 
    inset 0 0 40px 2px rgba(0, 0, 0, 0.25);
    
    
    /*hide the glass by default*/
    display: none;
}


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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    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: " "; /* 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,
    *:first-letter,
    *:first-line {
        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,
    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;
    }

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

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

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