@import url("https://fonts.googleapis.com/css?family=Montserrat:100,300,400,500,600,700,800|Open+Sans:400,600,700,800|Playfair+Display:400,400i,700,700i");

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

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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.
 */

::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
   ========================================================================== */

/* Responsive Styles */
* {
    box-sizing: border-box;
}

/* For mobile phones: */
[class*="col-"] {
    width: 100%;
    float: left;
    padding: 10px;
  /*border: 1px solid red; */    /*  Enable this for debug  */    
}

/*@media (min-width: 576px) { ...xs }   Maybe add this later*/

@media only screen and (min-width: 768px) {
    /* For tablets: */
    .col-sm-1 {width: 8.33%;}
    .col-sm-2 {width: 16.66%;}
    .col-sm-3 {width: 25%;}
    .col-sm-4 {width: 33.33%;}
    .col-sm-5 {width: 41.66%;}
    .col-sm-6 {width: 50%;}
    .col-sm-7 {width: 58.33%;}
    .col-sm-8 {width: 66.66%;}
    .col-sm-9 {width: 75%;}
    .col-sm-10 {width: 83.33%;}
    .col-sm-11 {width: 91.66%;}
    .col-sm-12 {width: 100%;}
}

@media only screen and (min-width: 992px) {
    /* For small laptops: */
    .col-md-1 {width: 8.33%;}
    .col-md-2 {width: 16.66%;}
    .col-md-3 {width: 25%;}
    .col-md-4 {width: 33.33%;}
    .col-md-5 {width: 41.66%;}
    .col-md-6 {width: 50%;}
    .col-md-7 {width: 58.33%;}
    .col-md-8 {width: 66.66%;}
    .col-md-9 {width: 75%;}
    .col-md-10 {width: 83.33%;}
    .col-md-11 {width: 91.66%;}
    .col-md-12 {width: 100%;}
}

@media only screen and (min-width: 1200px) {
    /* For Large Displays: */
    .col-lg-1 {width: 8.33%;}
    .col-lg-2 {width: 16.66%;}
    .col-lg-3 {width: 25%;}
    .col-lg-4 {width: 33.33%;}
    .col-lg-5 {width: 41.66%;}
    .col-lg-6 {width: 50%;}
    .col-lg-7 {width: 58.33%;}
    .col-lg-8 {width: 66.66%;}
    .col-lg-9 {width: 75%;}
    .col-lg-10 {width: 83.33%;}
    .col-lg-11 {width: 91.66%;}
    .col-lg-12 {width: 100%;}
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

/* End Responsive Styles */

html, 
body {
    font-size: 1em;
    color: #313131;
    font-family: "Open Sans", sans-serif;
    vertical-align: baseline;
    line-height: 1.5em;
    font-weight: 400;
}

    /*  My CSS defaults    */
a {
    text-decoration: none;
    color: #3366ff;
}
a:hover {
    text-decoration: none;
    color: #1144dd;
}
a:active {
    outline: 0 none;
    text-decoration: none;
}
a:focus {
    outline: 0px solid;
    text-decoration: none;
}

p {
    margin: 0 0 26px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 26px;
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
}


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



.fix {
    overflow: hidden;
}

.clear {
    clear: both;
}

::-moz-selection {
    background: #00c3ff;
    text-shadow: none;
}

::selection {
    background: #00c3ff;
    text-shadow: none;
}

.browserupgrade {
    margin: 26px  0;
    background: #00c3ff;
    color: #333333;
    padding: 26px 0;
}

/*  Typography  */
h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

/* Standard syntax */
@keyframes whiteLime {
    0% {z-index: -3;}
    75% {z-index: 3;}
    100% {z-index: 3;}
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes whiteLime {
    0% {z-index: -3;}
    75% {z-index: 3;}
    100% {z-index: 3;}
}

.js-loading *,
.js-loading *:before,
.js-loading *:after {
  animation-play-state: paused !important;
}

#whiteLimeMsg{
    position: absolute;
    top: 20px;
    left: 20px; 
    z-index: -3;
    color: #fff;
    font-size: 30px;
    text-transform: lowercase;
    -webkit-animation-name: whiteLime; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: .1s; /* Safari 4.0 - 8.0 */
    animation-name: whiteLime;
    animation-duration: .1s;
}

/* Business Card Banner Page */

#banner{
        background-image: url("/img/card3.jpg");
        background-color: #fcfdff;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        height: 100vh;
        width: 100vw;
        max-width:100%; 
        overflow: hidden; /* Fixes overflow on child transformations */
}

.rotateText{
    -ms-transform: rotate(-9deg); 
    -webkit-transform: rotate(-9deg);
    transform: rotate(-9deg);
    margin: 0;
}

#cardLogo{
    position: absolute;
    font-size: 2.5vh;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-aspect-ratio: 13/10) {   
    #cardLogo {
        top: 37vh;
        left: 50%;
        margin-left: -20vh;
    }
}

@media (min-aspect-ratio: 13/10) {    
    #cardLogo {
        top: 47.5vh;
        left: 34.5%;
        margin-left: calc(-13vh + 10vw);
        margin-top: -8vw;
        font-size: calc(2vh + .04vw * 13);
    }
}

#cardEmail{
    position: absolute;
    font-size: 1.2vh;
    font-weight: 600;
}

@media (max-aspect-ratio: 13/10) {   
    #cardEmail {
        top: 53vh;
        left: 50%;
        margin-left: calc(-19vh + 1vw);
    }
}

@media (min-aspect-ratio: 13/10) {    
    #cardEmail {
        top: 48.5vh;
        left: 35%;
        margin-top: 4vw;
        margin-left: calc(-13vh + 10vw);
    }
}

#cardName{
    position: absolute;
    font-size: 1.5vh;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-aspect-ratio: 13/10) {   
    #cardName {
        top: 50vh;
        left: 50%;
        margin-left: 4vh;
    }
}

@media (min-aspect-ratio: 13/10) {    
    #cardName {
        top: 46.5vh;
        left: 60%;
        margin-left: -9vh;
        margin-top: 3vw;
    }
}

#cardAddress{
    position: absolute;
    font-size: 1.2vh;
    line-height: normal;
}

@media (max-aspect-ratio: 13/10) {   
    #cardAddress {
        top: 53vh;
        left: 50%;
        margin-left: 4vh;
    }
}

@media (min-aspect-ratio: 13/10) {    
    #cardAddress {
        top: 48vh;
        left: 60%;
        margin-left: -9vh;
        margin-top: 3.8vw;
    }
}

/* Section */
.sectionHeadingBanner {
    position: absolute;
    top: 0;
/*    bottom: 0;
    right: 0;   */
    left: 0;
    width: 100%;
    height: 39%;
    background-image: linear-gradient(#3366ff, #fcfdff);
    transform: skewY(-8deg);
    transform-origin: top left;
    z-index: 2;
}

.sectionHeading{
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    transform: skewY(-8deg);
}

.sectionHeading h1 {
  margin: 0;
  padding-top: 30px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  line-height: 40px;
}

@media only screen and (min-width: 768px) {
    .sectionHeading{
    width: 100%;
    }
    
    .sectionHeading h1 {
        padding-top: 90px;
    }

}

.sectionFooter{
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50%;
    background-color: red;
}

.sectionFooter p {
  margin: 0;
  margin: 10px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.5em;
}



 /* ==========================================================================
   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);
  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;
  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 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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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;
    }
}


