/*! 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: #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: #000;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #444;
    margin: 0.3em 0;
    padding: 0;
    margin-bottom: 12px;
}

/*
 * 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
   ========================================================================== */
/* SCROLLBAR start */
::-webkit-scrollbar {
    width: 10px;
    background: #101010;
}
/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.7); 
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #ca0000; 
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.5); 
}
::-webkit-scrollbar-thumb:window-inactive {
  background: #555; 
}
/* SCROLLBAR end */

body {

    background-image: url("../img/Shinji-Portrait-background.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    text-rendering: optimizeSpeed;
    background-color:black;
}
#copy {
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    background: rgba(0,0,0,0.55);
    height: 100vh;
    text-rendering: optimizeSpeed;
}
h2 {
    font-size: 70px;
    margin-bottom: 0px;
    color: white;
    font-family: 'Sarala', sans-serif;
    font-weight: 100;
    letter-spacing: -0.06em;
    line-height: 1em;
    text-shadow: 0 5px 11px rgba(0,0,0,0.55);
    display: block;
    width: 50%;
    margin: 0 auto;
    margin-top: 36%;
    text-rendering: optimizeSpeed;
    transition: 0.23s ease;
}
h2:hover{
    transition: 0.53s ease;
    color: #d50000;
}
h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    transform: scaleX(0.62);
    font-weight: 400;
    color: #c2c2c2;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 0 5px 11px rgba(0,0,0,0.55);
    margin: 0 auto;
    margin-bottom: -7px;
    text-rendering: optimizeSpeed;
}
p {
    margin: 0;
    margin-left: 8px;
    color: white;
    font-family: 'Oswald',sans-serif;
    letter-spacing: 0.5em;
    font-size: 17px;
    font-weight: 100;
    text-transform: uppercase;
    transform: scaleX(0.76);
    margin-bottom: 11px;
    text-rendering: optimizeSpeed;
}

#copy h4 {
    display:none;
}

/* h4 a{
    font-size: 26px;
    transition: 0.23s;
    text-decoration: none;
    color: white;
    margin: 0 9px;
}

h4 a:hover{
    transition: 0.13s;
    color: #ec0000;
}
*/ 

#tag {
    position: fixed;
    width: 215px;
    height: auto;
    transform: scale(0.35);
    bottom: -30px;
    margin-left: -108px;
}













/* ==========================================================================
   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 (min-width: 319px) and (max-width: 480px) {
    h2 {
        width: 100%;
        line-height: 0.8em;
        margin-bottom: 8px;
        margin-top: 120px;
    }
    p {
        font-size: 18px;
        letter-spacing: 0.18em;
        /* margin-left: -15px;*/
    }
}

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