body {
        background-color: #1f1130;
        font-family: 'Comfortaa', sans-serif;
        overflow-x: hidden;
    }
    .grid-img {
        max-width: 100%;
        height: auto;
    }
    .page-title {
        font-size: 4vw;
        color: #d0ced2;
        text-align: center;
    }
    .glow {
        -webkit-animation: glow 1s ease-in-out infinite alternate;
        -moz-animation: glow 1s ease-in-out infinite alternate;
        animation: glow 1s ease-in-out infinite alternate;
        }
    @keyframes glow {
     from {
     text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 25px #00ccff, 0 0 30px #00ccff, 0 0 35px #00ccff, 0 0 40px #00ccff, 0 0 45px #00ccff;
     }
     to {
      text-shadow: 0 0 20px #fff, 0 0 25px #29d4ff, 0 0 30px #29d4ff, 0 0 35px #29d4ff, 0 0 40px #29d4ff, 0 0 45px #29d4ff, 0 0 50px #29d4ff;
     }
    }
    .page-desc {
        text-align: center;
        color: #d0ced2
    }
    .mainbox {
        transform: translateX(0vh);
        transition-duration: 0.4s;
        -webkit-transition-duration: 0.4s;
        -ms-transition-duration: 0.4s;
        -moz-transition-duration: 0.4s;
        z-index: 1;
        width: 75%;
        height: 85vh;
        backdrop-filter: blur(5px) saturate(180%);
        -webkit-backdrop-filter: blur(5px) saturate(180%);
        background-color: rgba(255, 255, 255, 0.2);
        outline: 0.3vh solid white;
        margin-top: 1vh;
        margin-bottom: 1vh;
        border-radius: 0.4em;
        box-shadow: 0px 10px 10px;
        overflow-y: scroll;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }
    .mainbox-top-margin{
        margin-top: 2vh;;
        opacity: 0;
    }
    .zoom-effect {
        transition: transform 0.3s;
    }

    .zoom-effect:hover {
        transform: scale(1.07);
    }
    .listing-text {
        font-size: 1.5em;
        color: #CCCCCC;
        text-decoration: none !important;
    }
    .loader-text {
        font-size: 2em;
        color: #d0ced2;
        text-decoration: none !important;
    }
    .griditem {
    text-decoration: none !important;
    }
    .bottom-text {
        font-size: 1.2em;
        color: #d0ced2;
    }
    .img-hover-shadow {
        transition: box-shadow 0.35s; /* Add smooth transition for the shadow effect */
    }

    .img-hover-shadow:hover {
        box-shadow: 0 0 20px #000000; /* Add shadow effect on hover */
    }
    .gradient {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
        background: linear-gradient(334deg, #ff0000, #bf4040, #000000); /* top, center, bottom */
        background-size: 180% 180%;
        animation: gradient-animation 6s ease infinite;
        filter: brightness(0.85);
    }
    @keyframes gradient-animation {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
    * {
        font-family: 'Comfortaa';font-size: 22px;
    }
    .settings-box {
        margin-top: auto;
        border-radius: 15px;
        padding: 20px;
        background-color: #9454c4;
        opacity: 1;
        margin-left: 10px;
        width: 50%;
        height: 80%;
        transform: translate(-30%,-25%);
        padding-bottom: 100px;
        margin: 50px auto;
        position: absolute;
        left: 40%;
        z-index: 2;
        position: fixed;
    }
    .setting {
        margin-bottom: 10px;
    }    
    .icon-bar {
     width: 5vw;
     background-color: #9454c4;
     border-radius: 5vw;
     border-color: coral;
     position: fixed;
     top: 50%;
     left: -2%;
     transform: translate(50%, -50%);
     transition: all 0.3s ease;
     z-index: 3;
    }
    .box {
    display: none;
    text-align: center;
    background-color: #9454c4;
    border-radius: 2vw;
    overflow: hidden;
    }

    .icon-bar a {
      overflow: hidden;
      display: block;
      text-align: center;
      transition: all 0.3s ease;
      padding: 1vh;   
      color: white;
      font-size: 2.5vh;
      border-radius: 1vw;
      border: 1vh;
      padding-right: 5px; 
      position: relative;
      z-index: 3;
    }
    i.fa{
        width: 2.5vw;
        height: 2.5vw;
    }
    .icon-bar a:hover {
     background-color: rgb(148, 84, 196);
     transition: width 0.6s ease-out-in; 
     padding: 1vw 1vw;
     padding-right: 8.5vw; 
    }
    
    .icon-bar a span {
      display: none;
      position: absolute;
      top: 53.25vh;
      left: 53.5vw;
      font-size: 2.5vh;
      transform: translate(-50vw, -50vh);
    }

    .icon-bar a:hover span {
      display: block;
    }
        
    .white-text {
    color: white;
    }
    .white-bg {
    background-color: white;
    }
        
    .active {
     background-color: #c375ff;
    }
        
    .curve1 {
     border-radius: 10px;
    }    

    .icon-bar a:hover .search-bar {
    width: 8vw;
    padding-right: 20px;
    opacity: 1;
    }

    .search-bar {
     position: absolute;
     top: 50vh;
     right: -2vw;
     transform: translateY(-50vh);
     width: 5vw;
     height: 10vh;
     padding: 0 10px;
     border: none;
     border-radius: 20px;
      outline: none;
     background-color: transparent;
     color: white;
     font-size: 1vw;
     transition: width 0.3s ease-out, padding-right 0.3s ease-out, opacity 0.3s ease-out;
      opacity: 0;
    }      

    .search-bar::placeholder {
      color: white;
    } 
    .Not_color_bottom {
        background-color: #c375ff;
    }
    .Not_color_top {
      background-color: #9454c4;
    } 
    .devbox {
    position: relative;
    top: 40px;
    transform: translateY(-50%);
    background-color: #9454c4;
    border-radius: 15px;
    padding: 6px;
    color: white;
    width: 300px;
    }

    .devbox p {
      margin-bottom: 10px;
     font-size: 1.2em;
     text-align: center;
    }

     a {
    color: #000000; /* Will ik you told me you think chatgpt helped me with this. yes. but im getting better so im using it less */
    text-decoration: underline;
    }
    .News {
    position: fixed;
    background-color: #6b3991;
    padding: 6px;
    color: white;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: block;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    pointer-events: auto;
    }

    .fadeInAnimation {
        animation: fadeInAnimation ease 1s forwards;
        pointer-events: auto;
    }

    @keyframes fadeInAnimation {
        0% {
            top: 200%;
        }
        100% {
            opacity: 1;
            top: 50%;
        }
    }

    .fadeOutAnimation {
        animation: fadeOutAnimation ease 1s forwards;
        pointer-events: none;
    }

    @keyframes fadeOutAnimation {
        0% {
            opacity: 1;
            top: 50%;
        }
        100% {
            top: 200%;
        }
    }

    .closebt {
        background-color: #8a4db9;
        border: none;
        position: fixed;
        outline: none;
        padding: 10px 15px;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        border-radius: 5px;
        transition: all ease 0.1s;
        box-shadow: 0px 5px 0px 0px #6c3d91;
        right: 1%;
        top: 1%;
        z-index: 1001;
    }

    .closebt:active {
        transform: translateY(5px);
        box-shadow: 0px 0px 0px 0px #6c3d91;
    }
    .news-image {
    max-width: 98%;
    max-height: 98%;
    position: fixed;
    transform: translate(5%, -9%);
    z-index: 998;
    }
    .news-info {
    width: 58%;
    height: 86%;
    transform: translate(70%, 0%);
    background-color: #9454c4;
    border-radius: 15px;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    }   
    .news-info::-webkit-scrollbar {
        display: none;
    }
    .News-media{
    z-index: 998;
    border-radius: 15px;
    }
    .desc{
        overflow-x: hidden;
    } 
    .descslidein {
    animation: descslidein linear 0s forwards;
    pointer-events: none;
    }

.descslideout {
    animation: descslideout linear 10s forwards;
    pointer-events: none;
    }

    @keyframes descslideout {
    0% {
        transform: translateX(80%);
    }
    100% {
        transform: translateX(-90%);
    }
} 


@keyframes descslidein {
    0% {
        transform: translateX(-90%);
    }
    100% {
        transform: translateX(80%);
    }
}  
    .SettingsFadeInAnimation {
        animation: SettingsFadeInAnimation ease 1s forwards;
        pointer-events: auto;
    }

    @keyframes SettingsFadeInAnimation {
        0% {
            top: 200%;
        }
        100% {
            opacity: 1;
            top: 25%;
        }
    }

    .SettingsFadeOutAnimation {
        animation: SettingsFadeOutAnimation ease 1s forwards;
        pointer-events: none;
    }

    @keyframes SettingsFadeOutAnimation {
        0% {
            opacity: 1;
            top: 25%;
        }
        100% {
            top: 200%;
        }
    }

    @media screen and (max-width: 768px) {
        .btn-group {
            left: 5%;
            transform: scale(0.8);
        }
    }

    @media screen and (max-width: 480px) {
        .btn-group {
            left: 5%;
            transform: scale(0.6);
        }

        .btn + .btn {
            margin-left: 10px;
        }
    }

    .randombt {
       top: 80%;
       margin-right: 10px;
       height: 15%;
       width: 10%;
       font-size: 1vw;
       text-align: center;
    }
    .gamecard {
        font-size: 3vh;
        z-index: 1;
        width: 90%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1;
        overflow: hidden;
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        background-color: rgba(0, 0, 0, 0.5);
        outline: 2px solid white;
        margin-top: 1%;
        margin-bottom: 1%;
        border-radius: 0.2em;
        transition-duration: 0.5s;
        -webkit-transition-duration: 0.3s;
        -ms-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
    }

    @media (max-width: 768px) {
        .gamecard {
            width: 100%;
            max-width: none;
        }
    }

    .gamecard:hover {
        transform: translate(0em, -0.5em);
        box-shadow: 0 0 20px #ffffff;
        transition-duration: 0.3s;
        -webkit-transition-duration: 0.3s;
        -ms-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        background-color: rgba(43, 43, 43, 0.8);
    }

    .gamecard:active {
        transform: translate(0em, 0.05em);
        box-shadow: 0em 0.10em;
        transition-duration: 0.1s;
        -webkit-transition-duration: 0.1s;
        -ms-transition-duration: 0.1s;
        -moz-transition-duration: 0.1s;
        background-color: rgba(197, 197, 197, 0.8);
    }

    .gamecard .inner_card {
        transform: translate(0em, 0vh);
        transition-duration: 0.1s;
        -webkit-transition-duration: 0.1s;
        -ms-transition-duration: 0.1s;
        -moz-transition-duration: 0.1s;
    }

    .inner_card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }

    .gamecard:hover .inner_card {
        transform: translate(0em, -25vh);
        transition-duration: 0.1s;
        -webkit-transition-duration: 0.1s;
        -ms-transition-duration: 0.1s;
        -moz-transition-duration: 0.1s;
    }

    .gamecardtext {
        text-decoration: none !important;
        position: relative;
        color: #ffffff;
        margin-top: 10vh;
        font-size: 1.9vw;
        line-height: 1.5;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
