.compact-card { border: 2px solid transparent; text-align: center; cursor: pointer; position: relative; margin: 0.3em; background-color: #393a40; color: gray; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4); border-radius: 3px; user-select: none; max-width: 15em; min-width: 12em; display: flex; height: max-content; } .compact-card h1 { display: flex; align-items: center; font-size: 14px; margin: 0 10px 0 10px; } .compact-card .card-role { color: #bfb8b8; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 8em; font-size: 16px; } .selected-card { border: 2px solid #0075F2; } .compact-card-right p { font-size: 40px; margin: 0 10px 0 0; display: flex; justify-content: flex-end; } .compact-card-left p { font-size: 40px; margin: 0 0 0 10px; display: flex; justify-content: flex-start; } .compact-card-left, .compact-card-right { width: 50%; } .compact-card .card-quantity { text-align: center; margin: 0; font-size: 20px; } .compact-card-header { position: absolute; left: 0; right: 0; margin: auto; flex-direction: column; align-items: center; justify-content: center; display: flex; top: 0; pointer-events: none; text-align: center; } #deck-container, #deck, #custom-roles-container { width: fit-content; } #deck-container, #custom-roles-container { margin: 0.5em 0; } #deck { display: flex; flex-wrap: wrap; overflow: auto; max-height: 20em; } form { width: 100%; margin: 1em 0; } select { padding: 10px; font-size: 18px; font-family: 'signika-negative', sans-serif; } #deck-container, #custom-roles-container { border: 1px solid #3d4448; padding: 10px; border-radius: 3px; } #game-form > div { display: flex; flex-direction: column; border: 1px solid #3d4448; padding: 10px; border-radius: 3px; width: fit-content; } #game-form > div > label { display: flex; } #game-time label, #game-time input { margin-right: 10px; } label[for="game-time"], label[for="add-card-to-deck-form"], label[for="deck"] { color: #0075F2; font-size: 20px; border-radius: 3px; margin-bottom: 10px; font-weight: bold; } #create-game{ color: #45a445; font-size: 30px; padding: 10px 50px; margin: 1em auto 3em auto; display: flex; } .dropdown { margin: 0.5em; }