html
{
    font-family: Rubik;
}

input
{
    font-family: inherit;
}

html, body
{
    margin: 0;
    width: 100%;
    height: 100%;
}

.display-none
{
    display: none;
}

.start-show
{
    display: flex;
    cursor: pointer;
    width: 100px;
    height: 100px;
}

#ui, #static-ui
{
    position: relative;
    pointer-events: none;
}

#ui
{
    z-index: 1;
}

#static-ui
{
    z-index: 2;
}

#select-perk-background
{
    pointer-events: all;
    background-color: #330099;
    position: absolute;
    top: 12%;
    bottom: 12%;
    left: 20%;
    right: 20%;
}

#select-perk-content
{
    color: #EE66DD;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 5%;
    bottom: 8%;
    left: 10%;
    right: 10%;
    user-select: none;
}

#select-perk-content-title
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#canvas
{
    background-color: #330099;
}

#content
{
    display: grid;
    overflow: hidden;
}

#start
{
    align-items: center;
    justify-content: center;
    color: #EC66FF;
    font-size: 15em;
}

#summon
{
    display: flex;
    flex-direction: column;
    width: 10em;
    pointer-events: all;
}

.resolution
{
    width: 1280px;
    height: 720px;
}

.resource
{
    display: flex;
    flex-direction: row;
    pointer-events: none;
    user-select: none;
    z-index: 3;
    align-items: center;
}

.game-button
{
    background-color: #EC66FF;
    color: #330099;
    border: none;
    padding: 0.5em 1em;
    font-size: 1.5em;
    cursor: pointer;
}

.game-button:disabled
{
    opacity: 0.5;
    cursor: auto;
}

.perk
{
    display: flex;
    width: 100%;
    height: 13%;
}

.perk > label
{
    opacity: 0.5;
    cursor: pointer;
    font-size: 1.2em;
    background-color: #EE66DD;
    width: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perk > label > div
{
    color:#330099
}

.perk > input:checked + label
{
    font-size: 1.5em;
    opacity: 1.0;
}

#content > *
{
    grid-area: 1 / 1;
}

@font-face
{
    font-family: Rubik;
    font-display: swap;
    src: url(./font/rubik.woff2) format("woff2");
}
