@font-face {
    font-family: Friz-Quadrata;
    src: url("../fonts/frq/frq55.otf");
}

@font-face {
    font-family: Friz-Quadrata;
    font-weight: bold;
    src: url("../fonts/frq/frq85.otf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Friz-Quadrata, sans-serif;


}


body {
    background-image: url("/static/img/store_stone_wall.jpg");
    background-position: left top;
    background-repeat: repeat;

    display: flex;
    justify-content: center;
    max-height: 100vh;
    padding-top: 1%;
    user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;


}

a {
    color: #57C14F;
    text-shadow: 0.8px 0.8px 0.8px #000;
    text-decoration: underline;
}

.loading {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}


.disconnect {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    min-height: 100vh;

}

.tryagain {
    width: 275px;
    height: 170px;
    background-color: rgba(139, 131, 131, 0.904);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px solid rgb(176, 211, 174);
    border-radius: 12px;
    box-shadow: 2px 1px 2px black;
    color: rgb(241, 238, 234);
    text-shadow: 2px 2px 2px #000;
    font-size: 1em;
    font-weight: 700;
    margin-top: 15%;
    text-align: center;
}

.hidden {
    display: none;
    min-height: 100vh;
}

.butt {
    color: rgb(241, 238, 234);
    text-shadow: 2px 2px 2px #000;
    font-size: 1em;
    font-weight: 600;
    min-width: 130px;
    max-width: 150px;
    width: 100%;
    position: relative;


}

.butt img {
    width: 100%;
}


a.try_btn p.try {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    color: rgb(241, 238, 234);
    text-shadow: 2px 2px 2px #000;
    font-size: 1em;
    font-weight: 700;
    text-align: center;
    width: 100%;
    cursor: pointer;
    pointer-events: none;
}

.butt:active {
    filter: brightness(120%);
}

.disconnect p {
    padding: 8%;
    font-size: .9em;
}


.loader {
    border: 8px solid rgba(255, 255, 255, .8);
    border-top: 8px solid #57C14F;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1.2s linear infinite;
}


.footer {

    margin: 0 auto;
    text-align: center;
    color: #D5D4D3;
    margin-bottom: 10px;
    position: relative;
    width: 100%;
    bottom: 0;
    margin-top: -2%;
    font-size: 1em;

}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 650px) {
    .tryagain {
        width: 260px;
        height: 150px;
    }

    .disconnect p {
        padding: 4%;
        font-size: .9em;
    }

}


@media screen and (max-width: 700px) {
    .footer {
        font-size: .7em;
    }
}