html, body {
    overflow: hidden;
    overscroll-behavior: none; /* try to suppress some of the browser actions when touching near the border of the page.
                                  doesn't appear to actually do much in practice. */
}

#main-container
{
    display: flex;
    flex-direction: column;
}

.piece-image
{
    image-rendering: crisp-edges;
    cursor: pointer !important;
}

#loading-screen
{
    background-color: black;
    display: flex;
    align-items: center;
    font-size: 5vw;
    z-index: 7;
}

#loading
{
    margin: auto;
}

#hex-dialog > span
{
    color: #800080;
    transform: rotate(-90deg);
}

#hex-modal-bg-container
{
    display: flex;
    z-index: 5;
    align-items: center;
    justify-content: center;
    background-color: rgba(128, 128, 128, 0.4);
    visibility: hidden;
}

#hex-modal-svg
{
    width: 100%;
    height: 100%;
}

#copy
{
    cursor: pointer;
}

#share-open
{
    cursor: pointer;
}

.option
{
    padding-top: 2vh;
    width: 21vw;
}

.option-toggle
{
    transform: rotate(90deg);
    display: inline-block; /* rotate ignored if not present */
    height: 2vw;
    width: 2vw;
    vertical-align: center;
    margin-left: 2vw;
}

.option-text
{
    text-align: right;
    margin-left: 2vw;
    vertical-align: center;
}