#court-container { display: flex; align-content: center; align-items: center; justify-content: center; height: 100%; padding: 20px 40px 20px 40px; background-color: var(--main-color); } #court-svg { height: 100%; user-select: none; -webkit-user-drag: none; } #court-svg * { stroke: var(--selected-team-secondarycolor); }