body {
background-image: url("../images/bg/flat_background0.png");
background-size: cover;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
height: 100vh;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
position: relative;
}
.game_container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
height: 100%;
width: 80%;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 15px;
padding: 20px;
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
position: relative;
}
.north, .south {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.north h2, .south h2 {
display: none;
}
.player_area {
display: flex;
justify-content: space-between;
width: 100%;
}
.hand_area, .discard_area {
width: 45%;
}
.hand, .discard {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.hand li, .discard li {
display: inline-block;
margin: 5px;
}
.hand li img, .discard li img {
width: 180px;
height: auto;
}
.deck {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
#drawButton {
padding: 10px 20px;
font-size: 16px;
background-color: #4CAF50;
border: none;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 12px;
border-bottom: 2px solid black;
}
.removed {
display: flex;
justify-content: center;
position: absolute;
top: 50%;
left: 4%;
transform: translate(-50%, -50%);
width: 8%;
height: 100%;
flex-direction: column;
align-items: center;
}
.cards {
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.cards li {
display: inline-block;
margin: 8px;
}
.cards li img {
width: 100px;
height: auto;
}
h2, h3 {
text-align: center;
}
.hand_area {
order: 1;
}
.discard_area {
order: 2;
}
.discard {
list-style: none;
padding: 0;
display: flex;
justify-content: flex-start;
flex-wrap: nowrap;
overflow: hidden;
}
.discard li {
display: inline-block;
margin-right: -120px;
}
.hide {
display: none;
}