html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    background-color: rgb(44, 16, 0);
}

body {
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/*HEADER */

.header {
    flex: none;
    border-radius: 10px;
    margin: 10px 35%;
    border: 3px solid white;
    background-color: rgb(0, 60, 0);
}

@media screen and (max-width: 768px) {
    .header {
        font-size: small;
        margin: 10px 25%;
    }
    
}

.scrolling-title {
    text-align: center;
    color: white;
}

/* GAME TABLE */

.tableBoard {
    flex:1;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 50px 5px 5px;
    border: 3px solid white;
    border-radius: 20px;
    background-color: rgb(0, 60, 0);
}

.card {
    width: 60px;
    transition: transform 1s;
    transform-style: preserve-3d;
    transform: rotateY(360deg);
    margin: 5px;
}

.reverseCard {
    width: 60px;
    transition: transform 1s;
    transform-style: preserve-3d;
    transform: rotateY(360deg) translateY(-300%);
    margin: 5px;
}

.reverseCard2 {
    width: 60px;
    transition: transform 0.5s;
    transform-style: preserve-3d;
    transform: rotateY(360deg);
    margin: 5px;
}

.playGame {
    position: fixed;
    background-color: rgb(0, 41, 0);
    color: white;
    border: 3px solid white;
    border-radius: 10px;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    margin: 50px -35px;
}

.playGame:hover {
    background-color: white;
    color: rgb(0, 41, 0);
    transition: all 0.5s ease;
}

.resetGame {
    display: none;
    position: fixed;
    background-color: rgb(0, 41, 0);
    color: white;
    border: 3px solid white;
    border-radius: 10px;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    margin: 50px -75px;
}

.resetGame:hover {
    background-color: white;
    color: rgb(0, 41, 0);
    transition: all 0.5s ease;
}

.dealerBoard {
    display: none;
}

.dealerScore {
    color: white;
    font-size: 20px;
    margin: 10px;
    text-align: left;
}

/* FOOTER */

.gamerBoard {
    flex: none;
    text-align: end;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 10px;
    border: 3px solid white;
    padding: 10px;
    background-color: rgb(0, 60, 0);
    transition: opacity 0.5s ease;
    visibility: hidden;
    opacity: 0;
}

.playerScore {
    color: white;
    font-size: 20px;
    margin: 10px;
    text-align: left;
}

.gamerBoard .hitBtn {
    background-color: rgb(0, 41, 0);
    color: white;
    border: 3px solid white;
    border-radius: 10px;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
}

.gamerBoard .hitBtn:hover {
    background-color: white;
    color: rgb(0, 41, 0);
    transition: all 0.5s ease;
}

.playerCards {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 100px;
    border: 3px solid white;
    border-radius: 7px;
    margin: 200px auto 0;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}