
/* #######################    [01]                body                   #################### */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */




html
{
    font-size: 1em;
    line-height: 1.4;

    color: #222;
}

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


/*
 * 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
{
    margin: 0;
    padding: 0;

    border: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea
{
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade
{
    margin: .2em 0;
    padding: .2em 0;

    color: #000;
    background: #ccc;
}

/* ==========================================================================
   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
{
    position: absolute;

    overflow: hidden;
    clip: rect(0 0 0 0);

    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;

    border: 0;
}

/*
 * 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
{
    position: static;

    overflow: visible;
    clip: auto;

    width: auto;
    height: auto;
    margin: 0;
}

/*
 * 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
{
    display: table; /* 2 */

    content: ' '; /* 1 */
}

.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
    {
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        background: transparent !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,
    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;
    }
}





/* #######################    [01]                body                   #################### */


/* ----- CUSTOM --- */




body {
font-family: 'Oswald', sans-serif;
    font-weight: 200;
    background: #000;
    background-image: url('http://coastalforceconstruction.ca/temp/img/jesse-mobile-2.jpg');
    background-position: center center;
  background-repeat:  no-repeat;
  background-attachment: fixed;
  background-size:  cover;
}

a {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

div.container {
  width: 600px;
  margin: 0 auto;
}

.services-desktop, .services-ipad, .services-mobile {
  margin: 50px 0px 90px 0px;
  border-top: 2px solid #ec2328;
  border-bottom: 2px solid #ec2328;
  padding: 50px 0px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
}

.container img {
  padding: 0px 20px;
}


video
{
    position: fixed;
    z-index: -100;
    top: 0%;
    left: 0%;

    width: auto;
    min-width: 100%;
    height: auto;
    min-height: 100%;

    background: url('../img/placeholder-bg.jpg') no-repeat;
    background-size: cover;
}



video .overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    background: green;
    opacity: 0.5;
}



.button-container {
  width: 450px;
  margin: 0 auto;
}

.button-container  {
  text-decoration: none;
  text-align: center;
  height: 46px;
  line-height: 46px;
  font-size: 14px;
  color: #fff;
  letter-spacing: 1px;
}

#left-button {
  float: left;
}

#right-button {
   float: right;
}

a.buttons {
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 14px;
}

.buttons {
  border: 2px solid #fff;
  width: 150px;
}

.buttons:hover {
  border: 2px solid #ec2328;
  background-color: #ec2328;
  transition: all 0.5s ease;
}

/*
.buttons {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  background: #ec2328;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  width: 150px;
}

.buttons:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.buttons:hover, .buttons:focus, .buttons:active {
  color: #fff;
}
.buttons:hover:before, .buttons:focus:before, .buttons:active:before {
  -webkit-transform: scale(0);
  transform: scale(0);
}*/



#logo {

  margin-top: 100px;
  margin-bottom: 0;
  padding-bottom: 40px;
  text-align: center;
}

.services-ipad, .services-mobile {
  display: none;
}

@media (max-width: 768px) {
  video {
    display: none;
}
div.container {
  width: 80%;
  margin: 0 auto;
}
.button-container {
  width: 80%;
  margin: 0 auto;
}
.services-desktop {
  display: none;
}
.services-ipad {
  display: block;
}

#logo {
  padding-bottom: 40px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding-top: 100px;
}
}


@media (max-width: 550px) {
  video {
    transform: translateX(-50%) translateY(-67%);
}
.services-ipad {
  display: none;
}
.services-mobile {
  display: block;
}
.services-mobile p {
  font-size: 14px;
}
#logo img {
  width: 80%;
  margin: 0 auto;
}
.button-container {
  width: 154px;
  padding-bottom: 150px;
}
#right-button {
  margin-top: 25px;
}
}
