@font-face {
    font-family: "stdText";
    src: url("../fonts/opensans.woff");
}

@font-face {
    font-family: "titleText";
    src: url("../fonts/blizzquadra.woff");
}

body {
    font-family: "stdText";
    font-size: 16px;
    line-height: 1.5;
    margin-top:0;
    background-color: #000000;
    background-image: url('../images/wood.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: white;
}

img {
    max-width: 100%;
}

.winner1, .winner2, .loser1, .loser2 {
    width: 225px;
    height: 62px;
    display: none;
    z-index: 0;
    position: absolute;
    animation: blinker 2s ease-in infinite;
}

@keyframes blinker {  
  50% { opacity: 0.2; }
}

.winner1, .winner2 {
    background-image: url('../images/winner.png');
}

.loser1, .loser2 {
    background-image: url('../images/loser.png');
}

.winner1, .loser1 {
    top: 0;
    left: -60px;
    transform: rotate(-20deg);
}

.winner2, .loser2 {
    top: 0;
    right: -60px;
    transform: rotate(20deg);
}

.fighter-box {
    font-family: "titleText";
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 2px #000;
    font-size: 48px;
    text-align: center;
}

.sub-fighter-box {
    text-align: center;
    margin-bottom: 20px;
}

.gambler-box {
    color: black;
    background-color: #ebdec2;
    box-shadow: 0 0 16px 6px rgba(0,0,0,.5);
    border: 12px solid #ebdec2;
    border-image: url('../images/box-paper.png') 12 repeat;
    border-image-outset: 3px;
    padding: 15px;
    min-height: 300px;
    transition: all 1s;
}

.gambler-box.winner {
    box-shadow: 0 0 16px 6px rgba(125,125,125,.5);
}

.gambler-box.loser {
    filter: brightness(50%);
}

.no-bets {
    text-align: center;
    margin-top: 80px;
    font-weight: bold;
}