/* ---- important stuff ---- */

@import url("https://fonts.googleapis.com/css?family=Imprima");
@font-face {
    font-family: 'Satoshi';
    src: url('Satoshi-Variable.ttf') format('truetype');
}

* {
    font-family: "Imprima";
    scrollbar-color: #000014;
}

:root {
    --color-blue-very-light: #e0f3ff;
    --color-blue-light: #99ccff;
    --color-blue-sky: #66b2ff;
    --color-blue: #3399ff;
    --color-blue-medium: #007bff;
    --color-blue-dark: #0056b3;
    --color-blue-darker: #003d80;
    --color-blue-deep: #001f3f;
    --color-blue-cyan: #00cfff;
    --color-blue-indigo: #3f51b5;
    --color-white: #ffffff;
    --color-off-white: #f0f8ff;
    --color-black: #000000;
}

body.dark-mode {
    --color-blue-very-light: #121c2b;
    --color-blue-light: #15294a;
    --color-blue-sky: #203656;
    --color-blue: #28456f;
    --color-blue-medium: #275c97;
    --color-blue-dark: #3973b0;
    --color-blue-darker: #295589;
    --color-blue-deep: #e0f3ff;
    --color-blue-cyan: #149dcc;
    --color-blue-indigo: #2477b7;
    --color-white: #0a0f1a;
    --color-off-white: #141f30;
    --color-black: #e6f4ff;
}

*::selection {
    background: var(--color-blue);
    color: #ffffff;
}

*::-moz-selection {
    background: var(--color-blue);
    color: #ffffff;
}

*::-webkit-selection {
    background: var(--color-blue);
    color: #ffffff;
}

body {
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 100%);
    transition: 0.5s;
    padding: 10px;
    overflow-x: hidden;
    scrollbar-color: #000014;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
text {
    color: var(--color-blue-deep);
    font-weight: bold;
    transition: 0.4s;
}

a {
    color: var(--color-blue-indigo);
    font-weight: bolder;
    transition: 0.4s;
}

hr {
    border-color: transparent;
}

.highlight-text {
    color: var(--color-blue-medium);
    font-weight: bolder;
    text-shadow: var(--color-blue-medium) 0px 0px 5px;
    transition: 0.4s;
}

.footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
}

.backdrop-blurred {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

input[type="text"] {
    display: flex;
    backdrop-filter: blur(10px) contrast(0.9);
    -webkit-backdrop-filter: blur(10px) contrast(0.9);
    text-align: center;
    font-weight: bold;
    background-color: transparent;
    border: var(--color-blue-light) solid;
    width: 20%;
    max-width: 500px;
    height: 50px;
    border-radius: 15px;
    transition: 0.4s ease;
    color: var(--color-blue-deep);
}

input[type="text"]:focus {
    outline: none;
    box-shadow: var(--color-blue-light) 0px 0px 13px;
}

button {
    transition: 0.4s;
    min-width: 100px;
    min-height: 45px;
    border-radius: 10px;
    border: transparent;
    background-color: transparent;
    color: var(--color-blue-deep);
    font-size: larger;
}

button:hover {
    background-color: var(--color-blue-medium);
    box-shadow: var(--color-blue-medium) 0px 0px 15px;
    color: var(--color-blue-very-light);
    cursor: pointer;
}

button i {
    transition: 0.4s all;
    color: var(--color-blue-deep);
}

button:hover i {
    color: var(--color-blue-very-light) !important;
}

button.active i {
    color: var(--color-blue-very-light) !important;
}

button.active {
    background-color: var(--color-blue-dark);
    box-shadow: var(--color-blue-dark) 0px 0px 15px;
    transition: 0.4s;
    color: var(--color-blue-very-light);
}

button.active:hover {
    background-color: var(--color-blue-medium);
    box-shadow: var(--color-blue-medium) 0px 0px 15px;
    color: var(--color-blue-very-light);
    cursor: pointer;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}


/* Hide default HTML checkbox */

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}


/* The slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--color-blue);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--color-blue);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

@keyframes loadInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}

canvas {
    display: block;
    vertical-align: bottom;
}

.text-center {
    text-align: center;
}

.navbar {
    position: sticky;
    z-index: 99999999;
    display: flex;
    top: 0%;
    width: 100%;
    height: 80px;
    border: var(--color-blue-light) solid;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
}

.navbar-items {
    display: flex;
    gap: 10px;
    padding: 10px;
    text-align: center;
    background-color: transparent;
    justify-content: center;
    align-self: center;
    justify-self: center;
}

.navbar-logo {
    display: flex;
    height: auto;
    width: 120px;
    padding: 2px;
    transition: 0.25s;
}

.navbar-logo:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.navbar-logo svg {
    height: 100%;
    width: 100%;
    transition: 0.25s;
}

.navbar-logo svg:hover {
    transform: scale(1.05);
}


/* ---- home page ---- */

.title {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    -ms-transform: translate(-50%, -70%);
    position: relative;
    text-align: center;
    animation: 1.25s ease-in-out 0s 1 loadInAnimation;
}


/* ---- games ---- */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    max-width: 96%;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--color-blue-light) solid;
    width: 100%;
    max-width: 500px;
    height: 50px;
    border-radius: 15px;
}

.search-container input {
    text-align: center;
    font-weight: bold;
    transition: 0.3s ease;
}

.search-container input:focus {
    box-shadow: var(--color-blue-light) 0px 0px 15px;
}

.search-container .search {
    width: 100%;
    max-width: 500px;
    height: 50px;
    border-radius: 10px;
    border: transparent;
    background: transparent;
    color: var(--color-blue-deep);
    outline: none;
}

.game {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    padding: 5px;
    /*border: var(--color-blue) solid;*/
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease-out forwards;
}

.game img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: var(--color-blue-light) solid;
    position: relative;
    overflow: hidden;
 
    
}

.game img:hover {
    cursor: pointer;
    
    transform:  perspective(500px) scale(1.07) translateY(-5px) rotateY(-10deg);


    
}

.game p {
    margin: 0;
    position: static;
    z-index: 3;
    padding: 10px;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}


/* ---- settings ---- */

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#tabs-container {
    animation: slideFadeIn 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.card-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.settings-card {
    animation: slideUp 0.5s ease-out;
    opacity: 1;
}

.settings-card {
    border: var(--color-blue-light) solid;
    width: 320px;
    height: 310px;
    border-radius: 10px;
    display: flex;
    padding: 10px;
    flex-direction: column;
}


/*--------- Proxy -----------*/

iframe {
    width: 100vw;
    height: 100vh;
    margin: 0;
}

.game-frame {
    width: 100%;
    height: 100%;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #fff;
    text-align: center;
    z-index: -1;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    z-index: -1;
    border: 5px solid var(--button);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.proxy-bar {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
    width: 100%;
    flex-direction: row;
    padding: 5px;
}

.proxy-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.prxybtn {
    transition: 0.4s;
    min-width: 45px;
    min-height: 45px;
    max-width: 45px;
    max-height: 45px;
    border-radius: 10px;
    border: var(--color-blue) solid;
    background-color: var(--color-blue-sky);
    color: var(--color-blue-deep);
    font-size: larger;
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;
}

.prxybtn:hover {
    background-color: var(--color-blue);
    border-color: var(--color-blue-medium);
    box-shadow: var(--color-blue) 0px 0px 15px;
    cursor: pointer;
}

.nite {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}