*|* { margin:0; padding:0; } body { display: flex; flex-direction: column; justify-content:center; align-items:center; } #disc { display:block; width:80%; min-height:60%; text-align:center; } #menu { display:flex; justify-content: stretch; align-items: stretch; width:100%; height:5vh; } .menu_button_input { appearance: unset; display: none; } .menu_button { display: flex; flex: 1; background: #666; text-align: center; justify-content: center; align-items: center; } .menu_button_input:checked + .menu_button { background: #999; } #display { display: flex; justify-content: space-around; align-items: stretch; height: 95vh; width: 100%; } #deck, #deckDisp { display: flex; justify-content: center; align-items: center; } #decks, #hands, #pools, #users { display: flex; flex-direction: column; justify-content: start; align-items: stretch; list-style: none; width: 100%; height: auto; padding-left: 5vw; padding-right: 5vw; } #hand { display: flex; width: 50%; max-width: 50%; overflow: auto; justify-content: left; align-items: center; } .object_name { position: absolute; top: 0; left: 0; background-color: rgba(0,0,0,0.8); color: rgba(255,255,255,1); border-radius: 5px 0; padding: 2px; } .library { background: rgba(200,200,200,1); text-align:left; margin:5px 5px -15px 5px; padding:5px 5px 20px 5px; min-height:10%; border:solid 1px rgba(140,140,140,1); border-radius:10px 10px 0px 0px; } .button { display: inline-block; background: rgba(150,150,150,0.7); user-select: none; margin:1px; padding:2px; border:solid 1px rgba(90,90,90,0.5); border-radius:5px; cursor:pointer; } .button:hover { background: rgba(140,140,140,1); margin:0px; padding:3px; transition:0.2s; } .dialog_back { position:absolute; display:flex; justify-content:center; align-items:center; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.7); } .dialog_window { display:flex; flex-direction:column; background: rgba(255,255,255,1); border-radius:5px; } .dialog_title { display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.3); padding: 0px 0px 0px 5px; } .dialog_content { padding: 5px; } .card { height: 3in; width: 2in; display: inline-block; border: 1px rgba(0,0,0,1) solid; border-radius: 5px; min-height: 3in; min-width: 2in; max-height:3in; max-width:5in; overflow: auto; background: rgb(216, 206, 184); } .deck, .pool, .hand { display: flex; flex-direction: column; justify-content: space-between; align-items: center; position: relative; margin-top:5px; min-height:10vh; max-width:90vw; border-radius: 5px; border: 1px solid rgba(0,0,0,1); } .username { margin-top:5px; } .selected { background-color:rgba(0,150,0,0.5); border-color:rgba(250,230,0,1); } .deck_button, .hand_button, .pool_button, .card_button { border-radius: unset; margin:0; } .delete { border-radius: 0 5px 0 0 ; } .delete:hover { background-color: rgba(255,0,0,1); } .controls { position:absolute; top:0; right:0; } .content { display: flex; justify-content: start; align-items: center; overflow-y: hidden; overflow-x: auto; white-space: nowrap; height: 4in; max-width: 100%; } .add_button { margin-top: 5px; text-align: center; } .deck_size { font-size:2in; }