@font-face {
    font-family: squaredance;
    src: url('fonts/squaredance10.ttf');    
}

html
{
    width: 100%;
    height: 100%;
}

body
{
    background-color: #aa5555;
    animation: colorswap 1s linear 0s infinite alternate;
    width: 100%;
    height: 100%;
    margin: 0px;
}

.topbar
{
    width: 100%;
    height: 60px;
    font-size: 50px;
    text-align: center;
    font-family: squaredance, Haettenschweiler, 'Arial Narrow Bold', sans-serif;    
    background-color: #aa7777;
    position: relative;
    left: 0px;    
    width: 100%;
    top: 0px;   
    line-height: 60px; 
}

#anim_canvas
{
    background-color: black;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;    
    margin-left: auto;
    margin-right: auto;
}

.bottombar
{
    height: 60px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    background-color: #aa7777;
    line-height: 30px;
    font-family: squaredance;
    font-size: 14px;    
}

.choicesbar
{
    width: 100%;
    height: calc(100% - 280px);
    background-color: white;
    position: flex;    
    left: 0px;
    top: 0px;
}

.detailbar
{
    width: 100%;    
    top: 0px;
    height: 60px;    
    left: 0px;
    background-color: #c33;        
    position: relative;    
    display: inline-block;
    text-align: center;
    font-family: squaredance;
    font-size: 18px;    
    line-height: 30px;
}

.animbar
{
    position: relative; 
    top: 0px;
    left: 0px;
    height: 100px;
    width: 100%;    
    background-color: black;        
}

.testimg
{
    height: 90%;
    width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;    
    image-rendering: pixelated;    
}



@keyframes headloop
{
    from {transform:rotate(-20deg);}
    to {transform:rotate(20deg);}
}



@keyframes colorswap
{
    0% {background-color: #dd0000}
    100% {background-color: #660000}
}


canvas, img {
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;    
}

.selectionBox
{
  width: 100px;
  height: 100px;
  background-color: #444;
  border-radius: 15px;
  box-shadow: inset 0px 0px 0px 5px #999;
  line-height: 100px;
  color: white;
  text-align: center;
  font-size: 18px;  
  font-family: arial;
  position: relative;
}

.selectionBox img
{
    width: 64px;
    height: 64px;
    margin-top: 10px;    
}

.selectionBox .label
{
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 20px;
    font-family: squaredance, Haettenschweiler, 'Arial Narrow Bold', sans-serif; 
    text-align: center;
    line-height: 20px;
}