@font-face {
    font-family: "Joistix";
    src: url("../assets/joystix.ttf") format("truetype");
}

html, body {
    font-family: "Joistix", serif !important;
    background-color: black;
    background-image: url("../assets/bbackground.png");
}

.wrapper {
    width: 928px;
    max-width: 928px;
    margin: 0 auto;
}

.backLogo{
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
}

.backLogo img{
    width: 928px;
    max-width: 928px;
}

.box{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.close{
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    text-align: right;

    color: #404040;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.closeButton{
    width: 32px;
    height: 32px;
    margin-left: 16px;
    background-size: cover;
    background-image: url("../assets/close.png");
}

.inbox{
    width: 720px;
    height: 480px;
    margin: 0 auto;
    margin-top: 64px;
    background-color: black;
    position: relative;
}

.loading{
    position: absolute;
    top: 5px;
    left: 5px;

    font-family: "Joistix";
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: #FFFFFF;
}

img {
    width: 100%;
}

.logo{
    margin-top: 49px;
    user-select: none;
    pointer-events: none;
    -webkit-user-select: none;
}

.playButton{
    width: 354px;
    margin: 0 auto;
    margin-top: -42px;
    cursor: pointer;
    height: 84px;
    background-image: url("../assets/play.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.playButton:hover{
    background-image: url("../assets/play_hover.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.playText{
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    text-align: center;

    color: #6C6C6C;
    margin-top: 44px;
}

.mobile .leaderboardTitle{
    font-size: 20px;
}
.mobile .leaderboardItem{
    font-size: 13px;
}
.mobile .leaderboard{
    padding: 15px;
}

.leaderboard{
    width: 90%;
    max-width: 704px;
    margin: 0 auto;
    margin-top: 92px;
    color: white;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    padding: 68px;
    box-sizing: border-box;
    transition: all 0.2s;
    border: 1px solid #404040;
    margin-bottom: 16px;
}



.leaderboardTitle{
    font-style: normal;
    font-weight: normal;
    font-size: 40px;
    line-height: 48px;
    /* identical to box height */
    text-align: center;
    padding: 0 17px;
}

.leaderboardItem{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.play .box{
    display: block;
    -webkit-backdrop-filter: brightness(0.2);
    backdrop-filter: brightness(0.2);
}

.play .leaderboard{
    margin-top: 300px;
}

.over {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-content: center;
    justify-content: center;
    z-index: 4;
    flex-direction: column;
    text-align: center;
    color: #ef5400;
    background-color: black;
}

.overFocus {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-content: center;
    justify-content: center;
    z-index: 4;
    flex-direction: column;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.75);

    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    text-align: center;

    user-select: none;
    -webkit-user-select: none;

    color: #FFFFFF;
}

progress {
    width: 80%;
    margin: 10px auto;
}

canvas {
    width: 720px;
    height: 480px;
}

/* the canvas *must not* have any border or padding, or mouse coords will be wrong */
canvas.emscripten {
    border: 0px none;
}

.chrome{
    margin-top: -42px;
}

.chrome img{
    display: block;
    width: 62px;
    margin: 0 auto;
}

.chrome .text{
    color: white;
    font-family: "Joistix";
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    /* identical to box height */
    text-align: center;
    margin-top: 34px;
}


.help-box{
    height: 60px;
    display: flex;
    width: 1027px;
    margin: 0 auto;
    margin-top: 24px;

    background: #000000;
    border: 2px solid #FFFFFF;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;

    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    /* identical to box height */

    color: #FFFFFF;
}

.help-block{
    display: flex;
}

.help-block .name{
    color: #404040;
    margin-right: 24px;
}

.fake{
    transition: all 0.2s;
    position: absolute;
    bottom: -30px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

.mobile{
    box-sizing: border-box;
    font-family: "Joistix", serif !important;
    background-color: black;
    z-index: 1000;
    background-image: url("../assets/bbackground.png");
    justify-content: center;
    align-items: center;
    justify-items: center;
    flex-direction: column;
    text-align: center;
    padding: 18px;
    display: none;
}


.mobileLogo{
    max-width: 100%;
    display: flex;
    margin: 0 auto;
}
.mobileIcon{
    display: flex;
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.mobileHint{
    margin-top: 20px;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    text-align: center;

    color: #6C6C6C;
}

.mobileText{
    margin-top: 24px;
    font-style: normal;
    font-weight: normal;
    font-size: 8px;
    line-height: 10px;
    text-align: center;

    color: #6C6C6C;
}