@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz@10..72&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url("../../../shared_assets/animate.css");
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700&display=swap');
.custom-font {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
}


/* ------------------------------------------------------------ container setup ------------------------------------------------------------ */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/blackjack/assets/blackjack-generic/img/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    background-position: center;
}

#game-container {
    width: 2280px;
    height: 1360px;
    position: relative;
    text-align: center;
    color: #fff;
    background-image: url(/blackjack/assets/blackjack-generic/img/table.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#intro-button,
#play-button {
    cursor: pointer;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 3px;
    background-color: #fff;
    color: black;
    width: max-content;
    margin: 0 auto;
    font-weight: 900;
    text-transform: uppercase;
}

#title {
    color: #fff;
    font-weight: bold;
    font-size: 4em;
    background-image: url(/blackjack/assets/blackjack-generic/img/gameTitle.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 296px;
    top: 0;
    left: 0;
}


/* sound and restart */

#toggle-sound svg,
#restart-button svg {
    fill: #fff;
}

div#intro-description b,
div#rules-header b {
    color: #ffdf20;
    font-size: 1.4em;
    display: contents;
    text-transform: uppercase;
}

#intro-container,
#rules-container,
#board-container,
#prize-container {
    font-size: 3em;
    margin-top: 80px;
}

#intro-container div#title,
#rules-container div#title {
    position: absolute;
    margin: 0 auto;
    margin-bottom: 10px;
    width: 100%;
    margin-top: -230px;
}

#intro-button,
#play-button {
    cursor: pointer;
    padding: 10px 30px;
    border: 1px solid #fff;
    border-radius: 3px;
    background-color: #22b573;
    font-size: 30px;
    color: white;
    text-shadow: 0 0 4px #293c26;
    width: max-content;
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0px 0px 10px #293c26;
}

div#intro-button,
div#play-button {
    position: absolute;
    margin: 0 auto;
    bottom: -40px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 1px;
}

.dealer-text {
    margin-bottom: 10px;
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.player-section,
.dealer-section {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 110px;
    justify-content: center;
    padding: 10px;
    width: 100%;
}

.player-section {
    gap: 65px;
    flex-wrap: wrap;
    margin-top: 20px;
    max-width: 500px;
    min-width: 500px;
    margin: 0 auto;
}

.dealer-section {
    margin-bottom: 30px;
}

.dealer-hand-container,
.player-hand-container {
    align-items: center;
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.card-set {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
}

.card-img {
    height: auto;
    min-width: 85px;
    width: 85px;
}

.cards-border {
    border: 4px solid #22b573;
    border-radius: 8px;
    padding: 5px;
}

.action-btn {
    border: 0px solid #22b573;
    background-color: #22b573;
    color: white;
    cursor: pointer;
    font-size: 30px;
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    border-radius: 10px;
    text-transform: uppercase;
    padding: 10px 20px;
    box-shadow: 3px 3px 10px #124024;
}

.pusher {
    margin-bottom: 40px;
}

.hand-value.pusher,
.hand-value {
    border-top: 2px solid #98ac8f;
    border-bottom: 2px solid #98ac8f;
    color: #ffdf20;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-left: 0;
    border-right: 0;
    background: #195C3C;
    background: radial-gradient(circle, rgba(25, 92, 60, 1) 0%, rgba(25, 92, 60, 0) 100%);
}


/* the prize container */

#prize-container {
    font-size: 2em;
    padding: 30px 10px 25px 10px;
    z-index: 10;
    pointer-events: auto;
}

#intro-container,
#rules-container,
#prize-container {
    padding: 75px;
    background-color: rgba(15, 60, 28, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    top: 20%;
    position: relative;
    margin: 0 auto;
    max-width: 600px;
}

.prize-name {
    color: white;
    line-height: 2em;
    font-size: 55px;
    padding-bottom: 25px;
}

.prize-name-value,
.prize-name-tail {
    color: #ffdf20;
    font-size: 1.6em;
    display: contents;
    text-transform: uppercase;
}

.game-finished.prize-code-0 .prize-name-value {
    text-shadow: none;
    font-style: italic;
}

.glow {
    font-size: 80px;
    color: #fff;
    text-align: center;
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate;
}

.prize-name-head {
    display: block;
    margin-bottom: -20px;
}

.prize-header {
    font-size: 79px;
    color: #fff;
    margin: 0;
}

.game-finished.prize-code-0 .prize-name-head {
    display: none;
}

.prize-points {
    display: inline-block;
    font-weight: bold;
    font-size: 3em;
    margin: 0;
    padding: 0;
    line-height: 1;
    color: #ffdf20;
}

.prize-name-points {
    display: inline-block;
    font-weight: bold;
    font-size: 3em;
    color: #ffdf20;
    margin: auto auto auto 15px;
}

.prize-points-description {
    font-size: 34px;
    margin: 0px;
    color: #fff;
    line-height: 1.25em;
    border-top: 1px solid;
    padding-top: 50px;
}

.no-prize-header {
    color: white;
    font-size: 50px;
    font-style: italic;
    font-weight: bold;
}

.no-prize-description {
    color: white;
    font-size: 27px;
}

#prize-container div#title {
    margin-top: -250px;
    margin-bottom: -20px;
}

.game-finished #board-container {
    animation-name: disapear;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.game-over-lose .prize-name {
    font-size: 2.4em;
    color: #ffdf20;
    font-weight: bold;
    padding: 0;
    line-height: 1.2em;
    margin-top: -46px;
    margin-bottom: 32px;
}

@keyframes disapear {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        max-height: 0;
        padding: 0;
    }
}

.game-finished #prize-container {
    display: flex !important;
    animation: prizeDropIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1s forwards;
    opacity: 0;
    position: absolute;
    TEXT-ALIGN: CENTER;
    WIDTH: auto;
}

@keyframes prizeDropIn {
    0% {
        position: relative;
        opacity: 0;
        transform: translateY(-140px);
    }
    100% {
        position: relative;
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 500px) {
    body {
        background-image: url(/blackjack/assets/blackjack-generic/img/small-width-background.jpg) !important;
    }
    #board-container {
        padding: 10px;
        margin: 0 auto;
        text-align: center;
        margin-top: 70px;
    }
    #game-container {
        background-image: none !important;
        padding: 10px;
        margin: 0 auto;
        text-align: center;
    }
    #rules-container {
        margin-top: 70px;
    }
    #intro-container {
        margin-top: 70px;
    }
}

#iziigame-link a {
    height: 39px;
    width: 39px;
}