@font-face {
    font-family: Lemon;
    src: url(https://more.bbksdajatim.org/css/LEMONMILK-Regular.otf);
}

@font-face {
    font-family: font;
    src: url(https://more.bbksdajatim.org/css/font.ttf);
}

@font-face {
    font-family: nexa;
    src: url(https://more.bbksdajatim.org/css/Nexa.ttf);
}

* {
    text-decoration: none;
    margin: 0;
    padding: 0;

}

html {
    font-size: 100%;
}

:root {
    --primary-color: rgb(39, 39, 39);
    --secondary-color: rgb(19, 19, 19);
    --lighter-color: rgb(37, 37, 37);
    --offset-color: rgb(180, 180, 180);
    --darker-color: rgb(37, 37, 37);
    --text-color: rgb(82, 82, 82);
    --text-shadow: rgb(24, 24, 24);

}
.dark-theme {
    --primary-color: rgb(39, 39, 39);
    --secondary-color: rgb(19, 19, 19);
    --lighter-color: rgb(37, 37, 37);
    --offset-color: rgb(180, 180, 180);
    --darker-color: rgb(37, 37, 37);
    --text-color: rgb(82, 82, 82);
    --text-shadow: rgb(24, 24, 24);
}
 
.light-theme {
    --primary-color: rgb(207, 205, 205);
    --secondary-color: rgb(216, 216, 216);
    --lighter-color: rgb(236, 236, 236);
    --offset-color: #6e6d6d;
    --darker-color: rgb(85, 85, 85);
    --text-color: rgb(156, 155, 155);
    --text-shadow: rgb(167, 167, 167);
}

.Moon-theme {
    --primary-color: rgb(63, 63, 63);
    --secondary-color: rgb(99, 99, 99);
    --lighter-color: rgb(202, 202, 202);
    --offset-color: rgb(255, 255, 255);
    --darker-color: rgb(107, 107, 107);
    --text-shadow: rgb(54, 54, 54);
}

.mariana-theme {
    --primary-color: rgb(15, 15, 15);
    --secondary-color: rgb(7, 7, 7);
    --lighter-color: rgb(15, 15, 15);
    --offset-color: rgb(255, 255, 255);
    --darker-color: rgb(0, 0, 0);
    --text-shadow: rgb(24, 24, 24);
}

.ocean-theme {
    --primary-color: rgb(137, 188, 255);
    --secondary-color: rgb(0, 110, 255);
    --lighter-color: rgb(97, 165, 255);
    --offset-color: rgb(255, 255, 255);
    --darker-color: rgb(26, 67, 119);
    --text-color: rgb(89, 194, 255);
}

::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: var(--scroll-bar)
  }

  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--accent-color); 
    border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background: var(--accent-color); 
    border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color); 
  }


.normal-accent {
    --accent-color: #6A00FF;
    --brighter-accent-color: #e100ff;
    --bubble-1: #6A00FF;
    --bubble-1-shadow: #4c00b6;
    --bubble-2: #e100ff;
    --bubble-2-shadow: #9f00b4;
}



.red-accent {
    --accent-color: #ff0000;
    --brighter-accent-color: #ff0000;
    --bubble-1: #b90000;
    --bubble-1-shadow: #810000;
    --bubble-2: #ff0000;
    --bubble-2-shadow: #b10000;
}

.blue-accent {
    --accent-color: #0011ff;
    --brighter-accent-color: #0044ff;
    --bubble-1: #0011ff;
    --bubble-1-shadow: #000cb4;
    --bubble-2: #0044ff;
    --bubble-2-shadow: #002da8;
}

.yellow-accent {
    --accent-color: #fbff00;
    --brighter-accent-color: #c8ff00;
    --bubble-1: #fbff00;
    --bubble-1-shadow: #b3b600;
    --bubble-2: #c8ff00;
    --bubble-2-shadow: #8cb300;
}

.pink-accent {
    --accent-color: #cc00ff;
    --brighter-accent-color: #ff00d4;
    --bubble-1: #cc00ff;
    --bubble-1-shadow: #8f00b3;
    --bubble-2: #ff00d4;
    --bubble-2-shadow: #ac008f;
}

.green-accent {
    --accent-color: #33ff00;
    --brighter-accent-color: #00ff40;
    --bubble-1: #33ff00;
    --bubble-1-shadow: #23b100;
    --bubble-2: #00ff40;
    --bubble-2-shadow: #00af2c;
}

.black-accent {
    --accent-color: #000000;
    --brighter-accent-color: #313131;
    --bubble-1: #2c2c2c;
    --bubble-1-shadow: #1a1a1a;
    --bubble-2: #313131;
    --bubble-2-shadow: #131313;
}

body {
    height: 100%;

    
}


.pink-accent {
    --accent-color: #ff00ff;
}

body {
    background-color: var(--primary-color);
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(to right, #80808012 1px, transparent 1px),
      linear-gradient(to bottom, #80808012 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -2;
}
.navbutton {
    margin: 5px;
    padding: 0;
    width: 11%;
    height: 25px;
    border: 2px solid var(--accent-color);
    display: flex;
    text-align: center;
    align-items: center;
    border-radius: 5px;
    margin: 2px 10px 25px 0;
    margin-bottom: 0px;
    background: transparent;
    z-index: 8;
}


.navlogo {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-top: 5px;
    font-size: 125%;
    flex-wrap: nowrap;
    z-index: 7;
    position:fixed;
    width: min-content;
}

.navtext {
    font-family: Lemon;
    color: var(--accent-color);
    display:inline-block;
    transition-duration: 500ms;
    font-size: 100%;
    
}

.navtextt {
    width: 10%;
    height: 30px;
    font-family: Lemon;
    color: var(--accent-color);
    transition-duration: 500ms;
    display: flex;
    align-self: center;
    margin-bottom: 8px; 
    font-size: 100%;
}

li {
    list-style: none;
}

.navbarli {
    display:flex;
    list-style: none;
    width: 100%;  
}

.navimgg {
    width: 40px;
    height: 40px;
    margin-left: 3px;
    margin-right: 5px;
}

nav {
    display: flex;
    justify-content: center;
}

.navbarr {
    display: flex;
    background-color: var(--secondary-color);
    position: fixed;
    height: 50px;
    gap: 1%;
    margin-top: 10px;
    flex-direction: row;
    align-items: center;
    flex-wrap:nowrap;
    width: 90%;
    filter: drop-shadow(0 0 0.5rem black);
    z-index: 6;
    justify-content: center;
    margin-top: 10px;
    border-radius: 15px;
}



.navbar {
    display: flex;
    background-color: var(--secondary-color);
    position: fixed;
    height: 50px;
    gap: 1%;
    flex-direction: row;
    flex-wrap:nowrap;
    align-items: center;
}

.logoflex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
}

.time {
    font-family: Lemon;
    color: var(--accent-color);
    font-size: 20px;
}

.navbarr h1:last-child {
    margin-left: auto;
    margin-right: 20px;
}

.time {
    display: flex;
    justify-content: end;
    
}

.github {
    display: flex;
    justify-self: right;
    align-self: end;
    font-family: font;
    margin-bottom: 7px;
    font-size: 20px;
    color: var(--accent-color);
    transition-duration: 500ms;
}

.settingsimg {
    display: flex;
    justify-self: right;
    align-self: center;
    font-family: font;
    font-size: 20px;
    color: var(--accent-color);
    transition-duration: 500ms;
}

.github:hover {
    color: #fff;
}


.navimg {
    width: 20px;
    height: 20px;
    display: flex;
    align-self: center;
    margin-left: 5px;
}

.navbutton {
    transition-duration: 500ms;
    width: 140px;
    height: 50%;
    font-family: Lemon;
    color: var(--accent-color);
    transition-duration: 500ms;
}

.navbutton:hover {
    background-color: var(--accent-color);
    color: white;
    
}

.navtext:hover {
    color: white;
}

.navimg {
    transition-duration: 500ms;
}

.navbutton:hover .navimg {
    filter: brightness(0) invert(1);
}

.welcome {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    width: 60%;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    margin-left: 35px;
    margin-top: 10%;
    gap: 25px;
    font-family: font;

}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.welcometext {
    color: var(--accent-color);
    font-size: 40px;

}

.blank {
    background: transparent;
    text-align: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.button {
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 0.25rem;
}


.blank .button {
    color: var(--accent-color);
    width: 100%;
    height: 100%;
    transition-duration: 0.4s;
}

.blank .button:hover {
    background-color: var(--accent-color);
    width: 100%;
    height: 100%;
    color: white;
}

.gamecontainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
    gap: 3rem;
    z-index: 1;
    margin: 100px
    
}

img {
    width: 100%;
    height: 100%;
    overflow: clip;
    filter: saturate(150%);
}

@keyframes fade-out {
    from { display: block; height: 150px; width: 250px; }
    to { height: 150px; width: 250px; opacity: 0; }
  }

  @keyframes fade-in {
    from { display: block; height: 150px; width: 250px; opacity: 0; }
    to { height: 150px; width: 250px; opacity: 1; }
  }

.box {
    font-family: Lemon;
    background: var(--secondary-color);
    animation: fade-in 500ms;
    font-size: 15px;
    position: relative;
    color: #fff;
    box-shadow: rgba(3, 8, 20, 0.1) 0px 0.15rem 0.5rem, rgba(2, 8, 20, 0.1) 0px 0.075rem 0.175rem;
    height: 150px;
    width: 250px;
    padding: 0px;
    display: block;
    opacity: 1;
    transition: all 500ms;
    object-fit: fill;
    border-radius: 5px;
    filter: drop-shadow(0 0 0.01rem black);
}



.box-closed {
    animation: fade-out 500ms;
    display: none;
}

.box:hover {
        box-shadow: var(--accent-color) 0px 0.35em 2em, var(--accent-color) 0px 0.175em 0.5em;
        filter: drop-shadow(0 0 0.01rem var(--accent-color));
        border: solid 0.5px var(--brighter-accent-color);
        transform: scale(1.1);
        z-index: 1;
}

.content {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: transparent;
    display: flex;
    flex-direction: column-reverse;
    opacity: 0;
    transition: 500ms;
}

.content:hover {
    opacity: 1;
    background: rgba(0,0,0,0.2);
}

.title {
    color: white;
    font-family: montserrat, sans-serif;
    padding: 0;
    margin: 0;
}

.tags {
    color: white;
    font-family: montserrat, sans-serif;
    font-size: 15px;
    padding: 0;
    margin: 0;
}

.searchbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 100px;
 }

 .search {
    width: 25%;
    height: 25%;
    background-color: var(--secondary-color);
    border-radius: 5px;
    border: solid 3px var(--accent-color);
 }

 .search {
    height: 30px;
    text-align: center;
    color: var(--accent-color);
 }

 .search::placeholder {
    font-family: montserrat, sans-serif;
    color: var(--accent-color);
    font-size: 15px;
}

.frame {
    position: relative;
    width: 90%;
    height: 80%;
    z-index: 6;
    border-top: solid var(--accent-color);
    border-right: solid var(--accent-color);
    border-left: solid var(--accent-color);
    border-bottom: none;
    border-radius: 20px 20px 0px 0px;
}

.gamebarwrapper {
    width: 90%;
    height: 5%;
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    border: solid var(--accent-color);
    border-radius: 0px 0px 20px 20px;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
    gap: 3rem;
    z-index: 1;
}


.gamebar {
    display: flex;
    justify-content:flex-end;
    align-items: center;
    height: 100%;
    width: 100%;
    
}

.fullscreen {
    width: auto;
    padding: 0;
    height: auto;
    margin-right: 30px;
    max-width: 25px;
}

.gamebar .gamename {
    justify-content: flex-start;
    margin-left: 15px;
}

.wrapper {
    margin: 50px;
    border: 10px solid var(--secondary-color);
    color: solid var(--primary-color);
    position: relative;
    border-radius: 25px;
    z-index: 2;
    background-color: var(--primary-color);

}
.gamewrapper {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    gap: 1.5rem;
    height: 200px;
    position: relative;
    color: var(--primary-color);
    align-items: center;
    z-index: 1;
}

.gamewrapper2 {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    gap: 5rem;
    height: 200px;
    position: relative;
    align-items: center;
}

.viewall {
    margin: 5px;
    padding: 0;
    width: 200px;
    height: 25px;
    font-size: 75%;
    border: 2px solid var(--accent-color);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    border-radius: 5px;
    background: transparent;
    font-family: font;
    transition: 500ms;
    cursor: pointer;
}

.gametitle {
    display: flex;
    font-family: montserrat, sans-serif;
    color: var(--accent-color);
    transition: 500ms;
    align-items: center;
    flex-wrap: wrap;
}

.viewall:hover {
    background-color: var(--accent-color);
    color: white;
}


.gameholder {
    display: flex;
    width: 100%;
    height: 95%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
}

.frame {
    position: relative;
    width: 90%;
    height: 80%;
    z-index: 2;
    border: solid var(--accent-color);
    border-radius: 20px 20px 0px 0px;
}

.gamebarwrapper {
    width: 90%;
    height: 5%;
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    border: solid var(--accent-color);
    border-radius: 0px 0px 20px 20px;
}

.gamebar {
    display: flex;
    justify-content:flex-end;
    align-items: center;
    height: 100%;
    width: 100%;
    
}

.fullscreen {
    width: auto;
    margin-right: 15px;
    padding: 0;
    height: auto;
    max-width: 25px;
}

.gamebar .gamename {
    justify-content: flex-start;
}

.descholder {
    display: flex;
    flex-basis: 0;
    height: 90%;
    width: 90%;
    align-items: center;
    position: absolute;
    top: 0;
    gap: 3rem;
    font-family: font;
    justify-content: center;
}

.desc {
    background-color: var(--secondary-color);
    width: 25%;
    height: 40%;
    border-radius: 10px;
    position: relative;
    transition: 500ms;
    font-size: 25px;
    text-align: center;
    filter: drop-shadow(0 0 0.5rem black);
    font-family: nexa;
    color: var(--accent-color);
    opacity: 0;
    z-index: 1;
}


.controlls {
    background-color: var(--secondary-color);
    width: 25%;
    height: 25%;
    font-size: 25px;
    position: relative;
    border-radius: 10px;
    transition: 500ms;
    filter: drop-shadow(0 0 0.5rem black);
    font-family: nexa;
    color: var(--accent-color);
    opacity: 0;
    z-index: 1;
}

.gamename {
    font-family: Lemon;
    color: var(--accent-color);
    margin-left: 15px;
}

.gameimg {
    border-radius: 5px; 
}

.viewall {
    color: var(--accent-color);
}

.loading {
    font-family: font; 
    position: relative; 
    left: 50%;
    top: 50%;  
    transform: translate(-50%, -50%);
}

.xenapsis {
    font-size: 100px;
}

.settings:hover {
    filter: brightness(0) invert(1);
}

.unrescricteddiv {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 50%;
    height: 75%;
}

.unrescricted {
    width: 100%;
    font-family: font;
    color: var(--accent-color);
    font-size: 75px;
    margin-left: 20px;
    text-shadow: 5px 5px 0px var(--text-shadow);
}

.proxytext {
    font-family: nexa;
    color: var(--text-color);
    font-size: 25px;
    margin-left: 20px;
    margin-top: 10px;
}

.trailer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
}

.intro {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
}

.glow {
    -webkit-box-shadow:0px 0px 116px 0px var(--accent-color);
-moz-box-shadow: 0px 0px 116px 0px var(--accent-color);
box-shadow: 0px 0px 50px 0px var(--accent-color);
}

video {
    width: 560px;
    height: 315px;
}


@media only screen and (max-width: 1100px) {
    video {
        width: 420px;
        height: 236px;
    }

    .logoflex {
        display: none;
    }
    .time {
        display: none;
    }

    .unrescricted {
        font-size: 50px;
    }

    .trailer {
        margin-top: 100px
    }
}

@media only screen and (max-width: 770px) {
    
}