/*
  ========================================
  COLORS
  ========================================
*/ 
:root {
    --color-white: #FFFFFF;
    --color-black: #1F2937;
    --color-dark-black: #1C1C1C;
    --color-purple-gradient: linear-gradient(246.26deg, #585DFE 0%, #FB3796 100%);
    --color-light-yellow: #fff9db;
}

/*
  ========================================
  GENERIC SITE STYLES
  ========================================
*/
html {
    box-sizing: border-box;
} 
*, *::before, *::after {
    box-sizing: inherit;
}
body {
    background-color: var(--color-dark-black);
    margin: 0 auto;
    padding: 0;
    max-width: 520px;

    text-align: center;

    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
}
body::-webkit-scrollbar {
    display: none;
}
html {
    scroll-behavior: smooth;
}
.body-container {
    margin-left: 25px;
    margin-right: 25px;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;   
}

/*
  ========================================
  TYPOGRAPHY
  ========================================
*/
body {
    font-family: 'Inter', sans-serif;
    color: var(--color-white);
}
h1, 
h2,
h3,
p,
a {
    margin: 0;
    padding: 0;
}
h1 {
    font-weight: 800;
    font-size: 1.75rem;
}
h2 {
    font-weight: 500;
    font-size: 1.50rem;
}
h3 {
    font-weight: 400;
    font-size: 1.25rem;
}
p {
    font-weight: 300;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: var(--color-white);
}
.stake-info, 
#message-el,
#prize-money,
.intro-bet,
.required-bet-msg {
    color: var(--color-light-yellow);
}

/*
  ========================================
  HEADER SECTION
  ========================================
*/
header {
    flex-basis: 100%;
    margin-top: 15px;
    margin-bottom: 20px;
}

/*
  ========================================
  PLAYER SECTION
  ========================================
*/
.player-sec {
    flex-basis: 100%;
    margin-bottom: 20px;

    display: flex;
    flex-flow: row wrap;
    align-content: center;
}
#player-info {
    flex-basis: 100%;
    margin-bottom: 10px;

    display: flex;
    flex-flow: row wrap;
    align-content: center;
    gap: 5px;
}
#player-name-input {
    width: 110px;
}
#save-btn {
    margin-left: 10px;
}

/*
  ========================================
  BET SECTION
  ========================================
*/
.bet-sec {
    flex-basis: 100%;
    margin-bottom: 25px;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
}
.bet-sec #minus-btn,
.bet-sec #plus-btn {
    font-size: 2rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: 4px;
}
.plusminus {
    flex-basis: 100%;
    margin-top: 10px;
    margin-bottom: 15px;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
}
.plusminus .bet-money {
    margin: 0 20px 0 20px;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;

    font-size: 1.75rem;
    font-weight: 600;
}
#prize-money {
    flex-basis: 100%;
    margin-bottom: 20px;
}
.required-bet-msg {
    margin-bottom: 20px;
}
#require-bet-msg-container {
    flex-basis: 100%;
}

/*
  ========================================
  GAME SECTION
  ========================================
*/
#cards-container {
    margin-top: -30px;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    gap: 10px;
}
#cards-container img {
    max-width: 75px;
    position: relative;
}
.slide-bottom {
	-webkit-animation: slide-bottom 0.75s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-bottom 0.75s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes slide-bottom {
    0% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(30px);
                transform: translateY(30px);
    }
}
@keyframes slide-bottom {
    0% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
                top: 0px;
    }
    100% {
        -webkit-transform: translateY(30px);
                transform: translateY(30px);
    }
}
#message-el {
    margin-bottom: 15px;
}
.cards-heading {
    margin-bottom: 10px;
}
#cards-el {
    margin-bottom: 15px;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    gap: 20px
}
.sum-heading {
    margin-top: 40px;
    margin-bottom: 15px;
}
#redo-btn {
    margin-bottom: 20px;
}
#stake-container {
    margin-bottom: 10px;
}
#balance-label,
#balance-number {
    display: flex;
    flex-flow: row wrap;
    align-content: center;
    gap: 20px
}

/*
  ========================================
  FOOTER
  ========================================
*/
.footer {
    margin-top: 50px;
    margin-bottom: 30px;
}
.footer,
.socials {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}
.socials-list {
    flex-basis: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.socials-list a {
    font-size: 2rem;
}
.socials-list a i:hover,
.socials-list a img:hover {
    transform: scale(1.1);
    transition: 0.5s;
}
.footer p {
    margin-top: 10px;
    flex-basis: 100%;
}
.footer img {
    width: 27px;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-5-5 14:47:23
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-bottom
 * ----------------------------------------
 */