.body-bg {
    background-position: center;
    background-image: url('/web/images/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.body-bg-inner {
    padding-top: 51px;
}

#particles-js {
    z-index: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.index-form {
    width: 100%;
    max-width: 430px;
    padding: 15px;
    margin: auto auto;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 1) !important;
}

.overlay-anim {
    align-items: center;
    z-index: 1000;
    position: absolute;
    justify-content: center;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
}

.no-border {
    border: none;
    border-radius: 0;
}

.hide {
    display: none;
}

.main-game-container {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.inner-container {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 1) !important;
    position: relative;
    min-height: calc(100vh - 96px);
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    background: white;
}

.main-game-container .fpsStatParent {
    position: absolute !important;
    left: 5px !important;
    top: 5px !important;
    z-index: 2;
}

.main-game-container .guiParent {
    position: absolute !important;
    right: 5px !important;
    top: 5px !important;
}

.captcha-box {
    padding: 5px;
    display: flex;
    justify-content: center;
}


html,
body {
    overflow-x: hidden; /* Prevent scroll on narrow devices */
}

@media (max-width: 991.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 51px; /* Height of navbar */
        bottom: 0;
        left: 100%;
        width: 200px;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: #343a40;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    }

    .offcanvas-collapse.open {
        visibility: visible;
        transform: translateX(-100%);
    }
}

@media screen and (max-width: 220px) {
    .hideUnder220px {
        display: none !important;
    }
}