@font-face {
    font-family: 'Clancy';
    src: url('/media/clancy-regular-webfont.woff2') format('woff2'), url('/media/clancy-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/media/roboto-regular.woff2') format('woff2'), url('/media/roboto-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/media/roboto-bold.woff2') format('woff2'), url('/media/roboto-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    margin: 0;
    padding: 0;
}

button {
    cursor: pointer;
}

.screen {
    width: 95vw;
    height: 95vh;
    cursor: pointer;
}

.logo {
    max-width: 95vw;
    max-height: 95vh;
}

.menu {
    color: #ffffff;
    border: none;
    border-radius: 20px;
    background-color: #ff0000;
    width: 80vw;
    height: 30vh;
    margin-top: 10vh;
    margin-left: 10vw;
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Clancy', sans-serif;
    cursor: pointer;
}

.canvas {
    padding: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

p {
    padding: 1rem 0 1rem 0;
    margin: 0;
}

.rule {
    padding: 1rem 0 1rem 0;
}

input {
    width: 6rem;
    border: 3px solid #ffffff;
    background-color: #dddddd;
    text-align: center;
    padding: 1rem;
    border-radius: 0.25rem;
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    vertical-align: top;
    margin-right: 0.5rem;
}

.value {
    display: inline-block;
    border-radius: 0.25rem;
    background-color: #eee;
    padding: 1rem;
    min-width: 6rem;
    text-align: center;
    box-sizing: border-box;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.guessbutton {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    padding: 1rem 2rem 1rem 2rem;
    background-color: #2eb67e;
    font-size: 1.5rem;
    box-sizing: border-box;
    vertical-align: top;
    color: #fff;
    margin-left: 0.5rem;
    font-family: 'Clancy', sans-serif;
}

.guessbutton.invalid {
    color: #eee;
    background-color: #888;
}

.ok .value {
    background-color: #2eb67e;
    font-weight: bold;
}

.nok .value {
    background-color: #f46da0;
    font-weight: bold;
}

.form button {
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    margin-right: 1rem;
    padding: 1rem;
    width: 10rem;
    font-size: 1.5rem;
    font-family: 'Clancy', sans-serif;
    cursor: pointer;
}

.form {
    margin-bottom: 1rem;
}

.form input {
    width: 100%;
}

.bgpink {
    background-color: #f46da0;
}

.bgorange {
    background-color: #f57617;
}

.bgblue {
    background-color: #3459b1;
}

.bggreen {
    background-color: #2eb67e;
}
