:root {
    --bg: #223344;
    --txt: #FFFFFF;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
}

#header {
    display: flex;
    justify-content: space-between;
}

#header > div {
    min-width: 360px;
}

#header h1 span {
    display: block;
    font-size: .7em;
    color: yellow
}

.level {
    /*content:"\26A1"; /* &#9889; */
}

#footer {
    margin-top: 20px;
    text-align: center;
}

#login {
    padding: 10px 100px;
    font-size: 32px;
    width: 1000px;
    margin: auto;
}

#login label {
    display: block;
    margin: 20px 0;
}

#login input, #login button {
    padding: 10px;
    font-size: 32px;
}

#login input {
    width: 500px;
}

#login .error {
    background-color: darkred;
    cursor: not-allowed;
}

#login button {
    padding: 2rem;
    margin: 1rem auto;
    display: block;
    width: 100%;
}

#login select, #login option {
    padding: 20px;
    font-size: 24px;
}

.board {
    margin: auto;
    width: 1200px;
    padding: 5px;
    display:flex;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: 5px;
    border: 1px solid var(--bg-hover);
    border-radius: 5px;
    background-color: #FFFFFF11;
}

.card {
    position: relative;
    width: 24%;
    height: 200px;
    border: 1px solid var(--bg-hover);
    background: var(--bg-header);
    transition: all ease .6s;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.02) translateY(5px);
}

.card img {
    height: 100%;
    max-width: 100%;
}

.card aside {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333333;
    z-index:100;
    cursor: pointer;
    transition: all ease 1s;
}

.card aside.active {
    background: transparent;
}

.card.completed aside.active {
    background: #009900CC;
}

.result p {
    text-align: center;
}

#app .row {
    position: relative;
}

.wait {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
    z-index: 101;
}

.wait p {
    margin: 2rem;
    font-size: 4rem;
    text-align: center;
}

.wait.active {
    display: block;
}