#field {
    background-color: #53A051;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    /* A common soccer pitch ratio (e.g., 105m x 68m) */
    aspect-ratio: 105 / 68;
    flex-shrink: 1;
    transform-origin: center;
}

.ball {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%; /* A circle for a soccer ball */
    border: 1px solid #000000;
}