/*
Theme Name: OPT Gamio
Theme URI: https://wordpress.org
Description: Silence is golden.
Version: 2.1.2
Author: OPT Gamio
Author URI: https://wordpress.org
Text Domain: optgamio
*/

:root {
    --first: #ffb300;
    --second: #88DEF0;
}
body, html { 
    height: 100%;
}
body{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    font-size: 14px;
    background: #222336;
}
img {
    max-width: 100%;
    height: auto;
}
*, p, h1, h2, h3, h4, h5, h6, ul { 
    margin: 0;
}
ul, ol {
	padding: 0;
	list-style-type: none;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
    color: var(--first);
}
.background1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: fixed;
    z-index: -30;
    user-select: none;
    overflow: hidden;
    top: 0;
    bottom: 0;
    opacity: 0.2;
    filter: grayscale(1);
}
.headerInner {
    border-radius: 14px;
    margin: 18px 0px 0px;
}
.site-logo {
    width: 200px;
    display: block;
}
.site-logo img {
    max-height: 70px;
}
.site-title {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}
.barsBtn {
    display: none;
    position: absolute;
    right: 19px;
    top: 0;
    font-size: 21px;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    z-index: 99;
}
.headSearchFlex {
    overflow: hidden;
    border-radius: 9px;
    border: 1px solid var(--first);
}
.searchBtnTop {
    border: none;
    outline: none;
    color: var(--first);
    background: #fff;
    padding: 0 15px;
    border-left: 1px solid var(--first);
    transition: 0.3s ease;
}
.searchBtnTop:hover, .searchBtnTop:focus {
	background: var(--first);
    color: #fff;
}
.searchTop {
    width: 100%;
    border: none;
    outline: none;
    padding: 9px 10px;
    padding-left: 16px;
}
.headLink {
    font-size: 14px;
    margin-left: 20px;
    color: #fff;
}
.headerNav {
    padding: 10px 0;
    background: var(--first);
    border-radius: 200px;
    border-bottom: 2px solid black;
}
.mainUl {
    display: flex;
    justify-content: space-between;
    justify-content: center;
}
.mainUl li {
	display: inline-block;
	border-right: 1px solid #d7d7d7;
}
.main-link {
    padding: 9px 13px;
    display: block;
    color: black;
    font-size: 14px;
    transition: 0.3s ease;
    border-radius: 7px;
    margin: 0 8px;
}
.main-link:hover {
    background: rgb(255 231 175);
}
.mainUl li:nth-last-child(1) {
    border: none;
}
.headToprow {
    margin-bottom: 18px;
}
.game-block-outer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-gap: 20px;
    grid-auto-rows: minmax(120px, auto);
    grid-auto-flow: dense;
    padding: 18px 0;
}
.gameBox-single {
    transition: 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: transparent;
    position: relative;
    border-radius: 22px;
    border: 4px solid #ffb300;
    box-shadow: 0 2px 15px rgb(0 0 0 / 46%);
}
.game-single-thumb {
    border-radius: 22px;
    HEIGHT: 100%;
    OBJECT-FIT: COVER;
}
.game-hov-back {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.36) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.36)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.36) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.36) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.36) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.36) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
    opacity: 0;
    transition: 0.3s ease;
    border-radius: 25px;
}
.game-name {
    margin: 0 0 10px;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    transform: translateY(60px);
    transition: 0.3s ease;
}
.gameBox-single:hover .game-hov-back {
	opacity: 1;
}
.gameBox-single:hover .game-name {
	transform: translateY(0);
}
.gameBox-single:hover {
    transform: scale(1.03);
    z-index: 999;
}
.heading-block {
    background: var(--first);
    border-radius: 10px;
    padding: 14px 23px;
    color: #000;
    border-bottom: 2px solid #000;
    margin-top: 18px;
}
.heading-block h2 {
    font-size: 24px;
}
.gameControlBar {
    background: #fff;
    border-radius: 10px;
    padding: 8px 15px;
    box-shadow: 0 3px 0px #69c8d3;
    margin-top: 18px;
}
.gameControlBar h1 {
    font-size: 23px;
    margin: 0 0 5px;
}
#fullscreenBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    font-size: 18px;
    border: 1px solid;
    height: 45px;
    width: 45px;
}
.game-col-1 .game-block-outer, .game-col-3 .game-block-outer {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    grid-gap: 10px;
    grid-auto-rows: minmax(80px, auto);
}
.game-col-1 .game-block-outer .game-name, .game-col-3 .game-block-outer .game-name {
    font-size: 10px;
    padding: 0 5px;
    line-height: 1.3;
    text-align: center;
}
.midGmaePanel {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 0px #69c8d3;
    color: #666666;
    margin: 18px 0;
}
.midGmaePanel iframe {
    border-radius: 10px;
}
.midGmaePanel h2 {
    font-size: 20px;
    margin-top: 15px;
    color: #000;
}
.midGmaePanel h3 {
    font-size: 18px;
    margin-top: 15px;
    color: #000;
}
.midGmaePanel h4 {
    font-size: 16px;
    margin-top: 15px;
    color: #000;
}
.midGmaePanel p {
    margin: 15px 0 0;
    color: gray;
}
.gamepageTags {
    margin-top: 20px;
}
.gamepageTags a {
    display: inline-block;
    border: 1px solid;
    padding: 8px 12px;
    border-radius: 100px;
    margin: 0 10px 10px 0;
    transition: 0.3s ease;
}
.gamepageTags a:hover {
    background: var(--first);
    color: #fff;
}
.similar-games h2 {
    font-size: 20px;
    margin-top: 15px;
    color: #000;
}
.page-header {
    margin-top: 18px;
}
.page-header .inner {
    background: #080808;
    border-radius: 10px;
    padding: 33px 40px;
    box-shadow: 0 3px 0px #5e5e5e;
    color: #787878;
}
.page-header .head{
    font-size: 27px;
    margin: 0;
}
.archive-description {
    margin-top: 15px;
}
.pagination {
    padding: 30px 0 15px;
    margin: 20px 0 0;
    border-top: 1px solid #e5e5e5;
}
.page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 17px;
    border-radius: 100px;
    color: inherit;
    border: 0;
    background: #f3f3f3;
    margin-right: 9px;
    transition: 0.3s ease;
}
.page-item:first-child .page-link {
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}
.page-item:last-child .page-link {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}
.page-link:hover {
    background-color: rgb(46 133 151 / 16%);
    color: var(--first);
}
.page-link:focus {
    box-shadow: none;
    color: var(--first);
}
.page-item.active .page-link {
    background-color: var(--first);
}
.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 {
    padding: 0 0 20px;
}
.footer .inner {
    background: var(--first);
    border-radius: 10px;
    padding: 14px 23px;
    box-shadow: 0 3px 0px #5e5e5e;
    color: #000;
    margin: 19px 0 0;
}
.footlinksflex a {
    color: #725716;
    margin-left: 15px;
}
.footlinksflex a:hover {
    color: #000;
}
.footlinksflex a:first-child, .footlinksflex a[href*='new-games'], .footlinksflex a[href*='popular-games'], .footlinksflex a[href*='random-games'] {
    display: none;
}
.ov {
    overflow: hidden;
}
.mobNav {
    background: #1a1a1a;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    z-index: 9999;
    padding: 20px 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 32px hsl(0deg 0% 0% / 34%);
    bottom: 0;
    transition: 0.4s ease;
    left: -110%;
}
.show-menu {
    left: 0;
}
.mobNav .logo-main {
    width: 110px;
}
.closeMobNav {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}
.mobNav .seperator {
    margin: 30px 0 11px;
}
.seperator::before {
    content: '';
    background-color: #4c4c4c;
    position: absolute;
    height: 1px;
    width: 100%;
    display: block;
    top: 11px;
}
.mobNav .seperator .title {
    font-size: 17px;
    z-index: 9;
    background-color: #1a1a1a;
    display: inline-block;
    z-index: 9;
    padding: 0 12px 0 0;
    color: #ffffff;
}
.mobNavUl {
    display: flex;
    flex-wrap: wrap;
}
.mobNavUl li {
    width: 50%;    
    padding: 3px;
}
.mobNavUl a {
    background: #2a2a2a;
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    color: rgb(143 143 143);    
    font-size: 14px;
}
.mobNav .headLink {
    display: block;
    margin: 0;
    padding: 5px 10px;
    margin: 7px 0;
    background: rgb(42 42 42);
    border-radius: 4px;
    color: rgb(143 143 143);
}
@media screen and (max-width: 992px) {
    .headerInner {
        margin: 10px 0 0;
    }
    .headSearchFlex {
        margin: 10px 0 0;
    }
    .headToprow {
        margin-bottom: 0;
    }
    .barsBtn {
        display: block;
    }
    .logo-main {
        width: 140px;
    }
    .hide992 {
        display: none;
    }
    .footer .inner {
        text-align: center;
    }
    .footlinksflex {
        display: block !important;
    }
    .footlinksflex a {
        margin: 6px 10px;
        display: block;
        text-align: center;
    }
}