/*
Theme Name: OPT Game
Theme URI: https://optgame.xyz/
Author: OPT Game
Author URI: https://optgame.xyz/
Description: Silence is golden.
Version: 2.1.2
Text Domain: optgame
*/
body {
    font-family: 'Inter', sans-serif;
    color: #1F1F1F;
}
img {
    max-width: 100%;
    height: auto;
}
a:link {
    text-decoration: none;
}  
a:visited {
    text-decoration: none;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}
h2 {
    font-size: 22px;
}
h3 {
    font-size: 20px;
}
h4 {
    font-size: 18px;
}
h5 {
    font-size: 16px;
}
h6 {
    font-size: 16px;
}
.container {
    max-width: 1140px;
}
.top-nav {
    background-color: #151436;
    margin-bottom: 30px;
    color: #9392AD;
    padding: 10px 0;
}
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
    width: 200px;
}
.navbar-brand img {
    max-height: 60px;
}
.navbar-brand h1 {
    display: none;
}
.navbar a {
    color: #9392AD;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}
.dropdown-menu {
    background: #323164;
    border: 0;
}
.dropdown-item {
    padding: 10px 15px;
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color: #55538e;
    color: rgba(255, 255, 255, 0.75);
}
.search-bar {
    margin-left: 15px;
}
.search-bar input.search {
    border-radius: 20px!important;
    border: 0px;
    padding-left: 33px;
    max-width: 240px;
}
.search-bar i {
    color: #868686;
    position: absolute;
    top: 6px;
    left: 10px;
    z-index: 6;
}
section {
    margin-bottom: 40px;
}
.section-title {
    color: #1F1F1F;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px;
}
.section-title i {
    color: #6A58D2;
    margin-right: 5px;
}
.grid-layout-1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(147px, 1fr));
    grid-gap: 16px;
    grid-auto-rows: minmax(147px, auto);
    grid-auto-flow: dense;
}
.span-2 {
    grid-column-end: span 2;
    grid-row-end: span 2;
}
.span-3 {
    grid-column-end: span 3;
    grid-row-end: span 3;
}
.span-4 {
    grid-column-end: span 3;
    grid-row-end: span 1;
}
.grid-layout-1 .game-card__details {
    overflow: hidden;
    margin: .35714em 10px;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    bottom: 65px;
    margin-bottom: -53px;
    opacity: 0;
}
.game-card__thumbnail {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}
.game-card__thumbnail img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
h3.game-card__title {
    font-size: unset;
    margin: unset;
    line-height: unset;
    font-weight: bold;
}
.game-card__rating > i {
    color: #EAAA08;
}
.game-card__rating {
    font-size: 15px;
}
@media(hover: hover) and (pointer: fine) {
    .game-card:hover .game-card__thumbnail {
        background-color: #000;
    }
    .grid-layout-1 .game-card:hover .game-card__details {
        opacity: 1;
        transition: all 0.5s ease;
    }
    .game-card:hover .game-card__thumbnail img {
        opacity: 0.5;
        transform: scale(1.2);
        transition: all 0.5s ease;
    }
}
.grid-layout-2 .game-card, .grid-layout-3 .game-card {
    border-radius: 16px;
    border: 1px solid #E2E2E2;
    padding: 12px;
    height: 100%;
}
.grid-layout-2 .game-card__details {
    margin-top: 10px;
    color: #1F1F1F;
}
.grid-layout-2 .game-card__title, .grid-layout-3 .game-card__title {
    color: #1F1F1F;
}
.grid-layout-2 .game-card__rating, .grid-layout-3 .game-card__rating {
    margin-top: 6px;
    color: #1F1F1F;
}
.grid-layout-2 .first-item .game-card__details {
    margin-top: 0;
}
.grid-layout-2 .first-item .game-card__title {
    margin-bottom: 10px;
}
.grid-layout-2 .first-item .game-card__bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.grid-layout-2 .first-item .game-card__rating {
    float: left;
}
.grid-layout-2 .game-card__btn-play {
    background-color: #7158FA;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    float: right;
    margin-right: 25px;
}
.grid-layout-3 .game-card__link {
    display: flex;
}
.grid-layout-3 .game-card__thumbnail {
    width: 70px;
    min-width: 70px;
    margin-right: 13px;
}
.grid-layout-3 .game-card__category {
    margin-top: 6px;
}
.grid-layout-2 .game-card:hover, .grid-layout-3 .game-card:hover, .category-list-global .category-item:hover {
    box-shadow: 0px 8px 8px -4px #10182808;
    box-shadow: 0px 20px 24px -4px #10182814;
    transition: all 0.5s ease;
}
.b-load-more-wrapper {
    text-align: center;
    margin-top: 30px;
}
.btn-load-more {
    background-color: #F9F5FF;
    border: 1px solid #7158FA;
    border-radius: 30px;
    padding: 10px 20px;
    color: #7158FA;
}
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.text-muted {
    color: #A1A1A1;
}
.rating > i {
    color: #EAAA08;
}  
.play-count > i {
    color: #2f9cfd;
}
.content-wrapper {
    margin-top: 25px;
}
.single-title {
    font-weight: bold;
    font-size: 30px;
    border-bottom: 1px solid #E2E2E2;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.single-game__header {
    width: 100%;
    padding-bottom: 20px;
}
.single-game__header .btn {
    margin-bottom: 8px;
}
.single-game__header .btn-active {
    background-color: #6A58D2;
    color: #fff;
    border-color: #6A58D2;
    pointer-events: none;
}
.single-game__header .btn[disabled] {
    opacity: 0.5;
    pointer-events: none;
}
.single-game__header-left {
    float: left;
}
.single-game__header-right {
    float: right;
}
.single-game__actions .dropdown-menu {
    background-color: #fff;
    border: 1px solid #EAECF0;
    box-shadow: 0px 1px 3px 0px #1018281A;
}
.single-game__article h2, .single-game__tag-list h2 {
    font-weight: bold;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.single-game__tag-list a {
    display: inline-block;
    background-color: #EDEDED;
    padding: 8px 16px;
    color: #868686;
    border-radius: 8px;
    margin-right: 8px;
    margin-bottom: 6px;
}
.single-game__tag-list a:hover {
    background-color: #D7D7D7;
}
.btn-capsule > i {
    margin-right: 9px;
}
.btn-capsule {
    border-radius: 20px;
    border: 1px solid #D0D5DD;
}
.btn-circle, .btn-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #D0D5DD;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.btn-circle:hover, .btn-capsule:hover {
    background-color: #6A58D2;
    color: #fff;
}
.btn-circle.dropdown-toggle::after {
    display: none;
}
.image-404 {
    margin: 5rem 1rem;
}
.sidebar .widget {
    margin-bottom: 16px;
}
.widget-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 14px;
}
.widget-game-list {
    padding: 16px;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
}
.widget-game-list .widget-title {
    border-bottom: 1px solid #E2E2E2;
    padding-bottom: 12px;
}
.wgt-list-game__thumbnail {
    border-radius: 8px;
    overflow: hidden;
}
.wgt-list-game-vertical .wgt-list-game__item {
    margin-bottom: 14px;
}
.wgt-list-game-vertical .wgt-list-game__meta {
    padding-left: 0;
}
.wgt-list-game-vertical .wgt-list-game__title {
    color: #1F1F1F;
    font-weight: bold;
}
.single-category__header, .single-post-list__header, .single-tag__header, .single-search__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}
.single-category__header .section-title {
    margin: 0;
}
.single-category__icon {
    margin-right: 10px;
}
.single-category__meta, .single-post-list__meta, .single-tag__meta, .single-search__meta {
    background-color: #EDEDED;
    margin-left: auto;
    padding: 8px 16px;
    border-radius: 8px;
    color: #868686;
}
.category-description, .notfound {
    background-color: #ededed;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.category-description p:last-child {
    margin-bottom: 0;
}
.single-page__header, .single-post__header {
    margin-bottom: 25px;
}
.single-page__content, .single-post__content, .single-game__wrapper {
    margin-bottom: 40px;
}
.single-post-list__header .section-title, .single-tag__header .section-title, .single-search__header .section-title {
    margin-bottom: 0;
}
.single-post-list__card {
    border: 1px solid #E2E2E2;
    padding: 12px;
    border-radius: 16px;
}
.single-post-list__card:hover {
    box-shadow: 0px 20px 24px -4px #10182814;
}
.single-post-list__details {
    overflow: hidden;
}
.single-post-list__title a {
    font-weight: bold;
    font-size: 18px;
    color: #1F1F1F;
}
.single-post-list__thumbnail {
    margin: 0;
    margin-bottom: 6px;
}
.single-post-list__thumbnail img {
    margin-top: auto;
    margin-bottom: auto;
    max-height: 100%;
    border-radius: 12px;
}
.single-post-list__date {
    font-size: 14px;
    font-style: italic;
}
.single-post-list__bottom {
    margin-top: 12px;
}
.single-post__meta {
    font-style: italic;
}
.pagination-wrapper {
    margin-top: 20px;
}
.pagination .page-item .page-link {
    background-color: #fff;
    border: none;
    border-radius: 8px;
    color: #475467;
    margin: 6px;
    padding: 8px 14px;
}
.pagination .page-item .page-link:hover {
    background-color: #F1F3F4;
}
.pagination .page-item.active .page-link {
    background-color: #E8ECEE;
    color: #182230;
}
.pagination .page-item .page-link:focus {
    box-shadow: none;
}
.alignleft {
	display: inline;
	float: left;
	margin-right: 15px;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 15px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
footer {
    background-color: #151436;
    color: #9392AD;
}
.footer h3 {
    color: #EEEEEE;
    margin-bottom: 1rem;
}
.footer img {
    margin-bottom: 1rem;
}
.footer a, .footer-copyright a {
    color: #EEEEEE;
}
.footer-widget {
    padding: 50px 0 30px;
}
.list-pages a {
    display: inline-block;
    padding: 10px;
}
.list-pages a:first-child, .list-pages a[href*='new-games'], .list-pages a[href*='popular-games'], .list-pages a[href*='random-games'] {
    display: none;
}
footer .line-separator {
    border-top: 1px solid #4D4C67;
}
.footer-copyright {
    text-align: center;
    background-color: #151436;
}
.footer-copyright .container {
    position: relative;
}
@media screen and (max-width: 991px){
    .navbar-toggler {
        border: 0;
        padding: 0;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-nav > .nav-item {
        margin: 5px 0;
    }
    .header-search {
        display: none;
        flex: 0 0 100%;
        margin: 15px 0 0;
    }
    .search-bar {
        margin-left: 0;
    }
    .search-bar input.search {
        max-width: 100%;
        width: 100%;
    }
}
@media screen and (max-width: 768px){
    .grid-layout-2 .first-item .game-card__bottom {
        position: unset;
        margin-top: 10px;
    }
    .single-game__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .single-game__header .btn {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 575px){
    .single-category__meta, .single-post-list__meta, .single-tag__meta, .single-search__meta {
        margin-left: 0;
    }
    .single-category__header, .single-post-list__header, .single-tag__header, .single-search__header {
        flex-direction: column;
        align-content: center;
        gap: 15px;
    }
}