/**
 * Shared game shortcode styles.
 * Used by: [frgame], [gamept], [game]
 */

/* Element CSS */

.game-container #target {
    box-sizing: border-box;
    border-radius: 4px;
    background: transparent !important;
    box-shadow: none !important;
    padding: 100px 20px 20px !important;
}

.game-container #targetm {
    box-sizing: border-box;
    border-radius: 4px;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0px !important;
}

.game-container .col-md-4 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* Animation CSS */

.game-container [class^="animated-"],
.game-container [class*=" animated-"] {
    animation-fill-mode: both;
}

@keyframes tada {
    0% { transform: scale(1); }
    10%, 20% { transform: scale(0.8) rotate(-4deg); }
    30%, 50%, 70%, 90% { transform: scale(1.2) rotate(4deg); }
    40%, 60%, 80% { transform: scale(1.2) rotate(-4deg); }
    100% { transform: scale(1) rotate(0); }
}

.game-container .animated-tada {
    animation: tada 1s;
}

@keyframes tadaSmall {
    0% { transform: scale(1); }
    10%, 20% { transform: scale(0.9) rotate(-2deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(2deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-2deg); }
    100% { transform: scale(1) rotate(0); }
}

.game-container .animated-tadaSmall {
    animation: tadaSmall 1s;
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

.game-container .animated-flash {
    animation: flash .5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.game-container .animated-shake {
    animation: shake .7s;
}

.game-container .animated-zoom-in-zoom-out {
    animation: zoom-in-zoom-out .7s ease-out;
    animation-iteration-count: 2;
}

@keyframes zoom-in-zoom-out {
    0% { transform: scale(1, 1); }
    50% { transform: scale(1.2, 1.2); }
    100% { transform: scale(1, 1); }
}

@keyframes pulseUp {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.game-container .animated-pulseUp {
    animation: pulseUp .25s;
}

@keyframes pulseDown {
    0% { transform: scale(1); }
    50% { transform: scale(0.85); }
    100% { transform: scale(1); }
}

.game-container .animated-pulseDown {
    animation: pulseDown .25s;
}

@keyframes popIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.game-container .animated-popIn {
    animation: popIn .25s;
}

@keyframes popOut {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(0); }
}

.game-container .animated-popOut {
    animation: popOut .25s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.game-container .animated-fadeIn {
    animation: fadeIn .2s;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.game-container .animated-fadeOut {
    animation: fadeOut .2s;
}

/* Poke Elements */

.game-container .pokecircle {
    background-color: #ee3442;
    padding: 20px 15px !important;
    border-radius: 50%;
    font-size: 11px !important;
    color: #fff;
    margin: 5px;
    font-weight: bold;
    cursor: pointer;
}

.game-container .poketext {
    font-family: Poppins, sans-serif;
    color: #000000;
    font-size: 14px;
    cursor: pointer;
    margin: auto 5px;
    max-width: 230px;
    line-height: 20px;
}

.game-container .poke-iteml {
    margin: 15px;
    display: inline-flex;
    text-align: right;
    float: right;
}

.game-container .d-xs-block .poke-iteml {
    margin: 15px;
    display: inline-flex;
    text-align: left;
}

.game-container .poke-item {
    margin: 15px;
    display: inline-flex;
    text-align: left;
}

.game-container .poke-iteml:hover .poketext {
    color: #fff;
}

.game-container .poke-iteml:hover,
.game-container .poke-iteml:visited,
.game-container .poke-iteml:active,
.game-container .poke-iteml.active {
    background-color: #f55;
    border-radius: 5px;
}

.game-container .poke-item:hover .poketext {
    color: #fff;
}

.game-container .poke-item:hover,
.game-container .poke-item:visited,
.game-container .poke-item:active,
.game-container .poke-item.active {
    background-color: #f55;
    border-radius: 5px;
}

.game-container #badforheart {
    padding: 10px;
    border-radius: 29px 0px;
    color: #000;
    max-width: 300px;
    font-style: italic;
}

.game-container text#badforheart {
    stroke: #000 !important;
    fill: #000 !important;
    font-weight: 500 !important;
}

@media only screen and (max-width: 550px) {
    .game-container .poke-item {
        display: inline-block !important;
    }

    .game-container .pokecircle {
        width: 50px !important;
        height: 50px !important;
        padding: 10px !important;
    }
}
