/* Styling for UNO game */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    text-align: center;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

#gameArea {
    width: 800px;
    margin: 20px auto;
}

#gameControlPanel {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    margin: 10px;
    border-style: dotted;
}

#opponentsPanel {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    margin: 10px;
    border-style: dotted;
}

#gameStatusPlayers {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
}

#opponentsPanel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    width: 100%;
    padding: 10px;
    margin: 10px;

    border-style: dotted;
}

#playAreaPanel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    width: 100%;
    padding: 10px;
    margin: 10px;

    border-style: dotted;
}

#yourHandPanel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    width: 100%;
    padding: 10px;
    margin: 10px;

    border-style: dotted;
}

#statusPanel {
    width: 100%;
    padding: 10px;
    margin: 10px;
    border-style: dotted;
}

/* #opponent {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: left;
} */


.card {
    width: 80px;
    height: 120px;
    border-radius: 10px;
    margin: 10px;
    display: inline-block;
    text-align: center;
    line-height: 120px;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #000;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.1);
}

/* .card.mini {
    width: 20px;
    height: 30px;
    margin: 2px;
    font-size: 0.5rem;
    border: 1px solid #000;
} */

.card.red {
    background-color: #D72600;
}

.card.green {
    background-color: #379711;
}

.card.blue {
    background-color: #0956BF;
}

.card.yellow {
    background-color: #ECD407;
}

.card.wild {
    background-color: black;
    color: white;
}

.card.upsidedown {
    background-color: black;
}

.card.empty {
    background-color: #00000000;
}


input {
    padding: 10px;
    font-size: 1rem;
    margin: 10px;
}

button {
    padding: 10px;
    font-size: 1rem;
    margin: 10px;
    cursor: pointer;
}

#opponentsPanel, #turnInfo {
    font-size: 1.2rem;
    margin-top: 20px;
}









/* Style the modal background */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

/* Modal content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 400px;
    text-align: center;
}

/* Buttons inside the modal */
.modal-button {
    height: 50px;
    width: 50px;
    margin: 10px;
    padding: 10px;
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Style the close button */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}