/*! HTML5 Boilerplate v5.2.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;*/
    
    font: 1rem/2rem 'Merriweather', Times New Roman, serif;
}
/*
 * 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
 */
/*
 * 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
   ========================================================================== */
/* ==========================================================================
   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 {
        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;
    }
}
.container {
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}
/*My stuff*/

.logo {} .hero {
    background: linear-gradient(rgba(86, 215, 228, 0.4), rgba(255, 255, 255, 0.4)), url('../img/hero.jpg') no-repeat center bottom/cover;
    top: 0;
    left: 0;
    height: 80vh;
}
.nav-container {
    margin: 0 30px;
}
ul.nav.nav-pills.pull-right {
    margin-top: 15px;
}
.nav>li>a:focus,
.nav>li>a:hover {
    background: none;
    color: #FFF600;
}
.nav li a {
    font-size: 1rem;
    font-family: 'Muli', sans-serif;
}
/*hover effect*/
/* Effect 2: 3D rolling links, idea from http://hakim.se/thoughts/rolling-links */

.hover-effect a {
    color: #5A989E;
    text-shadow: none;
    padding: 10px 0;
}
.hover-effect a::before {
    color: #fff;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
    content: attr(data-hover);
    position: absolute;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
}
.hover-effect a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    opacity: 0;
    -webkit-transform: translateY(5px);
    -moz-transform: translateY(5px);
    transform: translateY(5px);
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
}
.hover-effect a:hover::before,
.hover-effect a:focus::before {
    opacity: 0;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    transform: translateY(-2px);
}
.hover-effect a:hover::after,
.hover-effect a:focus::after {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
}
a {
    color: #53B584
}
a:hover {
    color: #9DD0B6
}
.intro {
    margin: 0 auto;
    width: 60%;
    padding-top: 30vh;
    font: italic 400 30px/40px "Gentium Book Basic", serif;
    color: #488990;
    text-shadow: 1px 1px 4px #B1C1C5;
}
.navbar-toggle .icon-bar {
    background: #FFF600;
}
.navbar-toggle {
    padding: 18px 10px;
}
.navbar-collapse.in {
    overflow-y: hidden;
    float: left;
}
.navbar-brand {
    position: relative;
    height: 70px;
}
.navbar-fixed-top {
    /*background: linear-gradient(#BBEAE2, #C2EEDC);
    border: 0px;*/
    position: absolute;
}
.about {
    margin: 50px 0;
}
.about p {
    font: 20px/40px 'Julius Sans One', Helvetica, sans-serif;
    text-align: center;
    font-weight: bold;
    color: #666A6B;
}
.about span {
    background: rgba(188, 232, 230, 0.48);
    padding: 0 2px;
}
.work {
    min-height: 600px;
    position: relative;
    display: block;
    margin-bottom: 50px;
}
.work h2,
.work h3,
.skills h2,
.contact h2 {
    font: 28px/40px 'Julius Sans One', Helvetica, sans-serif;
    text-align: center;
    color: #63969B;
    font-variant: small-caps;
}
.work .img {
    background: #EFF1F1;
    min-height: 400px;
}
.work .ps-content {
    background: #F8FAFA;
    min-height: 400px;
}
.col-sm-6 img {
    width: 100%;
}
.skills,
.about {
    font: 1rem/2rem 'Merriweather', Times New Roman, serif;
}
.skills h3 {
    font-weight: bold;
    font-family: 'Muli';
    text-transform: uppercase;
    font-size: 1.2rem;
}
hr {
    border-top: 1px dashed #AEB4C1;
    border-bottom: none;
    margin-bottom: 20px;
    width: 80%;
}
.equal-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.content {
    font-family: 'Muli';
    font-size: 1.3rem;
}
.content ul li {
    padding: 10px 0;
}
.skills {
    padding: 30px 0;
    background: linear-gradient(rgba(148, 199, 190, 0.46), rgba(226, 230, 212, 0.63)), url('../img/background-sine.png')
}
.contact {
    min-height: 400px;
    background: url('../img/background-sine.png');
}
.contact {
    padding: 30px 0;
    background: #5C6465;
    font: 1rem/2rem 'Merriweather', Times New Roman, serif;
    color: #fff;
}
.contact h2 {
    color: #fff;
}
.form-control {
    border-radius: 0;
    background-color: transparent;
    border: 0px;
    border-bottom: 1px solid #ddd;
    height: 50px;
    color: #fff;
    outline: 0;
}
.btn-primary {
        font-size: 2rem;
        height: 75px;
        padding: 10px 30px;
        text-transform: uppercase;
        width: 100%;-
        transition: background .4s ease-out, background .4s ease-in;
        -webkit-transition: background .4s ease-out, background .4s ease-in;
        -moz-transition: background .4s ease-out, background .4s ease-in;
        background-color: #7B8687;
        border: 0;
}


.btn-primary:hover {
    color: #fff;
    background-color: #71797A;
    border: 0;
}
.footer {
    padding: 30px 0;
    background-color: #4D5253;
    color: #fff;
}

.parsley-errors-list li {
    list-style: none;
    background-color: #F3D6D6;
    color: #955353;
    padding: 10px;
}

ul.parsley-errors-list {
    padding: 0;
    margin: 5px 0;
}

@media (max-width: 480px) {
    .navbar-brand {
        float: none;
        height: 50px;
        padding: 15px 15px;
    }
    .nav-container {
        margin: 0 10px;
    }
    .navbar-brand img {
        width: 60%;
    }
    .intro {
        margin: 0 auto;
        width: 80%;
        padding-top: 35vh;
        font: italic 400 1.5rem/2rem "Gentium Book Basic", serif;
        color: #488990;
        text-shadow: 1px 1px 4px #B1C1C5;
    }
    .navbar-toggle {
        margin-top: 25px;
    }
    .about p {
        font: 1rem/1.8rem 'Julius Sans One', Helvetica, sans-serif
    }
    .content .ps-content h3 {
        font-size: .8rem;
        font-weight: 700
    }
    .content .ps-content p,
    .content .ps-content li {
        font-size: .8rem;
        line-height: 1rem
    }
    .skills,
    .about {
        font: .8rem/1.5rem 'Merriweather', Times New Roman, serif;
    }
}
@media (max-width: 568px) {
    .intro {
        width: 85%;
    }
}
@media(max-width:667px) {
    .skills li {
        display: inline;
    }
    .skills li:after {
        content: "|";
        padding: 10px;
    }
    .skills li:last-child:after {
        content: "";
    }
}