:root {
    --gold: rgba(255, 217, 0, 0.901);
    --darkgold: rgba(172, 148, 14, 0.681);  
    --green: rgba(0, 230, 0, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: url(images/green-table.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    font-family: 'Anton', sans-serif;
    color: gold;
    overflow: hidden;
}

.text {
    text-align: center;
    margin: auto;
    color: white;
}

.message {
    font-size: 2.5rem;
    width: 40%;
}

#card-id {
    width: 6.3rem;
    height: auto;
    margin: 0.2rem;
    text-align: center;
}

.nav-wrapper {
    height: auto;
    text-align: center;
}

.blackjack {
    font-size: 3.5rem;
    margin-top: 20px;
}

.coins {
    margin: 15px;
    color: rgb(59, 240, 35);
    text-shadow: 1px 1px 2px rgb(11, 32, 11);
    padding:0;
    font-size: 1.5rem;
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn {
    padding: 10px;
    margin: 30px;
    border-radius: 10%;
    background-color: var(--gold);
    height: 40px;
    font-weight: bold;
    box-shadow: 1px 1px 5px rgb(26, 70, 9);
}



.button-div {
    display: flex;
    justify-content: center;
    margin-top: 5px;
} 

.btn-another {
    background-color: var(--gold);
    display: none;
}

.btn-again {
    display: none;
    background-color: rgba(172, 148, 14, 0.681);
}

.btn-again:hover {
    font-size: 1rem;
}

#holdBtn {
    display: none;
    

}

#points {
    font-size: 1.1rem;
    margin: .4rem;
    visibility: hidden;
    color: white;
    text-shadow: 1px 1px black;
}

#dealerPoints {
    visibility: hidden;
    font-size: 1.1rem;
    margin-top: 5px;
    color: white;
    text-shadow: 1px 1px black;
}


.dealercards {
    text-align: center;
    margin: .4rem;
    display: none;
    color: white;
    text-shadow: 1px 1px black;
}

#navwrapper{
    display: flex;
    
}

@media ( max-width: 500px ) {
    #card-id {
        height: 6.4rem;
        width: auto;
    }

    .coins {
        margin: 0;
    }

    .btn {
        margin: 10px;
    }   

    .points {
        margin: .4rem;
    }

    .blackjack {
        margin-top: 5px;
    }

    .message {
        font-size: 1.4rem;
        width: 40%;
        
        /* display: flex;
        flex-wrap: nowrap; */
        
    }

    .button-div {
        height: 50px;
        
    } 

    .cards-div {
        flex-wrap: wrap;
    }

};

.dealer-cards-container {
    text-align: center;
    margin: auto;
}

/* .testx {
    text-align: center;
} */

.cards-div {
    /* object-fit: contain;
    background-color: black; */
    margin: 1px auto;
    display: flex;
    justify-content: center;
}

