@font-face {
    font-family: 'TeleNeo';
    src: url('api/assets/TeleNeo-Regular.woff?id=22') format('woff');
}

* {
    margin: 0;
    padding: 0;
}

button {
    cursor: pointer;
}

body {
    font-family: 'TeleNeo';
    /*background-color: #E30074;*/
    background-color: #00ff00;
}

body input {
    display: none;
}

body .btnPnl {
    display: inline-block;
    vertical-align: top;
    margin-right: 0.5em;
    padding: 0.4em;
}

body .btnPnl button {
    height: 2em;
    width: 2em;
    font-size: 2em;
    border: 1px solid #555;
    border-radius: 1em;
    background: #aaa radial-gradient(ellipse at center, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

body .btnPnl button:focus {
    outline: 0;
}

body .btnPnl button:first-child {
    display: block;
}

body .flipNumber {
    width: 0.6em;
    height: 1em;
    display: inline-block;
    list-style-type: none;
    margin: 0 0 0.1em 0;
    padding: 0;
    font-size: 1000%;
    text-align: center;
    color: #555;
    border-radius: 0.1em;
    /*box-shadow: 0.02em 0.03em 0.1em rgba(0, 0, 0, 0.5);*/
}

body .flipNumber li {
    color: black;
    position: absolute;
    width: 0.6em;
    height: 0.5em;
    border-radius: 0.1em;
    padding: 0;
    transform-style: preserve-3d;
    transform-origin: 100% 100% 0;
}

body .flipNumber li > div {
    width: 100%;
    height: 99%;
    line-height: 1.15em;
    padding: 0;
    margin: 0;
    position: absolute;
    border: 1px solid #777;
    overflow: hidden;
    background-color: white;
    backface-visibility: hidden;
}

body .flipNumber li > div:first-child {
    border-radius: 0.1em 0.1em 0 0;
}

body .flipNumber li > div:last-child {
    border-radius: 0 0 0.1em 0.1em;
    transform-origin: 0% 50%;
    transform: rotateX(-180deg);
}

body .flipNumber li > div:last-child div {
    margin-top: -0.5em;
}

body .flipNumber .prev,
body .flipNumber .curr,
body .flipNumber .next {
    perspective: 200px;
}

body .flipNumber .prev,
body .flipNumber .next {
    z-index: 5;
}

body .flipNumber .prev,
body .flipNumber .curr {
    transform: rotateX(180deg);
}

body .flipNumber .prev {
    border-radius: 0.1em 0.1em 0 0;
}

body .flipNumber .curr {
    z-index: 10;
    transition: transform 0.3s linear;
}

body .flipNumber .next {
    transform: rotateX(0);
}

.digit {
}

.container {
    width: 100%;
    height: 100vh;
}

#game {
    width: 100%;
    height: 80%;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#mod {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
    background: rgb(50, 50, 50);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    font-size: 25px;
}

#buttons button {
    border: 1px solid white;
    background: rgb(100, 100, 100);
    color: white;
    font-size: 25px;
    width: 50px;
    height: 50px;
    outline: none;
    cursor: pointer;

    &:hover {
        background: rgb(120, 120, 120);
    }

    &.selected {
        background: rgb(0, 140, 0) !important;
    }
}


#actDb {
    border: 1px solid white;
    background: rgb(0, 140, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;

}

#start, #clear {
    border: 1px solid white;
    background: rgb(100, 100, 100);
    color: white;
    padding: 8px 15px 8px 15px;
    font-size: 25px;

    &:hover {
        background: rgb(120, 120, 120);
    }
}

#errorMessage {
    color: red;
    font-weight: bold;
    font-size: 20px;
    margin-top: 10px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}