body {
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.87);
    background-color: #028af8;
    background-image: url("assets/images/fundoGame.svg");
    overflow-y: hidden;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

#app {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
}

.game-container {
    position: relative;
    z-index: 1;
}

.adsbygoogle.responsive-ads {
    display: block !important;
    position: fixed !important;
    width: 100% !important;
    max-height: 90px !important;
    bottom: 0;
    z-index: 3;
    transition: all 0.5s;
}

.adsbygoogle {
  width: 100% !important;
  max-height: 90px !important;
  display: block !important;
  transition: all 0.5s;
}

.ad-container {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100% !important;
    max-height: 90px !important;
    z-index: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.5s;
}

.button-close-ad {
    position: absolute;
    display: flex;
    z-index: 4;
    left: 10px;
    font-size: 2rem;
    font-weight: bold;
    background: #fff;
    color: #028af8;
    border: none;
    padding: 5px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.5s;
}

.adsbygoogle-noablate {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 90px !important;
    z-index: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.5s !important;
}

.icon-leaderboard {
    z-index: 2;
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 0.6rem;
    background-color: #6b6b6b80;
    border-radius: 10px;
    cursor: pointer;
    top: 45px;
    left: 5px;
}

.icon-store {
    z-index: 2;
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 0.6rem;
    background-color: #6b6b6b80;
    border-radius: 10px;
    cursor: pointer;
    top: 45px;
    left: 55px;
}

.icon-score {
    z-index: 2;
    display: flex;
    width: 50px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    padding: 0.6rem;
    background-color: #6b6b6b80;
    border-radius: 10px;
    color: #fff;
}

.icon-score.highscore {
    top: 45px;
    right: 5px;
}

.icon-score.score {
    top: 95px;
    right: 5px;
}

.icon-score.highscore p {
    margin: 0;
}

.icon-score.score p {
    margin: 0;
}

.icon-sound {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 0.4rem;
    background-color: #6b6b6b80;
    border-radius: 10px;
    cursor: pointer;
    top: 145px;
    right: 5px;
}

/*Style of leaderboard*/

.loading {
    animation: spin 1s linear infinite;
    transition: all 0.3s;
}

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

.store-modal {
    display: none;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    align-items: center;
    background-color: #028af8;
    border-radius: 20px;
    width: 90vw;
    box-shadow: 0px 0px 0px 1500px rgba(0, 0, 0, 0.75);
}

.store-modal .div-header-store {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border: 1px solid #000;
}

.store-modal .div-header-store .icon-close-store {
    margin-right: 20px;
    color: #fff;
    cursor: pointer;
    background-color: #6b6b6b80;
    border-radius: 5px;
}

.leaderboard-modal {
    display: none;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    align-items: center;
    background-color: #028af8;
    border-radius: 20px;
    width: 90vw;
    box-shadow: 0px 0px 0px 1500px rgba(0, 0, 0, 0.75);
}

.leaderboard-modal .div-header-leaderboard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border: 1px solid #000;
}

#icon-airton {
    width: 42px;
    margin-left: 20px;
}

.leaderboard-modal .div-header-leaderboard .icon-close-leaderboard {
    margin-right: 20px;
    color: #fff;
    cursor: pointer;
    background-color: #6b6b6b80;
    border-radius: 5px;
}

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.leaderboard-modal .div-header-leaderboard .title-container #icon-trophy {
    width: 46px;
}

.title-text {
    text-align: center;
    font-size: 28px;
    font-weight: bolder;
    margin: 0;
    padding: 0.6rem 0;
}

.leaderboard-modal .type-ranking-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0;
    width: 99.55%;
    border-collapse: collapse;
    gap: 20px;
}

.leaderboard-modal .type-ranking-container .establichment-title-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.leaderboard-modal
    .type-ranking-container
    .establichment-title-div
    #establichment-name {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    padding: 0.6rem 0;
}

.leaderboard-modal .pagination-container {
    display: inline-flex;
    justify-content: space-evenly;
    width: 60%;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 10px;
    background-color: white;
    font-family: sans-serif;
    margin-right: 10px;
}

.current-page,
.total-pages,
.text {
    color: #555;
    font-size: 14px;
}

.separator {
    width: 1px;
    height: 20px;
    background-color: #ccc;
}

.btn-pagination {
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.icon-btn {
    width: 18px;
}

.icon-btn:hover {
    background-color: #f0f0f0;
}

.material-icons {
    font-size: 18px;
    color: #444;
}

.rows-per-page {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.leaderboard-modal .ranking-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.leaderboard-modal .ranking-container table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-radius: 20px;
}

.leaderboard-modal .ranking-container table thead {
    width: 100%;
    justify-content: space-between;
    position: sticky;
}

.leaderboard-modal .ranking-container table thead .tr-head th {
    font-size: 18px;
    font-weight: bolder;
}

.leaderboard-modal .ranking-container table tbody {
    display: block;
    max-height: 40vh;
    overflow-y: auto;
    transition: all 0.6s ease;
}

.leaderboard-modal .ranking-container table td,
th {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 0.4rem 0;
    text-align: center;
}

td {
    font-size: 16px;
    font-weight: normal;
}

.leaderboard-modal .ranking-container .tr-body {
    display: flex;
    align-items: center;
    height: 100%;
    border-top: 1px solid #000;
    border-collapse: collapse;
}

.line-gold {
    background-color: #ffd700;
}
.line-silver {
    background-color: #c0c0c0;
}

.line-bronze {
    background-color: #cd7f32;
}

.leaderboard-modal .ranking-container table tfoot .tr-foot {
    background-color: #015d9b;
    border: 1px solid #000;
}

.your-colocation {
    max-height: 0px;
    font-size: 0.6rem;
    padding: 0.8rem;
    text-align: center;
    background-color: #015d9b;
}

.your-colocation th {
    font-size: 16px;
    font-weight: bold;
}

.colocation {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tr-pagination {
    border-top: 0px solid #000;
}

.border-left {
    border-left: 1px solid #000;
}

.body-store {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 0.8rem;
    width: -webkit-fill-available;
    height: 60vh;
    overflow-y: auto;
}

.type-item-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
}

.items-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    padding: 0.8rem;
    width: 90%;
    overflow-x: auto;
    gap: 15px;
}

.item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 4px;
    width: 240px;
    padding: 20px;
}

.item-img {
    width: 64px;
}

.item-img-backgrounds {
    width: 96px;
    height: 128px;
}

.title-item {
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.div-item-progress {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: start;
    background-color: #b0c4de;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 2.4px 0;
    width: 100%;
    height: 20px;
}

.progress {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #ffb400;
    border-radius: 10px;
    height: 100%;
}

.p-100 {
    width: 100%;
    background-color: #37be5f;
}
.p-90 {
    width: 90%;
    background-color: #8fbe37;
}
.p-80 {
    width: 80%;
    background-color: #8fbe37;
}
.p-70 {
    width: 70%;
    background-color: #8fbe37;
}
.p-60 {
    width: 60%;
    background-color: #ffb400;
}
.p-50 {
    width: 50%;
    background-color: #ffb400;
}
.p-40 {
    width: 40%;
    background-color: #ffb400;
}
.p-30 {
    width: 30%;
    background-color: #ff7300;
}
.p-20 {
    width: 20%;
    background-color: #ff7300;
}
.p-10 {
    width: 10%;
    background-color: #ff5100;
}
.p-0 {
    width: 0;
}

.div-progress-text {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 95%;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.icon-item-progress {
    font-size: 18px !important;
}

.progress-text {
    margin: 0;
    padding: 0;
    color: #333333;
}

.choose-item-button {
    background-color: #ffb400;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.5px;
}

.choose-item-button:hover {
    background-color: #e39a00;
    transform: scale(1.05);
}

.choose-item-button:hover:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.choosed {
    background-color: #333333;
}

.choosed:hover:active {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.choosed:hover {
    background-color: #222222;
    transform: scale(1);
}

.block {
    background-color: #222222;
    color: #fff;
    display: flex;
    align-items: center;
}

.block:hover:active {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.block:hover {
    background-color: #111111;
    transform: scale(1);
}

.background-ex-item-1 {
    background-color: #028af8;
}

.background-ex-item-2 {
    background-color: #f0f0f0;
}

.loading-div {
    width: -webkit-fill-available;
    height: 60vh;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-large {
    font-size: 1.8rem !important;
}

@media screen and (max-width: 768px) {
    .leaderboard-modal .type-ranking-container {
        flex-direction: column;
        gap: 5px;
    }

    .leaderboard-modal .div-header-leaderboard .icon-close {
        margin-right: 10px;
    }

    .leaderboard-modal .div-header-leaderboard #icon-airton {
        width: 32px;
        margin-left: 10px;
    }
    .leaderboard-modal .div-header-leaderboard .title-container #icon-trophy {
        width: 36px;
    }

    .leaderboard-modal .div-header-leaderboard .title-container .title-text {
        font-size: 20px;
    }

    .leaderboard-modal .type-ranking-container #establichment-name {
        font-size: 16px;
    }
    .leaderboard-modal .ranking-container table thead .tr-head th {
        font-size: 14px;
        font-weight: bolder;
    }

    .your-colocation th {
        font-size: 12px;
    }

    td {
        font-size: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media screen and (min-width: 768px) {
    .leaderboard-modal .ranking-container table thead .tr-head {
        padding-right: 6px;
    }

    .leaderboard-modal .ranking-container table tfoot .tr-foot {
        padding-right: 6px;
    }

    .leaderboard-modal .ranking-container tbody::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .leaderboard-modal .ranking-container tbody::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f500;
        transition: all 0.6s ease;
    }

    .leaderboard-modal
        .ranking-container
        tbody:hover::-webkit-scrollbar-thumb::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f500;
    }

    .leaderboard-modal
        .ranking-container
        tbody:hover::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .leaderboard-modal .ranking-container tbody:hover::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .leaderboard-modal .ranking-container tbody:hover::-webkit-scrollbar-thumb {
        background-color: #000000;
    }

    .body-store::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .body-store::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f500;
        transition: all 0.6s ease;
    }

    .body-store:hover::-webkit-scrollbar-thumb::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f500;
    }

    .body-store:hover::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .body-store:hover::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .body-store:hover::-webkit-scrollbar-thumb {
        background-color: #000000;
    }

    .items-container::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .items-container::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f500;
        transition: all 0.6s ease;
    }

    .items-container:hover::-webkit-scrollbar-thumb::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f500;
    }

    .items-container:hover::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .items-container:hover::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .items-container:hover::-webkit-scrollbar-thumb {
        background-color: #000000;
    }
}
