/* ==========================================================================
   HTML5 Boilerplate (optimized version (GabrielWanzek))
   ========================================================================== */

html,button,input,select,textarea{color:#222;}
body{font-size:1em;line-height:1.4;}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}
img{vertical-align:middle;}
fieldset{border:0;margin:0;padding:0;}
textarea{resize:vertical;}
::-moz-selection{background:#e49e6b;text-shadow:none;}
::selection{background:#e49e6b;text-shadow:none;}


/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: 'Coolvetica';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/coolvetica.woff) format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/OpenSans.woff) format('woff');   
}

/* ==========================================================================
   Template
   ========================================================================== */

body {
    /*background-size: cover;*/
    font-family: 'Open Sans', Helvetica, sans-serif;
    background: url(img/bgdot.png) transparent;
}

#box {
    position: relative;
    margin: 75px auto 0;
    width: 300px;
    height: 300px;
    z-index: 1;
    border-radius: 9999px;
    perspective: 1000;
    -moz-perspective: 1000;
    -webkit-perspective: 1000;

}

#inner {
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -ms-transition: all 1s linear;
    -o-transition: all 1s linear;
    transition: all 1s linear;
    text-align: center;
    line-height: 0.8;
    border-radius: 9999px;
}

#box:hover #inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 9999px;
}

.face.front {
    background-color: #FF9D3C;
    color: #fff;
}

.face.back {
    display: block;
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);    
    color: #222;
    text-align: center;
    background-color: #eee;
    border-radius: 0;
    border-radius: 9999px;
}


.gw {
    margin-top: 80px;
    font-family: 'Coolvetica', Helvetica, sans-serif;
    font-weight: 400;
    font-size: 80px;
    letter-spacing: -1px;
      text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0,.1), 0 0 5px rgba(0, 0, 0,.1), 0 1px 3px rgba(0, 0, 0,.3);
}

.ico {
    margin: 100px 50px 0 50px ;
    font-size: 19px;
    text-align: left;
}

a {
    text-decoration: none;
    color: #222;
    text-decoration: none;
    font-weight: 300;
    height: 30px;
    -webkit-transition: all .25s;
       -moz-transition: all .25s;
        -ms-transition: all .25s;
         -o-transition: all .25s;
            transition: all .25s;
}

a:hover {
    color: #FF9D3C;
}

.roll {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    -webkit-perspective: 400px;
    -moz-perspective: 400px;
    -webkit-perspective-origin: 50% 50%;
    -moz-perspective-origin: 50% 50%;
}

.roll span {
    display: block;
    position: relative;
    padding: 0 2px;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    transition: all 400ms ease;
    -webkit-transform-origin: 50% 0%;
    -moz-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.roll:hover span {
    background: #ccc;
    -webkit-transform: translate3d(0, 0, -30px) rotateX(90deg);
    -moz-transform: translate3d(0, 0, -30px) rotateX(90deg);
    transform: translate3d(0, 0, -30px) rotateX(90deg);
}

.roll span:after {
    content: attr(data-title);
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 2px;
    color: #fff;
    background: #CA6500;
    padding: 4px 2px;
    -webkit-transform-origin: 50% 0%;
    -moz-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-transform: translate3d(0, 105%, 0) rotateX(-90deg);
    -moz-transform: translate3d(0, 105%, 0) rotateX(-90deg);
    transform: translate3d(0, 105%, 0) rotateX(-90deg);
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir{background-color:transparent;border:0;overflow:hidden;text-indent:-9999px;}
.ir:before{content:"";display:block;width:0;height:150%;}
.hidden{display:none!important;visibility:hidden;}
.visuallyhidden{border:0;clip:rect(0000);height:1px;overflow:hidden;position:absolute;width:1px;margin:-1px;padding:0;}
.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;overflow:visible;position:static;width:auto;margin:0;}
.invisible{visibility:hidden;}
.clearfix:before,.clearfix:after{content:" ";display:table;}
.clearfix:after{clear:both;}
.clearfix{zoom:1;}