:root {
    --bg-1: rgb(21, 20, 39);
    --bg-2: rgb(0, 0, 0);
    --card-bg: rgba(27, 27, 44, 0.881);
    --card-bg-hover: rgb(33, 33, 56);
    --card-outline: rgba(255, 255, 255, 0.3);
    --text-primary: rgb(255, 255, 255);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glow: rgba(255, 255, 255, 0.5);
    --theme-option-hover: rgba(255, 255, 255, 0.1);
    --theme-option-active: rgba(255, 255, 255, 0.2);
    --toggle-bg: rgba(255, 255, 255, 0.2);
    --toggle-checked: rgba(255, 255, 255, 0.881);
    --select-bg: rgba(255, 255, 255, 0.1);
    --select-bg-hover: rgba(255, 255, 255, 0.15);
    --select-border: rgba(255, 255, 255, 0.3);
    --scrollbar-bg: linear-gradient(to bottom, rgb(21, 20, 39), rgb(0, 0, 0));
}

* {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "width" 100;
}

body {
    margin: 0;
    padding: 0;
    background-image: linear-gradient(to bottom, var(--bg-1), var(--bg-2));
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100dvw;
    overflow-x: hidden;
    height: 100dvh;
}

::-webkit-scrollbar {
    width: 7px;
    height: 0px;
    background-image: var(--scrollbar-bg);
}

::-webkit-scrollbar-track {
    background: #1f1f1f00;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.881);
    border-radius: 10px;
}

a {
    text-decoration: none;
}

p {
    padding-bottom: 5px;
    font-size: 26px;
    color: var(--text-primary);
}

h1 {
    display: flex;
    padding-bottom: 5px;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    color: var(--text-primary);
}

h2 {
    display: flex;
    padding-bottom: 5px;
    justify-content: center;
    align-items: center;
    font-size: 23px;
    color: var(--text-primary);
}

h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    color: var(--text-primary);
}

.italic {
  justify-content: center;
  align-items: center;   
  font-style: italic;
  display: flex;
  font-size: 18px;
  color: var(--text-primary);
}

.navbar {
    background-color: var(--card-bg);
    backdrop-filter: blur(1.5px);
    margin: 20px;
    display: flex;
    padding-top: 5px;
    padding-bottom: 5px;
    justify-content: center;
    align-items: center;
    height: 50px;
    z-index: 99999999999;
    border-radius: 15px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 98%;
    right: 0;
}

.navbar img {
    border-radius: 15px;
    width: 40px;
    height: 40px;
    margin: 6 7px;
    transition: 0.2s;
}

.navbar img:hover {
    transform: scale(1.25);
}

.navbar a {
    margin: 5px
}

.container {
  position: fixed;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  max-width: 1000px;
  height: 400px;
}

button {
    background-color: var(--card-bg);
    padding-top: 5px;
    padding-bottom: 5px;
    border: 0px solid rgb(19, 19, 19);
    justify-content: center;
    color: var(--text-primary);
    align-items: center;
    font-size: 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.2s;
    width: 250px;
    height: 60px;
}

button:hover {
    cursor: pointer;
    transform: scale(1.1);
    background-color: var(--card-bg-hover);
    outline: 3.5px solid var(--text-primary);
    box-shadow: 0 0 10px var(--glow);
}

.buttondiv {
    display: flex;
    justify-content: center;
    align-items: center;
}

.apps {
    margin-top: 30;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apps img {
    border-radius: 12px;
    width: 95px;
    height: 95px;
    margin: 6 7px;
    transition: 0.25s;
}

.apps img:hover {
    transform: scale(1.25);
    outline: 3.5px solid var(--text-primary);
    box-shadow: 0 0 10px var(--glow);
    filter: brightness(1.15);
}

.media img {
    border-radius: 15px;
    width: 180px;
    height: 180px;
    margin: 6 7px;
    transition: 0.25s;
    z-index: 5;
    object-fit: cover;
    background-color: var(--card-bg);
}

.media img:hover {
    z-index: 999;
    transform: scale(1.25);
    outline: 3.5px solid var(--text-primary);
    box-shadow: 0 0 10px var(--glow);
    filter: brightness(1.15);
}

.media {
    position: static;
    overflow: auto;
    text-align: center;
    padding: 100px;
}

.tooltip {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.881);
    backdrop-filter: blur(1.5px);
    color: black;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, transform 0.1s ease-in-out;
    transform: translateY(5px);
    z-index: 9999;
    text-transform: capitalize;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

#particles-js{
  width: 100%;
  height: 100%;
  background-position: 50% 50%;
  position: fixed;
  top: 0px;
  z-index:-1;
}

#grid-background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: 
        linear-gradient(var(--card-outline) 1px, transparent 1px),
        linear-gradient(90deg, var(--card-outline) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

#proxySearch {
    background-color: var(--card-bg);
    padding-top: 5px;
    padding-bottom: 5px;
    border: 0px solid rgb(19, 19, 19);
    justify-content: center;
    color: var(--text-primary);
    align-items: center;
    font-size: 16px;
    border-radius: 15px;
    text-align: center;
    transition: 0.2s;
    height: 45px;
    margin-bottom: 15px;
    padding: 5px;
    width: 535px;
}

#proxySearch:hover {
    cursor: pointer;
    background-color: var(--card-bg-hover);
    outline: 3.5px solid var(--text-primary);
    box-shadow: 0 0 10px var(--glow);
    width: 600px;
}

#proxySearch:focus {
    cursor: pointer;
    background-color: var(--card-bg-hover);
    outline: 3.5px solid var(--text-primary);
    box-shadow: 0 0 10px var(--glow);
    width: 600px;
}

#gameSearch {
    background-color: var(--card-bg);
    padding-top: 5px;
    padding-bottom: 5px;
    border: 0px solid rgb(19, 19, 19);
    justify-content: center;
    color: var(--text-primary);
    align-items: center;
    font-size: 16px;
    border-radius: 15px;
    text-align: center;
    transition: 0.2s;
    height: 45px;
    margin-bottom: 15px;
    padding: 5px;
    width: 535px;
}

#gameSearch:hover {
    cursor: pointer;
    background-color: var(--card-bg-hover);
    outline: 3.5px solid var(--text-primary);
    box-shadow: 0 0 10px var(--glow);
    width: 600px;
}

#gameSearch:focus {
    cursor: pointer;
    background-color: var(--card-bg-hover);
    outline: 3.5px solid var(--text-primary);
    box-shadow: 0 0 10px var(--glow);
    width: 600px;
}

.embed-container {
    top: 100px;
    width: 100dvw;
    height: calc(100vh - 120px);
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-frame{
    height: 100%;
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-title {
    padding: 0 10px;
    background-color: var(--card-bg);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    border-bottom: 2px solid var(--card-outline);
    color: var(--text-primary);
}

#game-title {
    text-transform: capitalize;
    color: var(--text-primary);
}

.buttonsforiframe img {
    border-radius: 15px;
    width: 30px;
    height: 30px;
    margin: 6 7px;
    transition: 0.2s;
}

.buttonsforiframe img:hover {
    transform: scale(1.25);
    cursor: pointer;
}

h4 {
    color: white;
}