html, body {
    height: 100%;
    width: 100%;
    margin: 0;
}

h1 {
    text-align: center;
    font-size: 2rem;
}

#counter, p {
    text-align: center;
}

#battleground {
    height: 40vh;
    width: 40vw;
    margin: 1rem auto;
    border: 1px solid black;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

#vs {
    visibility: hidden;
}

#selection {
    width: 50vw;
    margin: 2rem auto;
    text-align: center;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    width: 24rem;
    border-radius: 0.5rem;
}

.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}
