@import url(http://fonts.googleapis.com/css?family=Cabin:400);
body {
	font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #515158;
	background: #151515;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#game {
	float: left;
	margin-left: 20px;
	margin-top: 60px;
}
.container > header {
	margin: 0 auto;
	padding: 2em 15% 0;
	text-align: center;
}

.container > header h1 {
	font-size: 2.5em;
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	word-spacing: 5px;
	color: #bf5fff;
	 text-shadow: 0px 0px 24px rgba(191, 95, 255, 0.25);
}

.container > header span {
	display: block;
	font-size: 60%;
	opacity: 0.7;
	padding: 0 0 0.6em 0.1em;
}

.clearfix:before,
.clearfix:after {
	content: '';
	display: table;
}

.clearfix:after {
	clear: both;
}

.centered {
	left: 40%	
}

.webdesigntuts-workshop {
	position: absolute;
	text-align: center;
}

.webdesigntuts-workshop form {
	background: #111;
	background: -webkit-linear-gradient(#1b1b1b, #111);
	background: linear-gradient(#1b1b1b, #111);
	border: 1px solid #000;
	border-radius: 5px;
	box-shadow: inset 0 0 0 1px #272727;
	display: inline-block;
	font-size: 0px;
	margin: 150px auto 0;
	padding: 20px;
	position: relative;
	z-index: 1;
}

.webdesigntuts-workshop input {
	background: #222;	
	background: -webkit-linear-gradient(#333, #222);	
	background: linear-gradient(#333, #222);	
	border: 1px solid #444;
	border-radius: 5px 0 0 5px;
	box-shadow: 0 2px 0 #000;
	color: #888;
	display: block;
	float: left;
	font-family: 'Cabin', helvetica, arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	height: 40px;
	margin: 0;
	padding: 0 10px;
	text-shadow: 0 -1px 0 #000;
	width: 200px;
}

.ie .webdesigntuts-workshop input {
	line-height: 40px;
}

.webdesigntuts-workshop input::-webkit-input-placeholder {
   color: #888;
}

.webdesigntuts-workshop input:-moz-placeholder {
   color: #888;
}

.webdesigntuts-workshop input:focus {
	-webkit-animation: glow 800ms ease-out infinite alternate;
	        animation: glow 800ms ease-out infinite alternate;
	background: #222922;
	background: -webkit-linear-gradient(#333933, #222922);
	background: linear-gradient(#333933, #222922);
	border-color: #393;
	box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
	color: #efe;
	outline: none;
}

.webdesigntuts-workshop input:focus::-webkit-input-placeholder { 
	color: #efe;
}

.webdesigntuts-workshop input:focus:-moz-placeholder {
	color: #efe;
}

.webdesigntuts-workshop button {
	background: #222;
	background: -webkit-linear-gradient(#333, #222);
	background: linear-gradient(#333, #222);
	box-sizing: content-box;
	border: 1px solid #444;
	border-left-color: #000;
	border-radius: 0 5px 5px 0;
	box-shadow: 0 2px 0 #000;
	color: #fff;
	display: block;
	float: left;
	font-family: 'Cabin', helvetica, arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	height: 40px;
	line-height: 40px;
	margin: 0;
	padding: 0;
	position: relative;
	text-shadow: 0 -1px 0 #000;
	width: 80px;
}	

.webdesigntuts-workshop button:hover,
.webdesigntuts-workshop button:focus {
	background: #292929;
	background: -webkit-linear-gradient(#393939, #292929);
	background: linear-gradient(#393939, #292929);
	color: #5f5;
	outline: none;
}

.webdesigntuts-workshop button:active {
	background: #292929;
	background: -webkit-linear-gradient(#393939, #292929);
	background: linear-gradient(#393939, #292929);
	box-shadow: 0 1px 0 #000, inset 1px 0 1px #222;
	top: 1px;
}

.button {
  padding: 7px;
  text-align: center;
  cursor: pointer;
  outline: none;
  color: #fff;
  font-weight: 700;
  background-color: #f1b720;
  border: none;
  box-shadow: 
	1px 1px #f3c54c,
	2px 2px #f3c54c,
	3px 3px #f3c54c;
}

.button:hover {background-color: #f3c54c}

.button:active {
  background-color: #f3c54c;
  box-shadow: 0 5px #f3c54c;
  transform: translateY(4px);
}

.error {
	digit-spacing: 1px;
	background: #ffe5e5;
	color: #cc0000;
	padding: 0.75em 1.5em;
	margin: 0.25em;
	border-radius: 5px;
}
a {
	text-decoration: none;
	color: #aaa;
	outline: none;
}

a:hover{
	color: #515158;
	outline: none;
}

a:focus,
button:focus {
	outline: none;
}
table {
    border-collapse: collapse;
}

tr{background: rgba(34, 41, 34, 1);}

th, td {
    border-bottom: 1px solid #4c2666;
	text-align: left;
    padding: 10px;
	color: white;
}
th {
    background-color: #bf5fff;
}

.results {
	padding-top: 10px;
	margin-top: 75px;
}

.centered {
	text-align: center;
}

.ac-container{
	width: 400px;
	margin: 10px auto 30px auto;
	text-align: left;
	float: left;
}
.ac-container label{
	font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
	padding: 5px 20px;
	position: relative;
	z-index: 20;
	display: block;
	height: 30px;
	cursor: pointer;
	color: #000;
	line-height: 33px;
	font-size: 19px;
	background: #9fff5f ;
	box-shadow: 
		0px 0px 0px 1px rgba(155,155,155,0.3), 
		1px 0px 0px 0px rgba(255,255,255,0.9) inset, 
		0px 2px 2px rgba(0,0,0,0.1);
}
.ac-container label:hover{
	-webkit-animation: glow 800ms ease-out infinite alternate;
	        animation: glow 800ms ease-out infinite alternate;
	background: #222922;
	background: -webkit-linear-gradient(#333933, #222922);
	background: linear-gradient(#333933, #222922);
	border-color: #393;
	box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
	color: #efe;
	outline: none;
}
.ac-container input:checked + label,
.ac-container input:checked + label:hover{
	-webkit-animation: glow 800ms ease-out infinite alternate;
	animation: glow 800ms ease-out infinite alternate;
	background: #222922;
	background: -webkit-linear-gradient(#333933, #222922);
	background: linear-gradient(#333933, #222922);
	border-color: #393;
	box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
	color: #efe;
	outline: none;
	border-width: 1px;
}
.ac-container label:hover:after,
.ac-container input:checked + label:hover:after{
	content: '+';
	position: absolute;
	width: 24px;
	height: 24px;
	right: 13px;
	top: 2px;
	font-size: 1.5em;
	font-weight: 700;
}
.ac-container input:checked + label:hover:after{
	content: '-';
}
.ac-container input{
	display: none;
}
.ac-container article{
	background: rgba(34, 41, 34, 1);
	margin-top: -1px;
	overflow: hidden;
	height: 0px;
	position: relative;
	z-index: 10;
	-webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}
.ac-container article p{
	font-style: italic;
	color: #fff;
	line-height: 23px;
	font-size: 14px;
	padding: 20px;
}
.ac-container article img{
	margin-left: auto;
    margin-right: auto;
	margin-top: 10px;
	display: block;
}
.ac-container input:checked ~ article{
	-webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	-moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	-o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	-ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);
}
.ac-container input:checked ~ article.ac-small{
	height: 140px;
}
.ac-container input:checked ~ article.ac-medium{
	height: 180px;
}
.ac-container input:checked ~ article.ac-large{
	height: 230px;
}

div.danger {
    margin-bottom: 15px;
    padding: 4px;
}

.danger {
    background-color: #ffdddd;
    border-left: 6px solid #f44336;
	color: #f44336;
	margin-top: 50px;
	
}
#loader-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255, 0.6);
  z-index: 99;
  /* Can't use opacity, as child elements inherit it.
     Can't use rgba background-color, as only Firefox 3 & Chrome support it. 
  background-image: url('../images/black-translucent.png');*/
}

/* Modal Header */
.modal-header {
	position: relative;
	left: 0;
	top: 0;
    padding: 2px 16px;
    background-color: #bf5fff;
    color: white;
}

#loader-wrapper div.wrapper {
  position: absolute;
  left: 35%;
  top: 50%;
  z-index: 1;
  width: 400px;
  height: 200px;
  background-color: #deacff;
  padding: 10px;
}


@-webkit-keyframes glow {
    0% {
		border-color: #393;
		box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
    }	
    100% {
		border-color: #6f6;
		box-shadow: 0 0 20px rgba(0,255,0,.6), inset 0 0 10px rgba(0,255,0,.4), 0 2px 0 #000;
    }
}

@keyframes glow {
    0% {
		border-color: #393;
		box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;
    }	
    100% {
		border-color: #6f6;
		box-shadow: 0 0 20px rgba(0,255,0,.6), inset 0 0 10px rgba(0,255,0,.4), 0 2px 0 #000;
    }
}

#gato {
    background: url('../img/gatito2.svg');
    height: 175px; 
    width: 150.5px;
    position: absolute;
    margin-top: 310px;
    margin-left: 250px;
    bottom: 100px;
    right: 0px;
 }
#gato:hover {  
  -webkit-animation: sprite-animation 6s steps(27,end) infinite; /* steps = number of frames */
  -moz-animation: sprite-animation 6s steps(27,end) infinite; /* steps = number of frames */

   animation: sprite-animation 6s steps(27,end) infinite;
   }
   @-webkit-keyframes sprite-animation {
    from { background-position: 0 0; }
    to { background-position: -4064.89px 0; } 
   }
  @-moz-keyframes sprite-animation {
    from { background-position: 0 0; }
    to { background-position: -4064.89px 0; } 
   }
#mago{
	width: 400px;
	height: 600px;
	position: absolute;
    bottom: 0px;
    right: 50px;
}
#pompa1{
	 -webkit-animation: pompa1 3s Ease infinite;
    }
    @-webkit-keyframes pompa1{
        60%{
            opacity: 0.8;
        }
        100%{
            -webkit-transform: translate(55px,-140px);
            opacity: 0;
        }
    }
#pompa2{
	 -webkit-animation: pompa2 4s Ease infinite;
    }
    @-webkit-keyframes pompa2{
        60%{
            opacity: 0.8;
        }
        100%{
            -webkit-transform: translate(-55px,-130px);
            opacity: 0;
        }
    }
#pompa3{
	 -webkit-animation: pompa3 3.7s 1s Ease infinite;
     }
    @-webkit-keyframes pompa3{
        60%{
            opacity: 0.8;
        }
        100%{
            -webkit-transform: translate(-25px,-110px);
            opacity: 0;
        }
    }
#pompa4{
	 -webkit-animation: pompa1 2.9s 1s Ease infinite;
        }     
#pompa5{
	 -webkit-animation: pompa5 3.4s Ease infinite;
        }
    @-webkit-keyframes pompa5{
        60%{
            opacity: 0.8;
        }
        100%{
            -webkit-transform: translate(75px,-130px);
            opacity: 0;
         }
    }
#pompa6{
	 -webkit-animation: pompa6 2.8s Ease infinite;
        }
    @-webkit-keyframes pompa6{
        60%{
            opacity: 0.8;
        }
        100%{
            -webkit-transform: translate(65px,-100px);
            opacity: 0;
        }
    }
#pompa7{
	 -webkit-animation: pompa7 3.2s 1.5s Ease infinite;
        }
    @-webkit-keyframes pompa7{
        60%{
            opacity: 0.8;
        }
        100%{
            -webkit-transform: translate(85px,-120px);
            opacity: 0;
        }
    }
#pompa8{
	 -webkit-animation: pompa1 3.5s  Ease infinite;
    } 
    @-webkit-keyframes pompa8{
        0%{
            -webkit-transform: translate(0px,0px);
        }
        60%{
            opacity: 0.8;
        }
        100%{
            -webkit-transform: translate(-45px,-120px);
            opacity: 0;
        }
    }
#pompa9{
	 -webkit-animation: pompa9 4s  Ease infinite;
       } 
    @-webkit-keyframes pompa9{
        0%{
            -webkit-transform: translate(0px,0px);
        }
        60%{
            opacity: 0.8;
        }
        100%{
            -webkit-transform: translate(-75px,-90px);
            opacity: 0;
        }
    }
#pompa10{
	 -webkit-animation: pompa10 2.5s  Ease infinite;
    } 
    @-webkit-keyframes pompa10{
        60%{
            opacity: 0.5;
        }
        100%{
        -webkit-transform: translate(5px,-30px);
            opacity: 0;
        }
    }
#pompa11{
	 -webkit-animation: pompa11 2.5s  Ease infinite;
        } 
     @-webkit-keyframes pompa11{
        60%{
            opacity: 0.5;
        }
        100%{
        -webkit-transform: translate(-20px,-60px);
            opacity: 0;
         }
    }
#pompa12{
	 -webkit-animation: pompa12 3.2s Ease infinite;
        } 
		@-webkit-keyframes pompa12{
        40%{
            opacity: 0.7;
        }
        100%{
        -webkit-transform: translate(10px,-80px);
            opacity: 0;
        }
    }
#pompa13{
	 -webkit-animation: pompa13 2.7s Ease infinite;
        } 
		@-webkit-keyframes pompa13{
        40%{
            opacity: 0.7;
        }
        100%{
        -webkit-transform: translate(-50px,-100px);
            opacity: 0;
        }
    }
#derch{
	 -webkit-animation: mano_derch 1s  Ease infinite;
       } 
		@-webkit-keyframes mano_derch{
        0%{
        	transform: rotate(-0.4deg);
        }
        30%{
    		transform: rotate(0.5deg);
        }
        100%{
    		transform: rotate(-0.4deg);
        }
	}
#izq{
    -webkit-animation: mano_izq 1s  Ease infinite;
    } 
		@-webkit-keyframes mano_izq{
        0%{
        	transform: rotate(0.5deg);
        }
        30%{
    		transform: rotate(-0.4deg);
        }
        100%{
    		transform: rotate(0.5deg);
        }
	}
	
@media (max-width: 768px) {
    svg{
           height: 75%; 
            width: 75%;

    }
    #gato{
        background: url('../img/gatito2.svg');
        height: 200px; /* width and height of each frame */
        width: 150.55px;
        margin-top: 300px;
        margin-left: 220px;

    }
    #gato:hover {
    -webkit-animation: sprite-animation 6s steps(27,end) infinite; /* steps = number of frames */
    animation: sprite-animation 6s steps(27,end) infinite;
  }
    @-webkit-keyframes sprite-animation { /* Safari & Chrome */
        from { background-position: 0 0; }
        to { background-position: -4064.89px 0; } /* negative of sprite sheet width */
  }
}

/* Speech bubble */

.speechbubble-item {	
	right: 5%;
	top: 20%;
	margin: -15px 0 0 -15px;
	position: absolute;
}

.speechbubble-content {
	right: 20%;
	position: absolute;
	background: #bf5fff;
	z-index: 9999;
	width: 200px;
	bottom: 60%;
	padding: 20px;
	border-radius: 20px;
	font-size: 1.1em;
	text-align: center;
	color: #fff;
	opacity: 1;
	cursor: default;
	pointer-events: none;
	font-family: 'Gochi Hand', cursive;
	-webkit-font-smoothing: antialiased;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
}

/* Gap "bridge" and arrow */

.speechbubble-content::before,
.speechbubble-content::after {
	content: '';
	position: absolute;
}

.speechbubble-content::before {
	height: 100%;
	width: 3em;
}

.speechbubble-content::after {
	width: 2em;
	height: 2em;
	bottom: 10%;
	margin: -1em 0 0;
	background: url(../img/speechbubble.svg) no-repeat center center;
	background-size: 100%;
}

.speechbubble .speechbubble-content::before,
.speechbubble .speechbubble-content::after {
	left: 99%; /* because of FF, otherwise we have a gap */
}

.speechbubble .speechbubble-content::after {
	-webkit-transform: scale3d(-1,1,1);
	transform: scale3d(-1,1,1);
}