/*
Source - https://stackoverflow.com/q/73718109
Posted by user19995252, modified by community. See post 'Timeline' for change history
Retrieved 2025-11-15, License - CC BY-SA 4.0
*/
body {
background-color: blue;
}
.game-container {
background-color: yellow;
background-size: 1159px 771px;
background-position: top;
background-repeat: no-repeat;
background-position: top;
position: relative;
height: 100vh;
}
.player-hand-1 {
top: -172px;
left: 50%;
transform: translate(calc(-50% + 80px), 0);
display: flex;
position: absolute;
box-shadow: 29px 33px 21px rgba(0, 0, 0, 0.24);
}
.player-hand-1 img {
margin-left: -160px;
background: red;
border: 1px solid white;
}
.card {
width: 200px;
height: 280px;
}