﻿
.fancy {
    --slot-size: 50px; /* CHANGE SIZE HERE */
    --font-scale: 0.7;
    --borderradious:10px;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}



.slot {
    float: left;
}

input[type="button"] {
    display: block;
}

/* ---------------------------------------------------------------------
   FANCY EXAMPLE
--------------------------------------------------------------------- */
.fancy .jSlots-wrapper {
    overflow: hidden;
    height: var(--slot-size);
    display: inline-block; /* to size correctly, can use float too, or width*/
    /*border: 1px solid #999;*/
}

.fancy .slot li {
    width: var(--slot-size);
    line-height: var(--slot-size);
    text-align: center;
    font-size: calc(var(--slot-size) * var(--font-scale));
    font-weight: bold;
    color: #fbbf24;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
    font-family: 'Gravitas One', serif;
    border-left: 1px solid #999;
   
}

.fancy .slot:first-child li {
    border-radius: var(--borderradious) 0px 0px var(--borderradious);
}
.fancy .slot:nth-child(3) li {
    border-radius: 0px var(--borderradious) var(--borderradious) 0px;
}
.fancy .slot:last-child li {
    border-radius: var(--borderradious);
}


.jSlots-wrapper .slot:last-child {
    margin-left: 10px;
}

    .fancy .slot:first-child li {
    border-left: none;
}

.fancy .slot li{
    background-color: #0f172a;
}


.fancy .slot li span {
    display: block;
}

/* ---------------------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------------------- */

@-webkit-keyframes winner {
    0%, 50%, 100% {
        -webkit-transform: rotate(0deg);
        font-size: 70px;
        color: #fff;
    }

    25% {
        -webkit-transform: rotate(20deg);
        font-size: 90px;
        color: #FF16D8;
    }

    75% {
        -webkit-transform: rotate(-20deg);
        font-size: 90px;
        color: #FF16D8;
    }
}

@-moz-keyframes winner {
    0%, 50%, 100% {
        -moz-transform: rotate(0deg);
        font-size: 70px;
        color: #fff;
    }

    25% {
        -moz-transform: rotate(20deg);
        font-size: 90px;
        color: #FF16D8;
    }

    75% {
        -moz-transform: rotate(-20deg);
        font-size: 90px;
        color: #FF16D8;
    }
}

@-ms-keyframes winner {
    0%, 50%, 100% {
        -ms-transform: rotate(0deg);
        font-size: 70px;
        color: #fff;
    }

    25% {
        -ms-transform: rotate(20deg);
        font-size: 90px;
        color: #FF16D8;
    }

    75% {
        -ms-transform: rotate(-20deg);
        font-size: 90px;
        color: #FF16D8;
    }
}


@-webkit-keyframes winnerBox {
    0%, 50%, 100% {
        box-shadow: inset 0 0 0px yellow;
        background-color: #FF0000;
    }

    25%, 75% {
        box-shadow: inset 0 0 30px yellow;
        background-color: aqua;
    }
}

@-moz-keyframes winnerBox {
    0%, 50%, 100% {
        box-shadow: inset 0 0 0px yellow;
        background-color: #FF0000;
    }

    25%, 75% {
        box-shadow: inset 0 0 30px yellow;
        background-color: aqua;
    }
}

@-ms-keyframes winnerBox {
    0%, 50%, 100% {
        box-shadow: inset 0 0 0px yellow;
        background-color: #FF0000;
    }

    25%, 75% {
        box-shadow: inset 0 0 30px yellow;
        background-color: aqua;
    }
}



.winner li {
    -webkit-animation: winnerBox 2s infinite linear;
    -moz-animation: winnerBox 2s infinite linear;
    -ms-animation: winnerBox 2s infinite linear;
}

    .winner li span {
        -webkit-animation: winner 2s infinite linear;
        -moz-animation: winner 2s infinite linear;
        -ms-animation: winner 2s infinite linear;
    }

/* Syntax Highlighter, ignore */
.dp-highlighter ol {
    padding: 10px;
}
