/*! 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;
}

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

/* BOOSTRAP helpers */
/* centered columns styles */
.row {
    background-color: #E0EFF1;
    padding-left: 5%;
    padding-right: 5%;
}
.row-centered {
    text-align: center;
}
.col-centered {
    display: inline-block;
    float: none;
    /* inline-block space fix */
    margin-right: -4px;
    vertical-align: middle;
}

/* BOOTSTRAP overrides */
.jumbotron {
    /* vertical-align: middle; */
}
.img-rounded {
    margin-left: auto;
    margin-right: auto;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    box-shadow: 10px 10px 5px #aaa;
}
.img-ipad {
    margin-left: auto;
    margin-right: auto;
}

/*
font-family: 'Lato', sans-serif;
font-family: 'Roboto', sans-serif;
font-family: 'Source Sans Pro', sans-serif;
*/

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: black; /* #E0EFF1; */
    /* background-image: url('../img/wallpaper4.jpg'); */
    background-repeat: repeat;
}

.jumbotron {
    position: relative;
    background-color: #E0EFF1;
}
.jumbotron .container {
    position: absolute;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.jumbotron p {
    font-size: 1.3em;
}

.headshot {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 5%;
}
.jumbotron .links {
    text-align: center;
}
.jumbotron .links img {
    margin: 3px;
}
#model {
    position: relative;
    width: 20%;
    height: 20%;
}

/* Clean animated load */
.container {
    display: none;
}
@keyframes slideInFromTop {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

#construction-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
}
#angel-wrapper img {
    margin: 0 auto 4%;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

#projects {
    font-size: 1.3em;
    background-color: #E0EFF1;
}
#projects > .row {
    padding-top: 5%;
    padding-bottom: 5%;
}
#projects h2 {
    display: inline-block;
    color: #680148;
    font-family: Lato;
    font-style: bold;
    text-align: left;
    margin-top: 0px;
    padding-left: 0px;
}
#projects .description {
    text-align: left;
}
.description > .row {
    padding-top: 3%;
    padding-bottom: 3%;
}
.client {
    color: #680148; /* #7DB4B5; */
    margin-top: 2%;
    font-family: Lato;
    font-style: bold;
}
/* 2x2 Dinotrain */
.quad-promo img {
    margin-bottom: 10%;
}

.tech-list {
    font-family: Lato;
    text-align: left;
    padding: 0;
}
.tech-list li {
    display: inline;
    list-style-type: none;
    margin-top: 30px;
    padding: 5px 20px 5px 20px;
    color: #FFF;
    background-color: #680148;
    border-radius: 5px;
}

.promo-right {
    text-align: left;
    padding-left: 0px;
}
.play-btn {
    display: inline-block;
    padding: 5px 20px 5px 20px;
    background-color: #7DB4B5;
    border-radius: 5px;
}
.play-btn a {
    color: #FFF;
}
.offline-btn {
    display: inline-block;
    padding: 5px 20px 5px 20px;
    color: #FFF;
    background-color: #70736c;
    border-radius: 5px;
}

hr { 
  border: 0; 
  height: 1px; 
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0); 
}

#contact {
    position: relative;
    color: #FFF;
    background-color: #680148 !important;
    overflow: hidden;
    /* margin-top: 5%; */
}
#contact h2 {
    font-size: 1.2em;
    line-height: 1.4em;
    color: #7DB4B5;
    text-align: center;
    padding-bottom: 3%;
}
.form-required {
    color: red;
    display: none;
}
.sendButton {
    margin-top: 3%;
    text-align: right;
}
.sendButton span {
    padding: 5px 20px 5px 20px;
    border-radius: 5px;
}

.messageSuccess {
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    display: none;
    height: 100%;
    width: 100%;
    color: #FFF;
    background-color: #7DB4B5;
    font-size: 1.4em;
    text-align: center;
}
.messageSuccess div {
    margin-top: 5%;
}
.btn-close {
    position: absolute;
    font-family: Lato;
    font-size: 1.2em;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

footer {
    color: #FFF;
    background-color: #680148 !important;
    text-align: center;
    font-size: 0.8em;
    padding: 5px !important;
}
footer .obstruct {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-left: 5px;
}

/* Helper */
.purple {
    color: #680148;
}
.dark-blue {
    color: #7DB4B5;
}

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px){

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px){
    .headshot {
        width: 40%;
    }
    .jumbotron p {
        font-size: 1.5em;
    }
    #contact h2 {
        font-size: 1.6em;
    }

    #projects {
        /* centering vertically for "under construction" */
        position: absolute;
        margin: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    #angel-wrapper img {
        margin-bottom: 2%;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px){
    .promo-right {
        text-align: right;
        padding-right: 0px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px){
    .headshot {
        width: 60%;
    }
    .description > .row {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px){

}



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