/* style.css */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    background-color: #f0f0f0;
}

.juncao {
    display: flex;
    flex-direction: column;
    width: 100vw;
    justify-content: center;
}

.col-2 {
    display: flex;
    flex-direction: row;
}

#game-container {
    text-align: center;
    width: 100%;
}

#card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 150px;
    height: 150px;
    margin: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.card img {
    max-width: 80px;
    max-height: 80px;
    margin-bottom: 10px;
}


.card {
    width: 200px;
    height: 250px;
    perspective: 800px;
    margin: 3px;
}

.card__body {
    position: absolute;
    inset: 0;
    display: grid;
    width: 100%;
    place-items: center;
    backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(233, 21, 21, 0.75);
}


.cards-container {
    max-width: 100vw;
    width: 98%;
    height: 320px;
    margin-left: 8%;
    background-color: #40cf2d;
    border: solid 5px black;
}

.equal {
    display: flex;
    justify-content: flex-end;
    margin: 35px;
    font-weight: bold;
}

#cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
}

.cards-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    /* Permite que as cartas se ajustem caso não caibam em uma única linha */
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    width: 90%;
    height: 250px;
    overflow-y: scroll;
    scrollbar-width: auto;
}