/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    background-color: rgba(0,0,0,0);

}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/*
    Fonts
*/

@font-face
{
font-family: Dontwalk;
src: url(../static/dontwr_r.ttf);
}
@font-face
{
font-family: ;
src: url(../static/Adler.ttf);
}
@font-face
{
font-family: Rawengulk;
src: url(../static/RawengulkSans-094.ttf);
}
@font-face
{
font-family: Overpass;
src: url(../static/Overpass_Regular.ttf);
}
/*
    CSS Styles
*/

#home { 
  background: url(../img/bghome.png) 50% 0 no-repeat fixed;
  box-shadow: inset 0px 0px 50px 50px rgba(0, 0, 0, .9);
  background-size: cover;
  min-height: 1080px;
  height: 100%; 
  margin: 0 auto; 
  width: 100%; 
  max-width: 1920px; 
  position: relative; 
    -webkit-animation: fadein 2s linear; /* Safari and Chrome */
       -moz-animation: fadein 2s linear; /* Firefox */
        -ms-animation: fadein 2s linear; /* Internet Explorer */
         -o-animation: fadein 2s linear; /* Opera */
            animation: fadein 2s linear;
}
 
#home article { 
  height: 458px; 
  position: absolute; 
  text-align: center; 
  top: 150px; 
  width: 100%; 
}
 
#about { 
  background-position: 100% 100%;
  background: url(../img/bghome2.png) 50% 0 repeat fixed;
  box-shadow: inset 0px 0px 50px 50px rgba(0, 0, 0, .9);
  height: 120%; 
  margin: 0 auto;
  min-height: 1080px; 
  background-size: cover;
  width: 100%; 
  max-width: 1920px; 
  position: relative; 
}
 
#about article { 
  height: 458px; 
  position: absolute; 
  text-align: center; 
  top: 150px; 
  width: 100%; 
}

#footer {
    background-color: #2f2f2f;
    padding-top: 50px;
    padding-bottom: 50px;
    font-family: Tahoma;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

#footer p {
    color: white;
    margin-left: 20%;
    margin-right: 20%;
    text-align: left;
    font-family: Rawengulk;

}

p.moreinfo{
  font-family: Rawengulk;
  color: white;
  font-size: 12px;
}

#footer h4 {
    color: white;
    text-transform: uppercase;
    padding-bottom: 20px;
    font-family: Rawengulk;
    text-align: center;
    font-size: 20px;
    color: silver;
}

a {
    color: rgb(85, 117, 185);
    font-size: inherit;
    text-decoration: none;
    transition:color 1s;
    -moz-transition: color 1s; /* Firefox 4 */
    -webkit-transition:color 1s; /* Safari and Chrome */
    -o-transition:color 1s; /* Opera */
}

a:hover{
    color: rgb(35, 45, 100);
    transition:color 1s;
    -moz-transition: color 1s; /* Firefox 4 */
    -webkit-transition:color 1s; /* Safari and Chrome */
    -o-transition:color 1s; /* Opera */
}

div.imgseperator{
    height: 100px;
    background: rgb(14,14,14); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(14,14,14,1) 0%, rgba(125,126,125,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(14,14,14,1)), color-stop(100%,rgba(125,126,125,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(14,14,14,1) 0%,rgba(125,126,125,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(14,14,14,1) 0%,rgba(125,126,125,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(14,14,14,1) 0%,rgba(125,126,125,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(14,14,14,1) 0%,rgba(125,126,125,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e0e0e', endColorstr='#7d7e7d',GradientType=0 ); /* IE6-9 */
}

div.quote{
  text-align: center;
  padding-top: 10%;
  color: white;
  font-size: 36px;
  margin-left: 20%;
  margin-right: 20%;
    text-shadow:
   -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000,
     0 0 25px #000, 
     0 0 25px #000,
     0 0 25px #000;
}

div.layoutcontainer{
  margin-top: 4em;
  padding: 40px;
}

div.regretquote{
  color: rgba(255, 255, 255, 0.0);
  text-shadow:
     0.2em 0.5em 0.1em #600, 
     -0.3em 0.1em 0.1em #060, 
     0.4em -0.3em 0.1em #006;
  text-align: center;
  font-size: 38px;
  margin-top: 2em;
}

div.glassbox{
   width: 85%;
   height: auto; min-height: 200px;
   margin: 5%;
   padding: 15px;
   border: 2px solid rgba(0,0,0,0.5);
   border-radius: 10px;
   background: #2f2f2f;
   color: rgb(209, 209, 209);
    text-shadow: .1em .1em 0.2em #000000;
    -moz-transition: background-color 1s; /* Firefox 4 */
    -webkit-transition: background-color 1s; /* Safari and Chrome */
    -o-transition: background-color 1s; /* Opera */
}

div.glassbox:hover{
  background-color: rgba(25,25,25,0.75);
  -moz-transition: background-color 1s; /* Firefox 4 */
  -webkit-transition: background-color 1s; /* Safari and Chrome */
  -o-transition: background-color 1s; /* Opera */
  
}

div.boxtitle{
  left: -15px;
  top: -15px;
  text-transform: uppercase;
  text-shadow: .1em .1em 0.1em #000000;
  color: lightgrey;
  font-family: Overpass;
  font-size: 24px;
}

img.icon{
  width: 24px;
  height: 24px;
  margin-top: -5px;
}

/*
    Keyframe Effects
*/

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari and Chrome */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}​

/* Opera */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
