


/*wheelOfFortuneStyle.css*/

body {
    background: linear-gradient(rgba(0, 0, 250, 0.4), rgba(0, 150, 0, 0.3));
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.gameArea {
    position: relative;
    max-width: 1200px;
    
}


.wheelRim {
    /*filter: drop-shadow(0px 10px 20px rgba(60,60,60, 0.7)); works in mozilla, not chrome */
    stroke: rgb(168, 101, 9);
}

.wheelPointer {
    /*filter: drop-shadow(0px 20px 30px rgba(0,0,0, 0.5));*/
    fill: rgb(150, 150, 150);
}

.puzzle {
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 0.1%;
    margin-top: 2%;
    font: 2.8em Monospace;
    line-height: 1.5;
}


.hintBeforeSetup {
    opacity: 0;
    transition: opacity 0.6s;
}


.categoryText {
    display: inline-block;
    font: 0.35em Helvetica;
    margin-left: 4%;
}



.buttons button {
    margin: 5px;
    min-width: 100px;
    min-height: 25px;
    font: 3.2vmin Helvetica;
    
    
}

.buttons button:hover:enabled {
    background: orange;
}



.buttons input {
    margin: 1%;
    min-width: 45%;
    min-height: 4%;
    font: 3.2vmin Helvetica;
}

.chooseArea {
    position: absolute;
    left: 5%;
    top: 20%;
    width: 90%;
    height: 60%;
    background: rgba(50, 50, 50, 0.95);
    
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: auto;
    padding-top: 5%;
    
    animation: chooserAppear 300ms;
}

.chooseArea button {
    margin: 1%;
    min-width: 15%;
    min-height: 15%;
    font: 2em Helvetica;
}

.chooseArea button:hover:enabled {
    background: orange;
}



.playersArea {
    position: absolute;
    right: 1%;
    top: 24%;
    /*background: rgba(90, 90, 90, 0.26);*/
    padding: 1.3%;
    min-width: 20%;
    border: 2px dashed black;
    
}


.infoBox {
    position: relative;
    right: 1%;
    background: rgba(90, 0, 200, 0.26);
    color: #444;
    padding: 1.3%;
    min-width: 20%;
    font: 1.2em Helvetica;
    margin-bottom: 2%;
}

.infoBox.inTurn {
    background: rgba(0, 200, 200, 0.8);
    color: black;
}

.bankcruptInfo {
    transition: transform 1.5s ease-in-out;
    color: "#eee";
    background: rgba(11, 11, 11, 0.9);
    transform: scale(0.2, 0.2) rotate(180deg);
}

.playerAnimText {
    
    font: 1.6em Helvetica;
}



.playerGuess {
    font: 1.6em Helvetica;
    color: black;
    background: #00aabb;
	border-radius: .4em;
    position: absolute;
    display: inline-block;
    padding: 10px;
    top: 0;
    margin-left: -30%; /*How ???*/
}

/* speech bubble*/
.playerGuess:after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-left-color: #00aabb;
	border-right: 0;
	border-bottom: 0;
	margin-top: -10px;
	margin-right: -20px;
}

.playerGuessHidden {
    transform: scale(0, 1) translate(0, 0);
}

.playerGuessShowing {
    transform: scale(1, 1) translate(-40%, 0);
    transition: transform 0.4s ease-in-out;
}

.playerSolGuessShowing {
    font: 0.9em Helvetica;
     margin-left: -50%; /*How ???*/
    transform: scale(1, 1) translate(-40%, 0);
    transition: transform 0.4s ease-in-out;
}




.hiddenLetter {
    color: rgba(170,170,170,0); /*just to be sure make transparent and same color*/
    background: #ddd;
    border: 3px solid black;
    margin: 0.2%;
}

.revealingLetter {
    color: rgba(221,221,221,0);
    background: #ddd;
    border: 3px solid black;
    margin: 0.2%;
    -webkit-animation-name: revealing; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 0.8s; /* Safari 4.0 - 8.0 */
    animation-name: revealing;
    animation-duration: 0.8s;
}

.revealedLetter {
    color: black;
    background: rgba(255, 255, 255, 0);
    border: 3px solid rgba(255, 255, 255, 0);
    margin: 0.2%;
}



.solutionInfo {
    position: absolute;
    margin: auto;
    top: 10%;
    left: 10%;
    width: 80%;
    background: rgba(170, 170, 230, 0.95);
    padding: 1.3%;
    font: 2.2vw Helvetica;
}

.solutionInfoShowing {
    animation: showInfo 1s cubic-bezier(0, 0, 0.58, 1.23) 0s 1;
    animation-fill-mode: forwards;
    /*transform: translate(0, 0) rotate(0deg);*/
}

.solutionInfoHidden {
    /*transform: translate(-200%, 0) rotate(90deg);*/
    animation: hideInfo 1s cubic-bezier(0.55,-0.39, 0.72, 1.01) 0s 1;
    animation-fill-mode: forwards;
}

.solutionInfo img {
    float: left;
    max-width: 50vw;
    max-height: 50vh;
    width: auto;
    height: auto;
    margin-right: 5%;
    margin-left: 2%;
    margin-bottom: 1%;
}

.solutionInfo button {
    display: block;
    clear: both;
    margin: auto;
    padding: 3%;
    width: 40%;
    height: 50%;
    font: 3vw Helvetica;
    border-radius: 50%;
}

.solutionInfo button:hover {
    background: orange;
}






.timer {
    position: absolute;
    margin: auto;
    top: 40%;
    left: 40%;
    width: 20%;
    color: rgba(0, 0, 0, 0.95);
    background: rgba(170, 170, 230, 0.9);
    font: 6vw Helvetica;
    text-align: center;
    
}

.timer p {
    margin: auto;
    text-align: center;
}

.timerHidden {
    opacity: 0;
    width: 0;
    height: 0;
    transition: opacity width height 1s ease-in;
}



.gameOverScreen {
    position: absolute;
    margin: auto;
    top: 20%;
    left: 10%;
    width: 80%;
    color: "black";
    background: rgba(170, 170, 230, 0.95);
    font: 6vw Helvetica;
    text-align: center;
    
}

.gameOverScreen p {
    margin: auto;
    text-align: center;
    font: 6vw Helvetica;
}

.gameOverScreen button {
    margin: auto;
    text-align: center;
    font: 4vw Helvetica;
    border-radius: 50%;
    padding: 5%;
}

.gameOverScreen button:hover:enabled {
    background: orange;
}


.gameOverScreenHidden {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
    transition: opacity width height 1s ease-in;
}




.turner {
    position: absolute;
    width: 36px;
    height: 100px;
    top: 5%;
    background: url("pics/walkAnimLarge.png") left center;
    
    
}

.turnerVisible {
    display: block;
}

.turnerHidden {
    display: none;
}


.turnerWalk {
    background: url("http://i65.tinypic.com/11l0y9c.png") left center;
    animation: turnerWalk .9s steps(2) infinite;
}

.turnerTurnLetters {
    background: url("http://i67.tinypic.com/244wqi1.png") left center;
    animation: turnerTurnLetters 0.3s steps(1) infinite;
}




/* Animations */


@keyframes turnerWalk {
    0%  {background-position: 0px;}
    100% {background-position: -72px;}
}

@keyframes turnerTurnLetters {
    0%  {background-position: 0px;}
    100% {background-position: 0px;}
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes revealing {
    from {background-color: #ddd;}
    to {background-color: magenta;}
}

/* Standard syntax */
@keyframes revealing {
    0%  {background-color: #ddd;}
    50% {background-color: magenta; transform: rotateY(180deg);}
    100% {transform: rotateY(0deg);}
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes chooserAppear {
    from {transform: scale(1, 0);}
    to {transform: scale(1, 1);}
}

@keyframes chooserAppear {
    from {transform: scale(1, 0);}
    to {transform: scale(1, 1);}
}


@keyframes showInfo {
    0%  {transform: translate(-200%, 0) rotate(-90deg);}
    30% {transform: translate(-100%, 0) rotate(-90deg);}
    100% {transform: translate(0, 0) rotate(0deg);}
}

/** Hide to up-side. Hiding on right takes space (maybe could be fixed to take no space?) */
@keyframes hideInfo {
    0%  {transform: translate(0, 0) rotate(0deg);}
    90% {transform: translate(0, -200%) rotate(90deg); opacity: 1;}
    99% {transform: translate(0, -200%) rotate(90deg); opacity: 0;}
    100% {transform: translate(-200%, 0) rotate(-90deg); opacity: 0;}
}

















/*messageStyles.css*/

.infoMessage {
    position: absolute;
    margin: auto;
    top: 30%;
    left: 10%;
    width: 80%;
    background: rgba(170, 170, 230, 0.9);
    font: 6vw Helvetica;
    
    
}

.infoMessage p {
    margin: auto;
    text-align: center;
}

.infoMessageHidden {
    opacity: 0;
    transition: opacity width height 1s ease-in;
}


.normalMessage {
    
}

.shimmerMessage {
    background-image: linear-gradient(160deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 25%,rgba(255,255,255,0.85) 60%,rgba(255,255,255,0) 100%);
    
    background-position:-5000px 0;
    background-repeat: repeat-y;
    background-position: 0 0;
    
    animation: shimmer 2s linear infinite;
}



@keyframes shimmer {
    0% {background-position:-1000px 0}
    100% {background-position:1000px 0}
}


/*menu.css*/

.menu {
    margin-top: 5%;
    margin-left: 10%;
}

.menu h2 {
    font: 5vw Verdana;
    background: -webkit-linear-gradient(gold, magenta, black);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu div{
    margin-bottom: 1%;
    margin-top: 1%;
    font: 1.8vw Verdana;
    
}

.menu input {
    margin-left: 1%;
    margin-right: 1%;
    
}

.menu input:disabled {
    opacity: 0.4;
}

.menu .disabledMenu {
    opacity: 0.4;
}

.menu button {
    margin-top: 3%;
    font: 4vw Helvetica;
    border-radius: 50%;
    padding: 2%;
}

.menu button:hover:enabled {
    background: orange;
}


#menuSendQDiv {
    
    margin-top: 4%;
}


#menuShowSendQDivButton {
    
    font: 1.5vw Helvetica;
    
}


.menuSendQHidden {
    border: 2px solid blue;
    transform-origin: top;
    transition: transform 0.6s ease-in-out;
    transform: scale(1, 0);
}

.menuSendQShowing {
    border: 2px solid blue;
    transform-origin: top;
    transition: transform 0.6s ease-in-out;
    transform: scale(1, 1);
}


#menuSendQButton {
    display: block;
    margin-top: 3%;
    margin-left: 1%;
    margin-bottom: 1%;
    font: 1.8vw Helvetica;
}

#menuQList li {
    margin-top: 0.7%;
    font: 1.5vw Helvetica;
}

#menuQList li input{
    width: 45%;
}


.menuTurnerLab {
    margin-top: 2%;
    font: 1.2vw Verdana;
}

.k18 {
    color: red;
    transform-origin: center;
    animation: k18Anim 1s infinite alternate;
    display: inline-block;
}


@keyframes k18Anim {
    0% {transform: scale(0.9, 0.9) rotate(-10deg);}
    100% {transform: scale(1.2, 1.2) rotate(5deg);}
}



