@media screen and (max-width: 970px) {
    .servers,
    .footer,
    .nav-bar > div.link_btn:not(.first_item) {
        display: none;
    }

    .main {
        width: 100% !important;
        margin: 0 auto;
    }
}

@media screen and (max-width: 476px) {
    .login_avatar,
    a.username,
    .category-selection {
        display: none !important;
    }
}

html,
body {
    font-size: 14px;
    font-family: "Roboto",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
    width: 100%;
    min-width: 400px;
}

body {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    text-shadow: 0 2px 8px black;
}

.bg-image {
    z-index: -1;
    position: fixed;
    margin: 0;
    padding: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.main {
    min-width: 400px;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 auto;
    padding: 0 10px;
    max-width: 1160px;
}

.footer {
    position: fixed;
    bottom: 8px;
    left: 8px;
    padding: 4px 8px;
    text-align: center;
    background-color: rgb(18, 12, 12);
    font-size: 12px;
}

.footer a,
.footer a:hover,
.footer a:visited,
.footer a:focus,
.footer a:active {
    color: darkslategrey;
}

.banner {
    margin: 0 auto;
    width: 100%;
    padding: 0 10px;
}

.navi {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 0 15px;
    display: flex;
    background-color: rgba(255, 0, 68, 0.7);
    min-height: 50px;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
}

.nav-bar {
    color: white !important;
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
}

.first_item {
    margin-right: 42px !important;
    cursor: pointer;
}

.last_item {
    margin-top: 4px !important;
}

.link_btn {
    text-decoration: none;
    text-shadow: 0 2px 8px black;
    font-size: 18px;
    text-transform: uppercase;
    opacity: 0.9;
}

.link_btn:not(.first_item).link_btn :not(.first_item) :not(.last_item) {
    margin-top: -1px !important;
}

.link_btn a,
.link_btn a:hover,
.link_btn a:visited,
.link_btn a:active {
    text-decoration: none;
    color: white !important;
    font-size: 14px;
    padding: 10px;
}

.link_btn:hover :not(.first_item) {
    background-color: rgba(0, 0, 0, .3)
}

.btn-login {
    margin: 8px;
    float: right;
    display: flex;
}

.username {
    text-decoration: underline;
    margin: 7px 6px;
    color: #32363c;
}

.panel-label {
    background-color: rgba(0, 0, 0, 0.3);
    height: 50px;
}

.panel-text {
    font-size: 16px;
    text-align: left;
    padding: 15px;
    text-transform: uppercase;
}

.steam_link_button {
    border: none;
    color: #c3c3c3;
    background-color: transparent;
    text-transform: uppercase;
    text-decoration: none;
    margin-right: -21px;
    vertical-align: text-top;
    font-size: 12pt;
    font-family: 'Myriad Pro';
}

.logo_steam {
    width: 15px;
    height: 16px;
    margin-right: 5px;
    margin-top: -4px;
}

.login_avatar {
    width: 36px;
    height: 36px;
    border-radius: 18px;
}

.content {
    display: flex;
    column-gap: 8px;
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
    overflow-y: clip;
}

.servers {
    margin-top: 12px;
    /*float: left;*/
    position: sticky;
    top: 56px;
    height: 100%;
    min-width: 264px;
}

.scroll-info-container {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.purchase-stats {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.purchase-stats > tr {
    border-top: solid 2px black;
    border-bottom: solid 2px black;
    margin: 4px auto;
}

#QuillToolBar {
    background-color: snow;
    margin-top: 20px;
}

#QuillEditor {
    background-color: snow;
    height: 100%;
}

.server {
    color: white !important;
    font-weight: 500;
    background-color: rgba(0, 0, 0, .3);
    margin: 8px 14px 0 0;
    padding: 4px;
}

.server_text {
    opacity: 0.8;
    font-family: 'Myriad Pro';
    font-size: 10pt;
    text-align: justify;
    margin: 5px 0 8px 12px;
}

.hidden {
    display: none !important;
}

.splash {
    height: 140px !important;
    width: 100% !important;
}

.progressbar {
    height: 27px;
    position: relative;
    background-image: linear-gradient(45deg, #1d1d1d 25%, transparent 0, transparent 50%, #1d1d1d 0, #1d1d1d 75%, transparent 0, transparent);
    animation: progress-bar-stripes 1s linear infinite;
    background-size: 1rem 1rem;
    background-color: rgba(40, 40, 40, 0.9);
    margin: 8px 12px;
    z-index: 1;
}

.progressbar > span {
    display: block;
    height: 100%;
    margin-top: -2px;
    background-image: linear-gradient(to right, #f95f45, #a6151a);
    position: relative;
    overflow: hidden;
}

.text_bar {
    opacity: 0.8;
    position: relative;
    float: left;
    padding-left: 20px;
    margin-top: -30.5px;
    z-index: 10;
    font-family: 'BAHNSCHRIFT';
    font-size: 10pt;
}

::-webkit-scrollbar {
    display: none;
    width: 12px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    width: 12px;
    background-color: #3834368f;
}

::-webkit-scrollbar-thumb {
    background-color: #272627;
}

.shop {
    /*position: relative;*/
    width: 100%;
    margin-top: 20px;
    /*bottom: 28px;*/
}

.panel-shop {
    background-color: rgba(0, 0, 0, 0.1);
    height: 100%;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-flow: column;
}

.shop-selection {
    min-height: 60px;
    position: sticky;
    z-index: 1;
    top: 64px;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: row;
    /*margin-top: 24px;*/
}

.shop-btn,
.shop-btn-selected {
    cursor: pointer;
    background-color: #282828;
    width: 26.3%;
    padding: 10px;
    text-align: center;
    margin: 10px auto;
}

.shop-btn:hover {
    background-color: #202020;
}

.shop-btn-selected {
    background-color: rgba(255, 0, 68, 0.7);
}

.blured {
    filter: blur(3px);
}

.category-selection {
    margin-top: 20px;
    margin-left: 45px;
    margin-bottom: 10px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.category-btn,
.category-btn-selected {
    border-radius: 2px;
    background-color: #282828;
    text-align: center;
    cursor: pointer;
    padding: 10px 15px;
    margin: 5px;
}

.category-btn:hover {
    background-color: #202020;
}

.category-btn-selected {
    background-color: rgba(255, 0, 68, 0.7);
}

.grid-container {
    margin: 15px 0 60px 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    height: 100%;
}

.item {
    max-height: fit-content;
    opacity: 0;
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: pointer;
    animation: appear linear both;
    animation-timeline: view(4% 1%);
    animation-range: entry 32px contain auto;
}

@keyframes appear {
    0% {
        opacity: 0.3;
    }
    14%, 86% {
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        filter: blur(10px);
    }
}

/* HTML: <div class="loader"></div> */
.loader {
    position: relative;
    top: 28px;
    margin: 0 auto;
    height: 15px;
    aspect-ratio: 4;
    --_g: no-repeat radial-gradient(farthest-side,#000 90%,#0000);
    background: var(--_g) left, var(--_g) right;
    background-size: 25% 100%;
    display: grid;
}

.loader:before,
.loader:after {
    content: "";
    height: inherit;
    aspect-ratio: 1;
    grid-area: 1/1;
    margin: auto;
    border-radius: 50%;
    transform-origin: -100% 50%;
    background: #000;
    animation: l49 1s infinite linear;
}

.loader:after {
    transform-origin: 200% 50%;
    --s: -1;
    animation-delay: -.5s;
}

@keyframes l49 {
    58%, 100% {
        transform: rotate(calc(var(--s,1)*1turn))
    }
}

.item .price {
    position: absolute;
    font-size: 14px;
    padding: 3px 12px;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0px;
}

.promo_hidden,
.admin_hidden {
    display: none;
}

.item .discount {
    position: relative;
    font-size: 14px;
    padding: 3px 12px;
    background-color: rgba(255, 0, 68, 0.7);
    top: 0px;
    float: right;
    margin: 0;
}

.item .name {
    width: 100%;
    font-size: 14px;
    visibility: hidden;
    position: absolute;
    padding: 3px 12px;
}

.item:hover .name {
    background-color: rgba(0, 0, 0, 0.5);
    visibility: visible;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
}

.item > img {
    object-fit: contain;
    aspect-ratio: 1/1;
    width: 100%;
    padding: 5%;
}

.item > .name > span {
    float: right;
}

.modal-product {
    background-color: rgba(15, 15, 15, .5);
    position: fixed;
    overflow-y: auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.modal-product-bg {
    margin: 20px auto;
    height: 100%;
    width: 420px;
}

.modal_header {
    background-color: black;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.modal_body {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
}

.product-img {
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
    height: 300px;
    object-fit: contain;
    margin-bottom: 10px;
}


.modal-product input {
    appearance: none;
}

.modal-product label {
    width: 100%;
    border-radius: 2px;
    padding: 2px;
    height: 60px;
    width: 60px;
    cursor: pointer;
}

.modal-product label > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.modal-product label:hover,
.selected-input {
    border: 1px solid #cd422a;
}

.product-description {
    margin: 20px 0;
    font-size: 14px;
    background: rgba(28, 28, 28, 0.6);
    list-style: inside;
    text-align: left;
    padding: 10px;
}

.inputs {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.input-group {
    flex-direction: column;
    width: 45%;
}

.button-group {
    margin: 4px 0 12px 0;
    height: 28px;
    width: 100%;
    display: flex;
}

.button-group > button {
    color: white;
    min-width: 28px;
    background-color: rgba(255, 0, 68, 0.7);
    border: solid 1px transparent;
}

.button-group > button:hover {
    background-color: rgba(255, 24, 68, 0.5);
    border: solid 1px black;
}

.button-group > span {
    height: 100%;
    width: 100%;
    display: block;
    margin: 0 4px;
    text-align: center;
    background: rgba(28, 28, 28, 0.6);
}

.footer-group {
    width: 100%;
    margin: 0 4px 0 3px;
    display: flex;
    justify-content: space-between;
}

.footer-group > button {
    height: 30px;
    color: white;
    width: 30%;
    padding: 2px;
    background-color: rgba(255, 0, 68, 0.7);
    border: solid 1px transparent;
}

.footer-group > button:hover {
    background-color: rgba(255, 0, 68, 0.5);
    border: solid 1px black;
}

.close-btn {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.close-btn:hover {
    background-color: rgba(255, 0, 68, 0.5) !important;
    border: solid 1px rgba(255, 0, 68, 0.5) !important;
}

#promo,
#promo:focus-visible {
    border: none;
    outline: none;
    max-width: 80%;
}

.promo > button {
    width: 39px;
    height: 100%;
    border: none;
}

.popup-message {
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    border-radius: 4px;
    width: 300px;
    padding: 4px 8px;
}

.drop {
    display: inline;
}

.drop-btn {
    background-color: transparent;
    font-weight: 500;
    border: none;
}

.drop:hover .drop-btn {
}

.drop:hover .dropdown-content {
    display: flex;
    margin-top: -4px;
    margin-left: 6px;
    text-align: center;
    flex-direction: column;
}

.dropdown-content {
    z-index: 3;
    margin: 0 auto;
    display: none;
    width: 100%;
    max-width: 124px;
    position: absolute;
    /*background-color: #f1f1f1;*/
}

.dropdown-content > span {
    color: rgb(68, 68, 68);
    cursor: pointer;
    background-color: rgb(208, 208, 208);
}

.dropdown-content > span:nth-child(2n) {
    color: rgb(218, 218, 218) !important;
    background-color: rgb(68, 68, 68) !important;
}
