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