body {
    font-family: 'Press Start 2P', cursive;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../img/bg2.png) no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

.layout {
    display: grid;
    /* grid-template-rows: repeat(4, 1fr); */
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
}

.centered {
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

input[type="text"],
[type="password"] {
    font-size: 18px;
    font-family: 'Press Start 2P', cursive;
    padding-left: 25px;
    padding-right: 20px;
    width: 350px;
    height: 70px;
    border: none;
    background: transparent;
    background-image: url(../img/input.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

select {
    font-size: 18px;
    font-family: 'Press Start 2P', cursive;
    padding-left: 25px;
    padding-right: 20px;
    width: 395px;
    height: 70px;
    border: none;
    background: transparent;
    background-image: url(../img/input.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    left: auto;
}

.btn {
    display: inline-block;
    font-family: 'Press Start 2P', cursive;
    padding-left: 25px;
    padding-right: 25px;
    width: 140px;
    height: 65px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.red {
    background-image: url(../img/redbtn.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.green {
    background-image: url(../img/greenbtn.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.fb {
    width: 348px;
    height: 70px;
    background-image: url(../img/facebook.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.google {
    background-image: url(../img/google.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 80px;
}

.google-native {
    width: 460px;
    background-image: url(../img/googleBtnLong.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.apple-native {
    width: 460px;
    background-image: url(../img/appleBtnLong.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.tiktok {
    background-image: url(../img/tiktok.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 80px;
}

.twitter {
    background-image: url(../img/twitter.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 80px;
}

.btn span {
    display: block;
    font-size: 15px;
    margin-top: 20%;
}

.btn:hover {
    opacity: 0.8;
}

textarea:focus,
input:focus {
    outline: none;
}

.overlay-shadow {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
}

.signed-in {
    color: white;
    text-align: center;
}

.info-message {
    color: red;
    font-family: 'Press Start 2P', cursive;
    font-size: 15px;
    opacity: 1;
    border: none;
    background: transparent;
    text-shadow: 2px 2px black;
    display: none;
    margin-top: -25px;
}

input.middle:focus {
    outline-width: 0;
}

.privacy-policy {
    margin-top: 5px;
    font-size: 12px;
    color: white;
    margin-left: 20px;
    margin-right: 20px;
    line-height: 1.4;
}

.privacy-policy a {
    color: tomato;
}

.statistics {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: white;
}

.version {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    font-size: 8px;
}

.tag-online {
    color: #92CD41;
}

.disabled {
    pointer-events: none;
    filter: grayscale(100%);
}

#go-play {
    color: black;
}

#logged-out {
    color: black;
}

@media only screen and (max-width: 550px) {
    input[type="text"],
    [type="password"] {
        font-size: 18px;
        font-family: 'Press Start 2P', cursive;
        padding-left: 25px;
        padding-right: 20px;
        width: 280px;
        height: 60px;
        border: none;
        background: transparent;
        background-image: url(../img/input.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    .btn {
        display: inline-block;
        font-family: 'Press Start 2P', cursive;
        padding-left: 25px;
        padding-right: 25px;
        width: 105px;
        height: 65px;
        border: none;
        cursor: pointer;
        height: 59px;
    }
    .btn span {
        display: block;
        font-size: 12px;
        margin-top: 26px;
    }
    .fb {
        width: 280px;
    }
    .google-native {
        width: 280px;
    }
    
    .apple-native {
        width: 280px;
    }
    .info-message {
        font-size: 11px;
    }
    .statistics {
        font-size: 12px;
    }
    select {
        font-size: 18px;
        font-family: 'Press Start 2P', cursive;
        padding-left: 25px;
        padding-right: 20px;
        width: 265px;
        height: 60px;
        border: none;
        background: transparent;
        background-image: url(../img/input.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        -webkit-appearance: none;
        -moz-appearance: none;
        text-indent: 1px;
        text-overflow: '';
        left: auto;
    }

    .privacy-policy {
        font-size: 9px;
    }
}

@media only screen and (max-width: 549px) {
    input[type="text"],
    [type="password"] {
        font-size: 12px;
        font-family: 'Press Start 2P', cursive;
        padding-left: 25px;
        padding-right: 20px;
        width: 220px;
        height: 52px;
        border: none;
        background: transparent;
        background-image: url(../img/input.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    select {
        height: 52px;
    }
    .btn {
        display: inline-block;
        font-family: 'Press Start 2P', cursive;
        padding-left: 25px;
        padding-right: 25px;
        width: 75px;
        height: 50px;
        border: none;
        cursor: pointer;
    }
    .btn span {
        display: block;
        font-size: 10px;
        margin-top: 28%;
    }
    .fb {
        width: 220px;
    }
    .google-native {
        width: 220px;
    }
    .apple-native {
        width: 220px;
    }
    .info-message {
        font-size: 11px;
    }
    select {
        font-size: 12px;
    }
}