* {
    box-sizing: border-box;
}

    *:focus {
        outline: none;
    }

body {
    font-family: Arial;
    background: rgba(24, 61, 234, 1);
    background: linear-gradient(180deg, rgba(4,193,252,1) 0%, rgba(13,133,244,1) 50%, rgba(24,61,234,1) 100%);
    padding: 0;
}

.login-screen {
    width: calc(min(350px, 90vw));
    margin: 0 auto;
    padding-left: calc(min(20px, 2vw));
    padding-right: calc(min(20px, 2vw));
    padding-top: calc(min(20px, 2vh));
    padding-bottom: calc(min(20px, 2vh));
    background-color: rgba(0,0,0,0.1);
    border-radius: 15px;
    color: white;
    border: 2px;
    border-style: solid;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.25);
}

    .login-screen h2 {
        margin-top: 0;
        color: white;
    }

#login-go {
    font-weight: normal;
    font-family: 'Fredoka One';
    font-size: 20px;
}

.app-title {
    text-align: center;
    color: #777;
}

.loading-img {
    height: calc(min(20vh, 120px));
    display: none;
    margin: auto;
    width: 80%;
    object-fit: contain;
}

.logo-img {
    height: calc(min(20vh, 120px));
    display: block;
    margin: auto;
    width: 80%;
    object-fit: contain;
}


input[type=text], input[type=numeric] {
    text-align: center;
    background-color: #ECF0F1;
    border: 2px solid transparent;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 200;
    padding: calc(min(10px, 1vh)) 0;
    width: calc(min(90%, 290px));
    transition: border .5s;
}

.btn {
    border: 2px solid transparent;
    background: #2196F3;
    color: #ffffff;
    font-size: 20px;
    padding: calc(min(10px, 1vh)) 0;
    text-decoration: none;
    text-shadow: none;
    border-radius: 100px;
    box-shadow: none;
    transition: 0.25s;
    display: block;
    width: calc(min(90%, 290px));
    margin: 0 auto;
}

    .btn:hover {
        background-color: #45a6f3;
    }

@media screen and (max-height: 190px ) {
    .logo-img {
        display: none;
    }
}

@media screen and (max-height: 130px ) {
    .login-screen {
        border-style: none;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
    }
}

@media screen and (max-width: 195px ) {
    .logo-img {
        height: auto;
    }

    input {
        border-radius: 5px;
    }

    .btn {
        border-radius: 5px;
    }
}

.login-form {
    text-align: center;
}

.control-group {
    margin-bottom: 10px;
}

.pin-code-field {
    font-weight: bold !important;
}

.nickname-field {
    font-weight: bold !important;
}

h6 {
    margin-top: -10px;
    font-weight: normal;
    user-select: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    color: lightgray;
}

@media screen and (max-height: 300px ) {
    #qx-login-incognito {
        display: none;
    }
}

@media screen and (max-width: 150px ) {
    #qx-login-incognito {
        display: none;
    }
}

h2 {
    font-size: calc(min(12vw, max(12px, min(24px, 5vh))));
}

@media screen and (max-height: 150px ) {
    #qx-login-subtitle {
        display: none;
    }
}

.login-link {
    font-size: 12px;
    color: white;
    display: block;
    margin-top: 12px;
}

@media screen and (max-height: 220px ) {
    .login-link {
        display: none;
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

#pulse-container {
    height: 396px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: calc(min(319px, 83vw));
    margin: -150px auto;
    z-index: -1;
}

@media screen and (max-width: 150px ) {
    #pulse-container {
        display: none;
    }
}

@media screen and (max-height: 300px ) {
    #pulse-container {
        display: none;
    }
}

.pulse-circle {
    border-radius: 50%;
    background-color: deepskyblue;
    width: calc(min(35vw, 200px));
    height: calc(min(35vw, 200px));
    position: absolute;
    opacity: 0;
    animation: scaleIn 4s infinite cubic-bezier(.36, .11, .89, .32);
    z-index: -1;
}

@keyframes scaleIn {
    from {
        transform: scale(.5, .5);
        opacity: .5;
    }

    to {
        transform: scale(2.5, 2.5);
        opacity: 0;
    }
}
