html, body {
    overflow: hidden;
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
}
/* Prevent text selection and highlighting */
.no-highlight {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Non-prefixed version, currently supported by Chrome and Opera */
    outline: none;             /* Prevent outline */
}
img { border-style: none }
img, svg {
    vertical-align: middle;
}
img, video {
    max-width: 100%;
    height: auto;
}
img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
}

#app, #loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

#loading-screen {
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0px;
}
#loading-screen::after {
    background: url("/images/spin-balls.gif");
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
}

#header {
    background-color: #2c2c2c;
    padding: 20px;
    text-align: center;
}

#header h1 {
    margin: 0;
    font-size: 24px;
}
.font-dark {
    color: #9c939a;
}

.icon-text {
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-text.balance div {
    font-family: Roboto Mono,monospace;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 50px;
    letter-spacing: 0px;
    vertical-align: middle;
    padding-left: 8px;
    color: #ffffffe0;
}
.icon-text.tier {
    margin: 5px auto 0;
    background: #ffffff0d;
    width: 157px;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 27px;
}
img.badge-sm {
    width: 16px;
    height: 16px;
}
div.badge-sm {
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 0px;
    vertical-align: middle;
    padding-left: 8px;
    color: #ffffffe0;
}

.coin-icon {
    width: 48px;
    height: 48px;
}

.tap-image-button {
    height: 40vh;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.w-100 { width: 100%;}
.d-flex { display: flex;}
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-content-start { justify-content: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }

.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }

#content {
    flex: 1;
    position: relative;
    background-color: #1a1a1a;
    overflow-y: hidden;
    height: calc(100vh - 90px);
}

.tab-content {
    display: none;
    height: 100%;
}

.tab-content.active {
    display: flex;
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#footer {
    padding-top: 10px;
}
.grid {
    display: grid;
}
.py-1 {
    padding-top: .25rem;
    padding-bottom: .25rem;
}
.px-1 {
    padding-left: .25rem;
    padding-right: .25rem;
}
.grid-cols-5 {
    grid-template-columns: repeat(5,minmax(0,1fr));
}
.col-span-1 {
    grid-column: span 1 / span 1;
    cursor: pointer;
}
.game-button, .game-button2 {
    background: #ffffff0f;
    margin: 4px;
    padding: 5px 8px;
    text-align: center;
    border: 1px solid #ffffff17;
    border-radius: 13px;
}
.game-button-icon {
    width: 82%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.change-color {
    filter: hue-rotate(172deg) saturate(1.9);
}
.game-button-text {
    font-size: 14px;
    margin-top: 3px;
    color: #ffffffbf;
}

#footer2 > *:not(:last-child) {
    margin-right: 0.5rem;
}

.tab {
    text-align: center;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    height: 70%;
    width: 20%;
}

.tab:hover {
    background-color: #3c3c3c;
}
