body {
    justify-content: center;
    align-items: center;
    margin: 0;
    background: linear-gradient(0.05turn, #0f0f0f, #303030, #4e4e4e);
    caret-color: #fff;
    cursor: url('i/mouse/arrow.png') 16 16, auto;
    animation: Fade 1s ease forwards;
    align-items
}

.navparent {
    pointer-events: none; 
    top: 0;
    left: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 2.5vw;
    height: 100vh;
    z-index: 5;
    color: #fff;
}

.nav {
    padding: 5px;
    pointer-events: auto; 
    z-index: 5;
    border: 2px solid #ffffff10;
    background-color: black;
    border-radius: 15px;
    background: #00000018;
    backdrop-filter: blur(10px) saturate(100%) brightness(100%);
    transition: transform 0.5s ease; 
}

.nav img {
    z-index: 5;
    padding: 2.5px;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 2px solid #ffffff10;
    border-radius: 15px;
    background: #00000005;
    max-width: auto;
    height: 7vh;
    transition: background-color 0.25s ease;
    transition: transform 0.5s ease; 
}

.selected img {
    z-index: 5;
    padding: 2.5px;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 2px solid #ffffff10;
    border-radius: 15px;
    background: #ffffff90;
    max-width: auto;
    height: 7vh;
    transition: background-color 0.25s ease;
    transition: transform 0.5s ease;
}

.nav img:hover {
    transform: scale(1.1);
    background-color: #b8c7d490;
    cursor: url('i/mouse/circle.png') 16 16, auto;
}

.selected img:hover {
    transform: scale(1.1);
    background: #ffffff90;
    cursor: url('i/mouse/circle.png') 16 16, auto;
}

.titleparent {
    font-family: Lato;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.titleparent h1 {
    font-size: 120px;
    font-weight: bold;
    transition: transform 0.5s ease;
    animation: Fade 1s ease forwards;
    text-shadow: 0 0 20px white;
                 0 0 70px white;
                 0 0 150px white;
}

.titleparent h1:hover {
    transform: translateY(-10px) scale(1.05);
}

.disclaimer {
    color: white;
    font-size: 20px;
    font-weight: bold;
    font-family: Lato;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: transform 0.5s ease;
    text-shadow: 0 0 20px white;
                 0 0 70px white;
                 0 0 150px white;
}

.disclaimer:hover {
    transform: translateY(-5px);
}

.end {
    color: white;
    transition: transform 0.5s ease;
    font-size: 25px;
    padding: 20px;
    font-weight: bold;
    font-family: Lato;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    text-shadow: 0 0 20px white;
                 0 0 70px white;
                 0 0 150px white;
}

.end:hover {
    transform: translateY(-10px);
}

.settingsparent {
    font-family: Lato;
    font-weight: bold;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    text-shadow: 0 0 20px white;
                 0 0 70px white;
                 0 0 150px white;
}

.settingsparent h1 {
    font-size: 55px;
    margin-bottom: 20px;
}

.settingsparent h2 {
    font-size: 40px;
}

.settingsparent h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.settingsparent h4 {
    font-size: 20px;
    margin-bottom: 1px;
}

.toggleStatus {
    margin-bottom: 10px;
}



.extras {
    pointer-events: none; 
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
}

.extras a {
    pointer-events: auto; 
    border-radius: 10px;
    margin: 10px;
    width: 75px;
    height: 35px;
    font-family: Lato;
    font-size: 15px;
    bottom: 0;
    right: 0;
    border: 2px solid #ffffff50;
    color: #fff;
    background: #00000020;
    text-decoration: none;
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: absolute;
}

.extras a:hover {
    transform: scale(1.1);
}

.gameDisplayParent {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.actuallDisplay {
    margin-left: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: absolute;
    width: 89%;
    height: 89%;
    background: #ffffff10;
    border: 2px solid #ffffff90;
    border-radius: 10px;
}

.actuallDisplay iframe {
    top: 0;
    left: 0;
    margin: 1px;
    width: 99.5%;
    height: 99.5%;
    background: #ffffff80;
    border: 2px solid #ffffff10;
    border-radius: 10px;
}

.extraThings {
    display: flex;
    pointer-events: none; 
    flex-direction: column;
    align-items: right;
    text-align: center;
    justify-content: center;
    position: absolute;
    top: 0;
    width: 100%;
    background: #ffffff00;
    height: 15%;
}

.extraThings button {
    transition: transform 0.25s ease;
    pointer-events: auto; 
    width: 50px;
    height: 50px;
    margin-left: 12.5px;
    border-radius: 10px;
    background: #07070790;
    border: 2px solid #ffffff50;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.extraThings img {
    transition: transform 0.25s ease;
    max-width: auto;
    height: 35px;
}

.extraThings button:hover {
    cursor: url('i/mouse/circle.png') 16 16, auto;
    transform: scale(1.1);
}

.proxDisplay {
    margin-left: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: absolute;
    width: 89%;
    height: 89%;
    background: #ffffff00;
    border: 2px solid #ffffff00;
    border-radius: 10px;
}

.proxDisplay iframe {
    top: 0;
    left: 0;
    margin: 1px;
    width: 99.5%;
    height: 99.5%;
    background: #ffffff00;
    border: 2px solid #ffffff00;
    border-radius: 10px;
}

.proxextraThings {
    display: flex;
    pointer-events: none; 
    flex-direction: column;
    align-items: right;
    text-align: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #ffffff00;
    height: 15%;
}

.proxextraThings button {
    transition: transform 0.25s ease;
    pointer-events: auto; 
    width: 50px;
    height: 50px;
    margin-left: 12.5px;
    border-radius: 10px;
    background: #07070750;
    border: 2px solid #ffffff50;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.proxextraThings img {
    transition: transform 0.25s ease;
    max-width: auto;
    height: 35px;
}

.proxextraThings button:hover {
    cursor: url('i/mouse/circle.png') 16 16, auto;
    transform: translateY(-10px) scale(1.05);
}

#gamesearch {
    display: flex;
    margin-top: 50px;
    color: #fff;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#search-input {
    border: 2px solid #ffffff80;
    color: #fff;
    border-radius: 10px;
    background: #00000010;
    outline: none;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 10px;
    width: 30vw;
    font-size: 20px;
    font-family: Lato;
    transition: transform 0.5s ease, width 0.5s ease;
    animation: Fade 1s ease forwards;
}

#search-input:focus {
    width: 35vw;
    cursor: url('i/mouse/circle.png') 16 16, auto;
    outline: none;
}

#search-input:hover {
    cursor: url('i/mouse/circle.png') 16 16, auto;
    transform: scale(1.1);
}

#search-input::placeholder {
    color: #ffffff50;
}

#gamegrid {
    list-style-type: none;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
    margin-right: 20vw;
    margin-left: 19vw;
    animation: Fade 1s ease forwards;
}

#gamegrid li a {
    width: 145px;
    height: 145px;
    border-radius: 10px;
    animation: Fade 1s ease forwards;
    display: block;
    text-decoration: none;
    font-size: 0px;
}

#gamegrid a {
    border: 5px, solid white;
    animation: Fade 1s ease forwards;
    padding: 5px;
    border-radius: 10px;
    background: #00000005; 
    backdrop-filter: blur(10px) saturate(100%) brightness(100%);
    transition: transform 0.1s ease;
}

#gamegrid img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    animation: Fade 1s ease forwards;
    display: block;
}

#gamegrid a:hover {
    transform: translateY(-10px) scale(1.05);
    cursor: url('i/mouse/circle.png') 16 16, auto;
}

#randomText {
    font-size: 25px;
    margin-bottom: 10vh;
    font-weight: bold;
    color: white;
    transition: transform 0.5s ease;
    animation: Fade 1s ease forwards;
    text-shadow: 0 0 10px white;
                 0 0 50px white;
                 0 0 100px white;
}

#randomText:hover {
    transform: translateY(10px) scale(1.05);
}

#theme-select {
    font-size: 20px;
    border-radius: 10px;
    background: #00000050;
    color: white;
    animation: Fade 1s ease forwards;
    font-weight: bold;
    font-family: Lato;
    padding: 10px;
    transition: font-size 0.5s ease;
    margin-top: 10px;
}

#theme-select:hover {
    font-size: 25px;
    cursor: url('i/mouse/circle.png') 16 16, auto;
}

#theme-select:focus {
    outline: none;
    cursor: url('i/mouse/circle.png') 16 16, auto;
}

#theme-select option {
    font-size: 15px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-family: Lato;
}

#antiCloseToggle {
    width: 50px;
    height: 50px;
    margin-top: 10px;
    padding: 10px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 10px;
    font-size: 20px;
    background: #00000050;
    transition: transform 0.5s ease;
    animation: Fade 1s ease forwards;
    font-weight: bold;
    font-family: Lato;
    border: 2px solid #ffffff10;
}

#antiCloseToggle:hover {
    transform: scale(1.2);
    cursor: url('i/mouse/circle.png') 16 16, auto;
}

#antiCloseToggle:checked {
    background: #ffffff10;
    
}

#myIframe:-webkit-full-screen { width: 100%; height: 100%; }
#myIframe:-moz-full-screen { width: 100%; height: 100%; }
#myIframe:-ms-fullscreen { width: 100%; height: 100%; }
#myIframe:full-screen { width: 100%; height: 100%; }

@keyframes Fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}