@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700;800&display=swap");

body {
    font-family: "Rubik", sans-serif;
    background-color: #28264e;
    color: #fff;
    font-weight: normal;
}

.navbar-collapse-center {
    margin-left: 100px;
}

#logo-arenamain {
    width: 70%;
}

#beta-tag {
    font-size: 12px;
    position: absolute;
    /* transform: rotate(45deg); */
}

.img-category {
    max-width: 1300px;
}

.navbar-nav > .active > a {
    color: #fff !important;
    border-bottom: 3px solid #f6921e;
}

.nav-item {
    margin-right: 15px;
}

.nav-item > a:hover {
    color: #f6921e !important;
}

.wrapper {
    position: relative;
}

.loading {
    position: fixed;
    background-color: #28264e;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 1001;
    display: flex;
}

.img-category {
    max-width: 1100px;
}

.is-rounded {
    border-radius: 30px 30px 24px 24px;
}

.game-tag {
    background-color: #25a9e0;
    border-radius: 29px;
    padding: 8px 12px;
    font-size: 14px;
}

.game-title {
    font-size: 20px;
}

.bg-navy {
    background-color: #2c2c57;
}

.bg-gray {
    background-color: rgba(230, 231, 232, 0.15);
}

.form-control {
    border: 0;
}

.form-control:valid {
    background-color: rgba(230, 231, 232, 0.15) !important;
    color: #fff;
    font-weight: 400;
    border-radius: 8px;
}

.bg-card {
    background-color: #28264e;
    background: rgba(230, 231, 232, 0.15);
}

.game-card {
    text-decoration: none;
    color: #fff !important;
}

.game-box {
    display: block;
    position: relative;
}

.game-box img {
    max-width: 100%;
    border-radius: 12px;
}

.game-box::before {
    content: "";
    position: absolute;
    background: linear-gradient(0deg, black 0%, transparent 100%);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 99;
    border-radius: 12px;
}

.game-box .game-box-meta {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 101;
    color: #fff;
}

.game-list-wrapper {
    padding: 0;
    margin: 0;
}

.game-list-wrapper li {
    list-style: none;
    border-bottom: 1px solid rgba(150, 150, 150, 0.25);
}

.game-list-wrapper li:last-child {
    border-bottom: none;
}

.game-list {
    display: flex;
    position: relative;
    color: #0a2135;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.game-list img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
}

.game-list.game-list-meta {
    margin-left: 1rem;
}

.section.section-title {
    font-weight: 500;
    line-height: normal;
}

.section .section-sub {
    margin-bottom: 15px;
    margin-top: 23px;
}

.section.ads {
    padding-top: 1rem;
    /* margin-bottom: -10px; */
    padding-bottom: 2.5rem;
}

.section.banner {
    /* background-color: black; */
    padding-top: 1.4rem;
    /* margin-bottom: -10px; */
    padding-bottom: 1rem;
}

.section#highlights .swiper .swiper-slide {
    max-width: 540px;
}

.section#category .swiper .swiper-slide {
    max-width: 355px;
    padding-bottom: 0.2rem;
}

/* .section#game-details .swiper .swiper-slide {
    max-width: 130px;
}

.section#game-details .swiper .swiper-slide.is-landscape {
    max-width: 240px;
} */

.swiper .swiper-scrollbar {
    /* background: #d6d6d6; */
    border-radius: 2px;
    height: 10px !important;
}

.game-image {
    width: 100%;
    /* height: 270px; */
}

.game-button {
    font-weight: 800;
    background-color: #0c74d4;
    font-size: 22.5pt;
    /* width: 190px; */
    /* margin-left: 5px; */
}

.game-descriptions {
    /* overflow-y: auto; */
    min-height: 150px;
}

.game-descriptions p {
    margin-bottom: -5px !important;
}

/* .game-descriptions::-webkit-scrollbar {
    width: 12px;
}

.game-descriptions::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.game-descriptions::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
} */

.section#newGames {
    background-color: #f6f6f6;
}

.section#newGames .swiper .swiper-slide {
    max-width: 250px;
}

img.game-screenshots:hover {
    opacity: 0.7;
}

/* The Modal (background) */
#image-viewer {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}
@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
#image-viewer .close:hover,
#image-viewer .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

@media only screen and (min-width: 1366px) {
    .section#highlights .swiper .swiper-slide {
        max-width: 640px;
    }

    .section#category .swiper .swiper-slide {
        max-width: 455px;
    }

    .img-category {
        max-width: 1300px;
    }
}

@media only screen and (max-width: 600px) {
    /* For mobile phones: */

    .section.banner {
        padding-top: 1rem;
        /* margin-bottom: -10px; */
        padding-bottom: 1.3rem;
    }

    .screenshots-col {
        margin-top: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .section.ads {
        padding-top: 1rem;
        /* margin-bottom: -10px; */
        padding-bottom: 1.5rem;
        margin-top: -50px;
    }

    .img-category {
        max-width: 380px;
    }

    .section {
        /* padding-top: 1.5rem;
        padding-bottom: 1.5rem; */
        padding-top: 0.5px;
        padding-bottom: 15px;
    }

    .section#highlights .swiper .swiper-slide {
        max-width: 244px;
    }

    .section#category .swiper .swiper-slide {
        max-width: 244px;
    }

    .section#game-details .swiper .swiper-slide {
        max-width: 130px;
    }

    .section#game-details .swiper .swiper-slide.is-landscape {
        max-width: max-content;
    }

    .game-tag {
        background-color: #25a9e0;
        border-radius: 29px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .game-image {
        width: 100%;
        /* margin-left: 40px;
        margin-right: 40px; */
    }

    .game-button {
        font-weight: bold;
        background-color: #0c74d4;
        width: 100%;
        /* margin-left: 60px; */
        /* margin-top: 1.3rem; */
    }

    .game-button-grid {
        margin-top: 10px;
    }

    .game-title {
        font-size: 20px;
    }

    .navbar-collapse {
        height: 100vh !important;
    }

    .navbar-collapse-center {
        margin-left: 15px;
    }

    .nav-item {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav-item > a:hover {
        background-color: rgba(230, 231, 232, 0.15);
        border-radius: 10px;
        padding: 15px;
    }

    .dropdown-menu {
        background-color: rgba(230, 231, 232, 0.15);
    }

    .dropdown-item {
        color: #fff;
        margin-top: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav-link {
        font-weight: bold;
    }
}

@media only screen and (max-width: 400px) {
    .img-category {
        max-width: 350px;
    }
}

@media only screen and (min-width: 393px) and (max-width: 393px) {
    .img-category {
        max-width: 360px;
    }
}

@media only screen and (min-width: 360px) and (max-width: 360px) {
    .img-category {
        max-width: 330px;
    }

    .game-tag {
        background-color: #25a9e0;
        border-radius: 25px;
        padding: 6px 10px;
        font-size: 12px;
    }
}
