/*
Description:
    Contains all the styles for the winning wheel page.
    
Verison History:
    2012-01-28, Douglas McKechie
    - Created based off earlier version.
    
    2015-09-26, Douglas McKechie
    - Minor updates for the 2.0 winwheel example.
*/

body
{
    font-family: 'Raleway', sans-serif;
        background-color: #2c0522;
        background-size:100% auto;
    background-position: top center;
    background-repeat: no-repeat;

}

#fireworksField {
    z-index: 0;
}

#wheel {
    position: relative;
    z-index: 1;
}

/* Sets the background image for the wheel */
td.the_wheel
{
    background-image: url(./wheel_back.png);
    background-position: center;
    background-repeat: none;
}

/* Do some css reset on selected elements */
h1, p
{
    margin: 0;
}

div.power_controls
{
    position: relative;
    z-index: 1;
    margin-right:70px;
    margin:0 auto;
    display: block;
    max-width:300px;
}

audio {
    position: relative;
    z-index: 1;
    margin-right:70px;
    margin:0 auto;
    margin-top:40px;
    display: block;
    max-width:500px;
    width:100%;
}

#spin_button {
        font-family: 'Raleway', sans-serif;
    font-weight: bold;
    text-align: center;
  font-size: 50px;
  margin:0 auto;
  display: block;
  text-transform: uppercase;
  color:#2c0522;
}

.neon {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    text-align: center;
  font-size: 50px;
  margin:0 auto;
  display: block;
  text-transform: uppercase;
  animation: glow 1s linear infinite;
  -moz-animation: glow 1s linear infinite;
  -webkit-animation: glow 1s linear infinite;
  -o-animation: glow 1s linear infinite;
  cursor: pointer;
}

@keyframes glow {
  50% {
    text-shadow: 0 0 0.5vw #8f2626, 0 0 2vw #ff0000, 0 0 3vw #ff3366,
      0 0 3vw #fff, 0 0 5vw #fed641, 0 0 3vw #fed641, 0 0 2vw #ff69b4,
      0 0 0.5vw #ff69b4;
    color: #FFFFFF;
  }
  0%,
  100% {
    text-shadow: 0 0 0.5vw #e01c1c, 0 0 1vw #e01c1c, 0 0 2vw #ff3366,
      0 0 3vw #ff3366, 0 0 5vw #ff3366, 0 0 2vw #ff3366, 0 0 1vw #ff3366,
      0 0 0.5vw #8f2626;
    color: #ff3366;
    -webkit-text-stroke: 0.1px #ff69b4;
  }
}

div.html5_logo
{
    margin-left:70px;
}

/* Styles for the power selection controls */
table.power
{
    background-color: #cccccc;
    cursor: pointer;
    border:1px solid #333333;
}

table.power th
{
    background-color: white;
    cursor: default;
}

td.pw1
{
    background-color: #6fe8f0;
}

td.pw2
{
    background-color: #86ef6f;
}

td.pw3
{
    background-color: #ef6f6f;
}

/* Style applied to the spin button once a power has been selected */
.clickable
{
    cursor: pointer;
}

/* Other misc styles */
.margin_bottom
{
    margin-bottom: 5px;
}