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

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html, body {
    height: 100%;
    min-height: 700px;
}


body {
    background: url(../bg.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
    width: 100%;
}

h1, h2, h3 {
    font-family: 'futura-pt', Arial, sans-serif;
    text-transform: uppercase;
    color: #fafafa;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 6em;
    line-height: .9em;
    text-shadow: 0 2px 5px rgba(0,0,0,.5);
    font-weight: 400;
}

h1 span {
    letter-spacing: .0315em;
}

h2 {
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
    border-top: solid 1px rgba(240,240,240,.3);
    font-weight: 300;
    margin: 10px 0 40px;
    padding-top: 10px;
    color: #d8dacd;
}

h2 span {
    color: #fafafa;
}

#container {
    padding: 40px;
    background-color: rgba(0,0,0,.2);

    width: 560px;
    position: relative;
    top: 25%;
    left: 48%;

    display: block;
}

#container a { 
    color: #fafafa;
    text-decoration: none;
    font-family: 'futura-pt', Arial, sans-serif;
    text-shadow: 0 -1px 0 #000;
    font-weight: 300;

    margin-right: 20px;

    padding: 10px 15px;
    border-radius: 4px;

    text-transform: uppercase;
}

footer a {
    color: rgba(0,0,0,.6);
    text-decoration: none;
 }

 footer a:hover {
    text-decoration: underline;
 }

#eng {
    box-shadow: 0 0 1px #000, 0 1px 5px rgba(0,0,0,.5), inset 0 1px 0 rgba(170, 192, 179, .5), inset 0 0 2px rgba(170, 192, 179, .3);


    background-color: #009af1;
    background-image: -webkit-linear-gradient(top, rgb(0, 154, 241), rgb(0, 88, 137));
    background-image: -moz-linear-gradient(top, rgb(0, 154, 241), rgb(0, 88, 137));
    background-image: linear-gradient(top, rgb(0, 154, 241), rgb(0, 88, 137));
}

#eng:hover {
    background-color: #02b4ff;
    background-image: -webkit-linear-gradient(top, rgb(2, 180, 255), rgb(0, 114, 176));
    background-image: -moz-linear-gradient(top, rgb(2, 180, 255), rgb(0, 114, 176));
    background-image: linear-gradient(top, rgb(2, 180, 255), rgb(0, 114, 176));
}

#eng:active {
    background-color: #009af1;
    background-image: -webkit-linear-gradient(top, rgb(0, 88, 137), rgb(0, 154, 241));
    background-image: -moz-linear-gradient(top, rgb(0, 88, 137), rgb(0, 154, 241));
    background-image: linear-gradient(top, rgb(0, 88, 137), rgb(0, 154, 241));
    box-shadow: 0 0 1px #000, inset 0 1px 0 rgba(170, 192, 179, .5);
}

#ita {
    box-shadow: 0 0 1px #000, 0 1px 5px rgba(0,0,0,.5), inset 0 1px 0 rgba(148, 247, 154, .5), inset 0 0 2px rgba(148, 247, 154, .3);

    background-color: #52d058;
    background-image: -webkit-linear-gradient(top, rgb(82, 208, 88), rgb(43, 122, 36));
    background-image: -moz-linear-gradient(top, rgb(82, 208, 88), rgb(43, 122, 36));
    background-image: linear-gradient(top, rgb(82, 208, 88), rgb(43, 122, 36));
}

#ita:hover {
    background-color: #60ef66;
    background-image: -webkit-linear-gradient(top, rgb(96, 239, 102), rgb(56, 153, 47));
    background-image: -moz-linear-gradient(top, rgb(96, 239, 102), rgb(56, 153, 47));
    background-image: linear-gradient(top, rgb(96, 239, 102), rgb(56, 153, 47));
}

#ita:active {
    box-shadow: 0 0 1px #000, inset 0 1px 0 rgba(148, 247, 154, .5);

    background-color: #52d058;
    background-image: -webkit-linear-gradient(top, rgb(43, 122, 36), rgb(82, 208, 88));
    background-image: -moz-linear-gradient(top, rgb(43, 122, 36), rgb(82, 208, 88));
    background-image: linear-gradient(top, rgb(43, 122, 36), rgb(82, 208, 88));
}

#fb {
    float: right;
    width: 41px;
    height: 41px;
    background: url(../fb.png) no-repeat;
    box-shadow: 0 0 1px #000, 0 1px 5px rgba(0,0,0,.5), inset 0 1px 0 rgba(170, 192, 179, .2), inset 0 0 2px rgba(170, 192, 179, .3);
    padding: 0!important;
    margin: -10px 0 0 0;
    opacity: .8;
}

#fb:hover {
    opacity: 1;
}

#fb:active {
    box-shadow: 0 0 1px #000, inset 0 1px 0 rgba(170, 192, 179, .3);
}

footer {
    display: block;
    bottom: 30px;
    font-family: 'futura-pt', Arial, sans-serif;
    color: rgba(0,0,0,.5);
    width: 100%;
    text-align: center;
    position: absolute;
}


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