/*
 * 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;
}
@keyframes "spincd" {
 from {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
 }
 to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
 }

}

@-moz-keyframes spincd {
 from {
   -moz-transform: rotate(0deg);
   transform: rotate(0deg);
 }
 to {
   -moz-transform: rotate(360deg);
   transform: rotate(360deg);
 }

}

@-webkit-keyframes "spincd" {
 from {
   -webkit-transform: rotate(0deg);
   transform: rotate(0deg);
 }
 to {
   -webkit-transform: rotate(360deg);
   transform: rotate(360deg);
 }

}

@-ms-keyframes "spincd" {
 from {
   -ms-transform: rotate(0deg);
   transform: rotate(0deg);
 }
 to {
   -ms-transform: rotate(360deg);
   transform: rotate(360deg);
 }

}

@-o-keyframes "spincd" {
 from {
   -o-transform: rotate(0deg);
   transform: rotate(0deg);
 }
 to {
   -o-transform: rotate(360deg);
   transform: rotate(360deg);
 }

}

@keyframes "rotate" {
 from {
    -webkit-transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
    -moz-transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
    -o-transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
    -ms-transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
    transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
 }
 to {
    -webkit-transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
    -moz-transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
    -o-transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
    -ms-transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
    transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
 }

}

@-moz-keyframes rotate {
 from {
   -moz-transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
   transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
 }
 to {
   -moz-transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
   transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
 }

}

@-webkit-keyframes "rotate" {
 from {
   -webkit-transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
   transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
 }
 to {
   -webkit-transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
   transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
 }

}

@-ms-keyframes "rotate" {
 from {
   -ms-transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
   transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
 }
 to {
   -ms-transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
   transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
 }

}

@-o-keyframes "rotate" {
 from {
   -o-transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
   transform: translate3d( 0,0,0 ) rotateY( -120deg) rotateZ( 10deg );
 }
 to {
   -o-transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
   transform: translate3d( 0,0,0 ) rotateY( 240deg ) rotateZ( 10deg );
 }

}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    width: 100%;
    height: 100%;
    background-color: black;
    text-align: center;
    overflow: hidden;
}
.parent{
    position: relative;
  display: inline-block;
}
.container {
  width: 500px;
  height: 438px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -250px;
  margin-top: -217px;
  display: inline-block;
  -webkit-perspective: 2000px;
  -moz-perspective: 2000px;
  -o-perspective: 2000px;
  -ms-perspective: 2000px;
  perspective: 2000px;

  -webkit-transform: scale3d(1,1,1);
  -moz-transform: scale3d(1,1,1);
  -o-transform: scale3d(1,1,1);
  -ms-transform: scale3d(1,1,1);
  transform: scale3d(1,1,1);

  -webkit-transition: all 5s;
  -moz-transition: all 5s;
  -o-transition: all 5s;
  -ms-transition: all 5s;
  transition: all 5s;
}
.cd {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transition: -webkit-transform 1s;
  -moz-transition: -moz-transform 1s;
  -o-transition: -o-transform 1s;
  -ms-transition: -ms-transform 1s;
  transition: transform 1s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.cd figure {
  display: block;
  position: absolute;
  border: 2px solid #ccc;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -o-transition: all 1s;
  -ms-transition: all 1s;
  transition: all 1s;
}

.cd .cd-front,
.cd .cd-back {
  width: 496px;
  height: 434px;
}

.cd .cd-right,
.cd .cd-left,
.cd .cd-hinge {
  width: 26px;
  height: 434px;
  left: 235px;
}

.cd .cd-top,
.cd .cd-bottom {
  width: 496px;
  height: 26px;
  top: 204px;
}

.cd .cd-front {
  -webkit-transform: rotateY( 0deg) translate3d( 0,0,15px );
  -moz-transform: rotateY( 0deg) translate3d( 0,0,15px );
  -o-transform: rotateY( 0deg) translate3d( 0,0,15px );
  -ms-transform: rotateY( 0deg) translate3d( 0,0,15px );
  transform: rotateY( 0deg) translate3d( 0,0,15px );
}

.cd .cd-back {
  -webkit-transform: rotateX( 180deg ) translate3d( 0,0,15px );
  -moz-transform: rotateX( 180deg ) translate3d( 0,0,15px );
  -o-transform: rotateX( 180deg ) translate3d( 0,0,15px );
  -ms-transform: rotateX( 180deg ) translate3d( 0,0,15px );
  transform: rotateX( 180deg ) translate3d( 0,0,15px );
}

.cd .cd-right {
  -webkit-transform: rotateY( 90deg ) translate3d( 0,0,250px );
  -moz-transform: rotateY( 90deg ) translate3d( 0,0,250px );
  -o-transform: rotateY( 90deg ) translate3d( 0,0,250px );
  -ms-transform: rotateY( 90deg ) translate3d( 0,0,250px );
  transform: rotateY( 90deg ) translate3d( 0,0,250px );
}

.cd .cd-hinge {
  -webkit-transform: rotateY( -90deg ) translate3d( 0,0,190px );
  -moz-transform: rotateY( -90deg ) translate3d( 0,0,190px );
  -o-transform: rotateY( -90deg ) translate3d( 0,0,190px );
  -ms-transform: rotateY( -90deg ) translate3d( 0,0,190px );
  transform: rotateY( -90deg ) translate3d( 0,0,190px );
}

.cd .cd-left {
  -webkit-transform: rotateY( -90deg ) translate3d( 0,0,250px );
  -moz-transform: rotateY( -90deg ) translate3d( 0,0,250px );
  -o-transform: rotateY( -90deg ) translate3d( 0,0,250px );
  -ms-transform: rotateY( -90deg ) translate3d( 0,0,250px );
  transform: rotateY( -90deg ) translate3d( 0,0,250px );
}

.cd .cd-top {
  -webkit-transform: rotateX( 90deg ) translate3d( 0,0,219px );
  -moz-transform: rotateX( 90deg ) translate3d( 0,0,219px );
  -o-transform: rotateX( 90deg ) translate3d( 0,0,219px );
  -ms-transform: rotateX( 90deg ) translate3d( 0,0,219px );
  transform: rotateX( 90deg ) translate3d( 0,0,219px );
}

.cd .cd-bottom {
  -webkit-transform: rotateX( -90deg ) translate3d( 0,0,219px );
  -moz-transform: rotateX( -90deg ) translate3d( 0,0,219px );
  -o-transform: rotateX( -90deg ) translate3d( 0,0,219px );
  -ms-transform: rotateX( -90deg ) translate3d( 0,0,219px );
  transform: rotateX( -90deg ) translate3d( 0,0,219px );
}


.cd.show-front {
  -webkit-transform: translateZ( -15px ) rotate3d( 0,0,0 );
  -moz-transform: translateZ( -15px ) rotate3d( 0,0,0 );
  -o-transform: translateZ( -15px ) rotate3d( 0,0,0 );
  -ms-transform: translateZ( -15px ) rotate3d( 0,0,0 );
  transform: translateZ( -15px ) rotate3d( 0,0,0 );
}

.cd.show-back {
  -webkit-transform: translateZ( -15px ) rotateX( -180deg );
  -moz-transform: translateZ( -15px ) rotateX( -180deg );
  -o-transform: translateZ( -15px ) rotateX( -180deg );
  -ms-transform: translateZ( -15px ) rotateX( -180deg );
  transform: translateZ( -15px ) rotateX( -180deg );
}

.cd.show-right {
  -webkit-transform: translateZ( -250px ) rotate3d( 0, -90deg,0 );
  -moz-transform: translateZ( -250px ) rotate3d( 0, -90deg,0 );
  -o-transform: translateZ( -250px ) rotate3d( 0, -90deg,0 );
  -ms-transform: translateZ( -250px ) rotate3d( 0, -90deg,0 );
  transform: translateZ( -250px ) rotate3d( 0, -90deg,0 );
}

.cd.show-left {
  -webkit-transform: translateZ( -250px ) rotate3d( 0, 90deg,0 );
  -moz-transform: translateZ( -250px ) rotate3d( 0, 90deg,0 );
  -o-transform: translateZ( -250px ) rotate3d( 0, 90deg,0 );
  -ms-transform: translateZ( -250px ) rotate3d( 0, 90deg,0 );
  transform: translateZ( -250px ) rotate3d( 0, 90deg,0 );
}

.cd.show-top {
  -webkit-transform: translateZ( -219px ) rotateX( -90deg );
  -moz-transform: translateZ( -219px ) rotateX( -90deg );
  -o-transform: translateZ( -219px ) rotateX( -90deg );
  -ms-transform: translateZ( -219px ) rotateX( -90deg );
  transform: translateZ( -219px ) rotateX( -90deg );
}

.cd.show-bottom {
  -webkit-transform: translateZ( -219px ) rotateX( 90deg );
  -moz-transform: translateZ( -219px ) rotateX( 90deg );
  -o-transform: translateZ( -219px ) rotateX( 90deg );
  -ms-transform: translateZ( -219px ) rotateX( 90deg );
  transform: translateZ( -219px ) rotateX( 90deg );
}


.cd-hinge{
    _background-color: rgb(211, 143, 243);
}
.cd-plastic{
    position: absolute;
    height: 100%;
    width: 436px;
    left: 60px;
    opacity: 1;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
    -webkit-transform: rotateZ(180deg);
    -moz-transform: rotateZ(180deg);
    -o-transform: rotateZ(180deg);
    -ms-transform: rotateZ(180deg);
    transform: rotateZ(180deg);

    /*-webkit-box-shadow: inset 0px 0px 3px rgb(61, 61, 61);*/
}
.cd-cover  { 
    opacity: 0.8;
    background-size: cover;
    background-position:center;
    position: absolute;
    height: 100%;
    width: 436px;
    left: 60px;
    /*-webkit-box-shadow: inset 0px 0px 3px rgb(61, 61, 61);*/
    overflow: hidden
}
.cd-cover iframe{
    position: absolute;
    left: -60px;
    top: -50px;
}
.cd-disk  { 
    background: url(../img/cd.png);
    opacity: 0.7;
    background-size: cover;
    background-position: center;
    position: absolute;
    height: 100%;
    width: 436px;
    left: 60px;
    -webkit-animation-name: spincd;
    -moz-animation-name: spincd;
    -ms-animation-name: spincd;
    -o-animation-name: spincd;
    animation-name: spincd;
     
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    -o-animation-duration: 0.5s;
    animation-duration: 0.5s;
     
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    animation-iteration-count: infinite;

    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
    -ms-animation-timing-function: linear;
    -o-animation-timing-function: linear;
    animation-timing-function: linear;

}
.blackbar{
    position: absolute;
    height: 100%;
    width: 60px;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;

    -webkit-box-shadow: inset 0px 0px 3px black;
    box-shadow: inset 0px 0px 3px black;

}
.blackbar-back{
    position: absolute;
    left: 0;
    height: 100%;
    width: 60px;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;

    
}
.rotatesmall {
    -webkit-animation-name:             rotate;
    -moz-animation-name:             rotate;
    -ms-animation-name:             rotate;
    -o-animation-name:             rotate;
    animation-name:             rotate;
     
    -webkit-animation-duration:         23s;
    -moz-animation-duration:         23s;
    -ms-animation-duration:         23s;
    -o-animation-duration:         23s;
    animation-duration:         23s;
     
    -webkit-animation-iteration-count:  infinite;
    -moz-animation-iteration-count:  infinite;
    -ms-animation-iteration-count:  infinite;
    -o-animation-iteration-count:  infinite;
    animation-iteration-count:  infinite;

    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
    -ms-animation-timing-function: linear;
    -o-animation-timing-function: linear;
    animation-timing-function: linear;

}

.flip-text{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: inline-block;
    text-align: center;
    padding-top: 8px;
    font-size: 23px;
    text-transform: uppercase;
}
.cd-left .flip-text{
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -o-transition: all 1s;
  -ms-transition: all 1s;
  transition: all 1s;
  font-size: 13px;
  width: 60%;
  left: 50%;
  margin-left: -8px;
}
.second .blackbar, .second .blackbar-back{
  background-color: black;
}
.cd-plastic ul{
  opacity: 0.8;
  list-style: none;
  padding: 0;
}
.cd-plastic li{
  text-transform: uppercase;
  font-size: 16px;
}
.cd-plastic .cd-title{
  position: absolute;
  top: 10px;
  font-size: 33px;
  width: 100%;
  text-transform: uppercase;
}
.cd-button{
  position: absolute;
  bottom: 10px;
  width: 100%;
}
.download-button {
/*  position: absolute;
  bottom: 20px;
  left: 50%;
  margin-left: -156px;*/
  margin-top: 10px;
  -moz-box-shadow:inset 0px 0px 0px 0px #f29c93;
  -webkit-box-shadow:inset 0px 0px 0px 0px #f29c93;
  box-shadow:inset 0px 0px 0px 0px #f29c93;
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );
  background:-moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00', endColorstr='#ce0100');
  background-color:#fe1a00;
  -moz-border-radius:8px;
  -webkit-border-radius:8px;
  border-radius:8px;
  border:2px solid #d83526;
  display:inline-block;
  color:#ffffff;
  font-family:arial;
  font-size:28px;
  font-weight:bold;
  padding:10px 71px;
  text-decoration:none;
  text-shadow:1px 1px 0px #b23e35;
}.download-button:hover {
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #fe1a00) );
  background:-moz-linear-gradient( center top, #ce0100 5%, #fe1a00 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#fe1a00');
  background-color:#ce0100;
}.download-button:active {
  position:relative;
  top:1px;
}
.arrow{
  position: fixed;
  top: 50%;
  margin-top: -65px;
  cursor: pointer;
}
.arrow-left{
  right: 30px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);


}
.arrow-right{
  
  left: 30px;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);


}

.cd-cover img{
  width: 100%;
  height: 100%;
}
.cd-front a{
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
}

.js-center{
  position: absolute;
  top: 50%;
  width: 100%;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -o-transition: all 1s;
  -ms-transition: all 1s;
  transition: all 1s;
}

.uno-logo{
  position: absolute;
  top: 0;
  left: 0;
}


/*.first.cd figure, .cd-cover{
  box-shadow: 1px 1px 90px rgb(184, 0, 255);
  background: hsla( 300, 100%, 50%, 0.7 );
  color: rgb(224, 0, 255);
  text-shadow: 1px 1px 7px rgb(0, 82, 255);
}
.first .blackbar, .blackbar-back{
  background-color: rgb(211, 143, 243);
}
.second.cd figure, .cd-cover{
  box-shadow: 1px 1px 90px rgb(26, 255, 99);
  background: rgba(26, 255, 99, 0.7 );
  color: rgb(201, 55, 55);
  text-shadow: 1px 1px 7px rgb(0, 82, 255);
}
*/




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