html,
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    color: #333;
    position: relative;
    z-index: 99;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 12px;
    width: 100%;
}

  .placeholder{
    object-fit: contain;
    margin: auto; 
      }

*,
::after,
::before {
    box-sizing: border-box;
}

.t_1l {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.t_12 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.t_13 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.t_14 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
    margin: 0%;
    padding: 0;
}

h2 {
    overflow: hidden;
    color: #5E636F;
    text-overflow: ellipsis;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

p {
    color: #333;
    font-family: 'Nunito';
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    /* 157.143% */
}


header {
    background: #FFF;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    max-width: 1200px;
    margin: auto;
}

.logo a {
    font-family: 'Nunito';
    font-size: 30px;
    font-weight: 800;
    line-height: 34px;
    padding: 10px 10px;
    display: block;
    color: #333;
}

.search {
    margin-right: 10px;
    max-width: 300px;
    width: 100%;
    position: relative;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12);
}

.search input {
    width: 100%;
    border: none;
    padding-left: 24px;
    font-size: 14px;
    line-height: 18px;
    outline: none;
    border-radius: 100px;
    background-color: transparent;
    color: #AEB3B8;
    padding: 8px 12px;
}

.search_btn {
    position: absolute;
    right: 12px;
    top: 0px;
}

.search_btn a {
    padding: 0 10px;
    display: block;
    line-height: 34px;
}

.search_btn .icon-search {
    color: #FF8502;
    font-size: 16px;
}

.search input::placeholder {
    color: #AEB3B8;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    /* 128.571% */
}

.sear-img1 {
    display: none !important;
}

.nav-links {
    width: auto;
    display: flex;
    list-style-type: none;
    margin: 5px auto;
    padding: 5px 10px;
    overflow-x: auto;
}

.nav-links::-webkit-scrollbar {
    height: 4px;
}

.nav-links::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #e9ecef;
}

.nav-links li a {
    text-transform: capitalize;
    color: #AEB3B8;
    font-family: 'Nunito';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
    padding: 4px 24px;
    display: block;
}

.nav-links li a i {
    padding-right: 8px;
}

.nav-links li a.active,
.nav-links li a:hover {
    color: #FF8502;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px;
}

.line1,
.line2,
.line3 {
    width: 22px;
    height: 2px;
    margin: 2px;
    background: #f87e10;
}

.back-to-top {
    border: none;
    position: fixed;
    bottom: 160px;
    right: 65px;
    z-index: 99;
    cursor: pointer;
    display: none;
    border-radius: 50%;
    background-color: transparent;
}

.back-to-top img {
    width: 35px;
    vertical-align: bottom;
}

@media (max-width:992px) {

    .logo a {
        font-size: 28px;
    }
}

@media (max-width:768px) {
    .nav-links {
        /* margin: 10px; */
    }

    .logo a {
        /* padding: 5px 10px; */
        font-size: 24px;
        line-height: 30px;
    }
}

@media (max-width:550px) {
    .nav-links {
        /* margin: 10px; */
        padding-top: 0;
    }

    .logo {
        width: 50%;
    }

    .search {
        width: 45%;
    }

    .logo a {
        padding: 5px 10px;
        font-size: 20px;
        line-height: 28px;
    }

    .search input {
        padding: 6px 12px;
    }

    .search_btn a {
        line-height: 30px;
    }

    .nav-links li a {
        font-size: 14px;
        line-height: 18px;
        padding: 6px 12px;
    }
}

footer {
    padding: 20px 0;
    margin-top: 48px;
}

footer .share {
    width: 50%;
    display: flex;
    justify-content: center;
}

footer .share a {
    padding: 3px;
    margin: 0 12px;
    display: flex;
    border-radius: 80px;
    border: 0.8px solid #333;
}

footer .share i {
    color: #333;
    font-size: 25px;
}

footer .pt {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .pt a {
    padding: 0 24px;
    color: #333;
    font-family: 'Nunito';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    position: relative;
    text-decoration: underline;
    /* 125% */
}

footer .pb {
    width: 100%;
    color: #333;
    text-align: center;
    font-family: 'Nunito';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    padding-top: 24px;
    /* 125% */
}

@media (max-width:768px) {
    footer .share a {
        margin: 0 6px;
    }

    footer .pt a {
        padding: 0 12px;
    }

}

@media (max-width:550px) {
    footer .share {
        padding-top: 12px;
        width: 100%;
    }

    footer .pt {
        width: 100%;
        order: -1;
    }

    footer .pt a {
        font-size: 14px;
    }

    footer .pb {
        padding-top: 12px;
        font-size: 14px;
    }

    footer .share a {
        padding: 0px;
    }

    footer .share i {
        font-size: 25px;
        line-height: 25px
    }

    footer {
        padding: 12px 0;
    }
}

#copy-message {
    position: fixed;
    z-index: 999;
    bottom: 30%;
    width: 60px;
    height: 28px;
    left: 50%;
    transform: translate(-50%, 0);
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #333;
    font-size: 12px;
    text-align: center;
    line-height: 28px;
    border-radius: 20px;
}


section {
    padding: 24px 0;
}

.cover {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    background: #D9D9D9;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.bg {
    background: #F1F4F8;
}

.heading {
    color: #333;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    padding-left: 6px;
    padding-bottom: 18px;
  text-transform: capitalize;
}

.g1 a {
    width: 16.666%;
    display: block;
    padding: 6px;
}

.g1 a .item,
.g3 .grid a .item {
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    padding-bottom: 8px;
}

.g1 a img,
.g3 .grid a img {
    aspect-ratio: 1/0.8;
    border-radius: 4px 4px 0 0;
}

.g1 a h2,
.g3 .grid a h2 {
    padding: 8px 8px 0;
}

.g1 a h2 i,
.g3 .grid a i {
    color: #FFAA00;
    padding-right: 8px;
}

.g2 a {
    width: 20%;
    display: block;
    position: relative;
    padding: 6px;
    height: 100%;
}

.g2 a img,
.g4 a img {
    aspect-ratio: 1/0.7;
    position: relative;
}

.g2 a h2,
.g4 a h2 {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 99;
    color: #FFF;
    opacity: 0;
}

.g2 a.image-link::after,
.g4 a.image-link::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 65%, rgba(0, 0, 0, 0.90) 100%);
    pointer-events: none;
    border-radius: 4px;
    opacity: 0;
}

.g2 a:hover h2,
.g4 a:hover h2 {
    opacity: 1;
    transition: opacity 0.5s;
}

.g2 a:hover.image-link::after,
.g4 a:hover.image-link::after {
    opacity: 1;
    transition: opacity 0.5s;
    border: 2px solid #FF8502;
}


.g3 .grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.g3 .grid a {
    grid-column: span 1;
    grid-row: span 1;
    padding: 6px;
}

.g3 .grid a:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.g3 .grid a:first-child .play {
    border-radius: 4px;
    background: #FF8502;
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    width: max-content;
    margin: 12px auto 0;
    padding: 8px 24px;
}
.g3 .grid a:first-child h2{justify-content: center;    text-align: center;}
.g4 a {
    display: block;
    position: relative;
    padding: 6px;
    height: 100%;
}

.g4 .box-1 a {
    width: 25%;
}

.g4 .box-2 a {
    width: 20%;
}


.play-game {
    width: 90%;
    margin: auto;
    aspect-ratio: 1 / 0.9;
    position: relative;
    margin-bottom: 36px;
    box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.4);
}

.play-game::after {
    position: absolute;
    content: '';
    width: 100%;
    height: calc(100% - 60px);
    top: 0;
    background: url(../images/gane-bg.jpg) lightgray 0px 0 / 100% 107.834% no-repeat;
 
    z-index: 1;
}

.play-game .top {
    height: calc(100% - 60px);
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.play-game .top .top__shading {
    width: 100%;
    border-radius: 24px 24px 0 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.play-game .top .top__shading .img-border {
    width: 176px;
    height: 176px;
    display: block;
    margin: 0 auto 24px;
    border-radius: 4px;
}


.play-game .top .bg {
    width: 172px;
    height: 172px;
    border-radius: 4px;
    background: #D9D9D9;
    margin: 0 auto 20px;
}

.play-game .top button {
    margin: auto;
    cursor: pointer;
    width: max-content;
    padding: 12px 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    text-transform: uppercase;
    /* 120% */

    border-radius: 100px;
    border: 2px solid #FF8502;
    background: #F8F0E7;
    box-shadow: 4px 4px 0 0 #FF8502;
}

.play-game .top button span {
    gap: 8px;
    display: flex;
    align-items: center;
}

.play-game .top button i {
    font-size: 25px;
}

#gameIframe {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 50%;
    top: 0px;
    z-index: 9;
}

.play-game .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 32px;
    background: #F1F4F8;
    position: relative;
    z-index: 99;
}

.play-game .bottom p {
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    color: #333;
}

.play-game .bottom .botton-full {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding-left: 12px;
}

.play-game .bottom .botton-full i {
    color: #333;
    font-size: 24px;
}


@media (max-width:992px) {
    .container {
        padding: 0 6px;
    }

    .g1 a,
    .g2 a {
        width: 25%;
        padding: 12px;
    }

    .g3 .grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .g3 .grid a {
        padding: 12px;
    }

    .g4 a {
        padding: 12px;
    }

    .g4 .box-2 a {
        width: 33.33%;
    }

    .g2 a.image-link::after,
    .g4 a.image-link::after,
    .g2 a:hover.image-link::after,
    .g4 a:hover.image-link::after {
        top: 12px;
        left: 12px;
        width: calc(100% - 24px);
        height: calc(100% - 24px);
    }

    .g2 a h2,
    .g4 a h2 {
        bottom: 24px;
    }

    .heading {
        padding-left: 12px;
        padding-bottom: 6px;
    }
}


@media (max-width:768px) {
    section {
        padding: 12px 0;
    }

    .heading {
        padding-left: 6px;
        padding-bottom: 8px;
    }

    .g1 a,
    .g2 a,
    .g3 .grid a,
    .g4 a {
        padding: 6px;
    }

    .g2 a {
        width: 33.33%;
    }

    .g3 .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .g4 .box-1 a {
        width: 50%;
    }

    .g2 a:hover.image-link::after,
    .g4 a:hover.image-link::after,
    .g2 a.image-link::after,
    .g4 a.image-link::after {
        top: 6px;
        left: 6px;
        width: calc(100% - 12px);
        height: calc(100% - 12px);
    }

    .g2 a h2,
    .g4 a h2 {
        bottom: 16px;
    }

    .g2 a h2,
    .g4 a h2 {
        bottom: 20px;
    }

    .play-game {
        aspect-ratio: 1 / 1;
        width: 98%;
    }
}

@media (max-width:550px) {

    .g2 a h2,
    .g4 a h2,
    .g1 a h2,
    .g3 .grid a h2 {
        -webkit-line-clamp: 2;
    }

    .g1 a h2,
    .g3 .grid a h2 {
        height: 40px;
        display: flex;
    }

    .g1 a h2 i,
    .g3 .grid a i {
        line-height: 40px;
        padding-right: 4px;
    }

    .back-to-top {
        bottom: 140px;
        right: 30px;
    }

    .back-to-top svg {
        width: 30px;
        height: 30px;
    }

    .g1 a {
        width: 33.33%;
    }

    .heading {
        font-size: 16px;
        line-height: 18px;
    }

    h2 {
        font-size: 14px;
        line-height: 18px;
    }

    .g1 a img,
    .g3 .grid a img {
        aspect-ratio: 1/0.7;
    }

    .g1 a h2,
    .g3 .grid a h2 {
        padding: 4px 4px 0;
    }

    .g1 a .item,
    .g3 .grid a .item {
        padding-bottom: 4px;
    }

    .g1 a h2 i,
    .g3 .grid a i {
        font-size: 14px;
    }

    section {
        padding: 8px 0;
    }

    .g2 a h2,
    .g4 a h2 {
        bottom: 10px;
    }

    .g3 .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .g3 .grid a:first-child .play {
        font-size: 12px;
        line-height: 16px;
        margin: 4px auto 4px;
        padding: 6px 24px;
    }

    .g2 a.image-link::after,
    .g4 a.image-link::after {
        background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 30%, rgba(0, 0, 0, 0.90) 100%);

    }
  
  .g4 .box-1 a.image-link::after,
  .g4 .box-1 a h2{    opacity: 1;}
  
  .g4 .box-1 a.image-link::after{
    transition: opacity 0.5s;
    border: 2px solid #FF8502;}
  
    .g2 a h2,
    .g4 a h2 {
        bottom: 14px;
    }

    .g2 a h2,
    .g4 .box-2 a h2 {
        bottom: 10px;
        left: 12px;
        right: 12px;
    }

    .g2 a img,
    .g4 .box-2 a img {
        aspect-ratio: 1/0.8;
    }

    .play-game{
        aspect-ratio: 1 / 1.4;
        margin-bottom: 15px;
        width: calc(100% - 12px);

    }

    .play-game .top button{
        width: 88%;
        padding: 12px 0;
        font-size: 16px;
        line-height: 20px;
        padding: 8px 0;
    }

    .play-game .top .top__shading .img-border,
    .play-game .top .bg{
        width: 135px;
        height: 135px;
    }
    .play-game::after{
        filter: blur(3px);
    }

    .play-game .bottom p {
        font-size: 16px;
        line-height: 20px;
    }

    #gameIframe{
        max-width: 100%;
    }

    .play-game .bottom{
        padding: 0 12px;
    }

}

@media (max-width:350px) {
    .logo {
        width: 40%;
    }

    .logo a {
        padding: 5px 6px;
        font-size: 16px;
        line-height: 28px;
    }

    .search {
        width: 45%;
    }

    .search_btn a {
        padding: 0px 6px;
    }

    .search_btn {
        right: 6px;
    }

    .search input {
        padding: 6px 6px;
    }

    .g1 a,
    .g2 a,
    .g4 .box-2 a {
        width: 50%;
    }

    .g3 .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h2 {
        font-size: 12px;
        line-height: 16px;
    }

    .g1 a h2,
    .g3 .grid a h2 {
        height: 32px;
    }
}