* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
    background: #080808;
}

body {
    transition: 1.5s ease-in-out;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    -webkit-transition: 1.5s ease-in-out;
    -moz-transition: 1.5s ease-in-out;
    -ms-transition: 1.5s ease-in-out;
    -o-transition: 1.5s ease-in-out;
}

.page {
    opacity: 1;
    transition: 1s ease-in-out;
}

c-nav,
c-nav1,
c-nav2 {
    z-index: 1000;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

.page.disabledScroll {
    overflow: hidden;
    opacity: 0.5;
    transition: 0.68s ease-in-out;
    -webkit-transition: 0.68s ease-in-out;
    -moz-transition: 0.68s ease-in-out;
    -ms-transition: 0.68s ease-in-out;
    -o-transition: 0.68s ease-in-out;
}

body.disabledScroll {
    overflow: hidden;
}

input,
textarea,
button,
select,
a,
img {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    border: none;
    outline: none;
    user-select: none;
    color: white;
}

body::-webkit-scrollbar {
    width: 14px;
    background: #0f0f0f;
}

body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.7);
}

body::-webkit-scrollbar-thumb {
    background-color: #2e2e2e;
    border: 3.8px solid #0f0f0f;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #080808;
    z-index: 9999;
    transition-property: all;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    overflow: hidden;
}

@property --num {
    syntax: '<integer>';
    initial-value: 0;
    inherits: false;
}

.loader,
.anim {
    width: 200px;
    height: 50px;
    line-height: 60px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 45px;
    transform: translate(-50%, -50%);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    color: #ccc;
    animation: counter 1.6s forwards ease-in-out;
    counter-reset: num var(--num);
    padding: 2rem;
    -webkit-animation: counter 1.38s forwards ease-in-out;
}

.loader::before {
    content: counter(num);
}

.loader::after {
    content: '%'
}

@keyframes counter {
    from {
        --num: 0;
        color: #aaa;
    }
    to {
        --num: 100;
        color: #eee;
    }
}

.anim {
    width: 100px;
    left: 47%;
}

.anim::before,
.anim::after {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    background: #ff0025;
    position: absolute;
    -webkit-animation: load 0.7s infinite alternate ease-in-out;
    animation: load 0.7s infinite alternate ease-in-out;
}

.anim::before {
    top: 0;
}

.anim::after {
    bottom: 0;
}

@keyframes load {
    0% {
        left: 0;
        height: 70px;
        width: 25px;
    }
    50% {
        height: 8px;
        width: 45px;
    }
    100% {
        left: 100%;
        height: 70px;
        width: 25px;
    }
}


/*Ripple*/

.ripple {
    width: 8px;
    height: 8px;
    opacity: 0;
    transform: scale(0);
    border-radius: 50%;
    position: fixed;
    z-index: 500000;
    background: rgba(255, 255, 255, 0.3);
}


/*Animate Function*/

.animate {
    animation: ripple-mo .5s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes ripple-mo {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(9.5);
        opacity: 0;
    }
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background: #000;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(120deg, #eaee44, #33d0ff);
    opacity: 1;
    z-index: 5001;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5000;
}

.slide {
    left: 300px;
}

.main-content {
    position: absolute;
    top: 52vh;
    left: 0;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, #080808 0%, #121212 100%);
    width: 100%;
    height: auto;
    padding-bottom: 5vh;
    z-index: 85;
    margin-top: 20px;
    border-right: 0px;
    padding-top: 35px;
    font-family: 'Space Grotesk';
    margin-bottom: -150px;
    overflow-x: hidden;
}

.main-content:after {
    content: "";
    display: block;
    height: 100px;
    /*height of footer*/
}

.card {
    position: relative;
    justify-content: center;
    transform: translate(5%, 0%);
    border-radius: 2px;
    border: .2px solid #666;
    background: #111;
    width: 84%;
    max-width: 600px;
    padding: 10px;
    height: 160px;
    transition: 0.5s ease-in-out;
    overflow: hidden;
    margin-top: 25px;
    opacity: .88;
    text-align: right;
    justify-content: bottom;
}

.card:hover {
    outline-offset: 3.2px;
    outline: 1.5px solid #ddd;
    /**border: .05px solid white;**/
    opacity: .7;
}

.card .text {
    position: absolute;
    bottom: 0px;
    left: 0px;
    transition: .5s ease-in-out;
    opacity: 1;
    width: 100%;
    height: auto;
    padding: 12px;
    text-align: left;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(50px);
}

.card .text:hover {
    color: #ddd;
    opacity: 1;
}

.c1 {
    background: url(../images/backgrounds/24.webp) no-repeat center;
    background-size: cover;
}

.c2 {
    background: url(https://mocah.org/thumbnail/412610-Pacman-3D-arcade-retro-games-neon.jpg) no-repeat center;
    background-size: cover;
}

.c3 {
    background: url(../images/games/ping-pong.png) no-repeat center;
    background-size: cover;
}

.c4 {
    background: url(../images/games/tic-tac-toe.png) no-repeat center;
    background-size: cover;
}

.c5 {
    background: url(https://cdn.shopify.com/s/files/1/0368/7215/9369/products/IMG_1611_1031x1032.jpg?v=1620210845) no-repeat center;
    background-size: cover;
}

.c7 {
    background: url(../images/backgrounds/26.webp);
    background-size: cover;
}

.c6 {
    background: url(../images/games/tic-tac-toe2.png) no-repeat center;
    background-size: cover;
}

.c8 {
    background: url(../images/games/ping-pong3.png) no-repeat center;
    background-size: cover;
}

.c9 {
    background: url(../images/games/ping-pong2.png) no-repeat center;
    background-size: cover;
}

.c10 {
    background: url(../images/games/pacman.png) no-repeat center;
    background-size: cover;
}

.c11 {
    background: url(../images/backgrounds/18.webp) no-repeat center;
    background-size: cover;
}

.c12 {
    background: url(../images/backgrounds/19.webp) no-repeat center;
    background-size: cover;
}

.c11,
.c12 {
    display: flex;
    justify-content: center;
    place-items: center;
    opacity: .8;
}

.card .cs {
    content: 'Coming Soon...';
    color: #ddd;
    background: #ff0025;
    padding: 7px;
    border-radius: 3px;
    position: relative;
    bottom: 0;
    left: 0;
    transform: translate (-50%, -50%);
    width: auto;
}

.games h3 {
    margin: 17px;
    color: #ff0040;
}

.group {
    margin: 0;
}

.games {
    display: grid;
    grid-gap: 0rem;
    max-width: 900px;
    margin: 5px auto;
}

.footer {
    height: auto;
    background: #000;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 50000;
    padding: 0px;
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
}

.feedback {
    position: relative;
    width: 100%;
    height: 395px;
    padding-top: 50px;
    display: grid;
    grid-gap: 0rem;
    max-width: 763px;
    margin: 50px auto;
}

.f-form {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    background: #222;
    color: #ddd;
    width: 100%;
    height: 420px;
    padding: 10px 60px;
    font-size: 30px;
    border-radius: 25px;
    -webkit-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
}

.f-contaniner {
    margin: 36px 20px;
    overflow: hidden;
}

.f-group {
    margin: 20px 0px;
}

.f-group h5 {
    font-size: 22px;
    color: #ccc;
}

.f-control {
    width: 100%;
    background: #333;
    outline: none;
    border: none;
    padding: 10px;
    font-size: 18px;
    border-radius: 4px;
    margin: 8px 0px;
    transition: 0.5s ease-in-out;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -ms-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
}

.btn-primary {
    margin: 0px 0px;
    padding: 10px 20px;
    background: #ff0040;
    color: #ddd;
    width: 100%;
    height: 55px;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    font-size: 25px;
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #ddd;
    color: #ff0040;
    letter-spacing: 1.25px;
}

.bottom1 {
    margin: 20px 30px;
    line-height: 28px
}

.bottom1 a {
    transition: .5s ease-in-out;
    border-bottom: 3px dashed #222;
}

.bottom1 a:hover {
    background: #222;
    padding: 0px 3px 0px 3px;
    border-radius: 1.5px;
}

@media (min-width: 600px) {
    .games {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .games {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .menu.active {
        min-width: 100%;
    }
    .main-content {
        top: 47vh;
        padding-top: 30px;
        margin-top: 0px;
    }
    .slide {
        left: 100%;
        min-width: 100%;
    }
    .menuContents {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 220px;
        position: relative;
    }
    .menuContents a {
        text-align: center;
    }
    .menuContents a:hover {
        border: none;
        margin-left: 0px;
        padding-top: 0px;
    }
    .group {
        margin-top: 10px;
    }
    .group:nth-child(3) {
        margin-top: 20px;
    }
    .games h3 {
        margin-left: 20px;
    }
    .card {
        height: 220px;
    }
}