/*Font Import*/
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

* {
    margin: 0;
    padding: 0;
}

button,
a,
input {
    cursor: pointer;
    font-family: 'Josefin Sans',
    sans-serif;
}

/*Base Screen Size : 1920x1080*/

body {
    width: 100vw;
    height: 100vh;
    /*background-image: linear-gradient(to bottom, #2E1A47, #111133, #04051a);*/
    /*background-image: linear-gradient(to bottom, #000, #000, #000, #000, #000, #000, #000, #008, #00f);*/
    /*background-image: linear-gradient(to bottom, #000, #04051a);*/
    background-color: #000;
    overflow: hidden;
    position: fixed;
    font-family: 'Josefin Sans',
        sans-serif;
    user-select: none;
    transition-duration: .5s;
}

html {
    overflow: hidden;
}

.background {
    width: 3840px;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(../img/sprites/background/BackgroundPureStarII.png);
    animation-name: moveBckg;
    animation-duration: 40s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.cityBackground {
    width: 3840px;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(../img/sprites/background/city.png);
    animation-name: moveBckg;
    animation-duration: 40s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes moveBckg {
    from {
        left: 0
    }

    to {
        left: -1920px
    }
}

.player {
    width: 100px;
    height: 100px;
    background-image: url(../img/sprites/skins/normal/Flying.gif);
    background-position: center;
    background-size: 90%;
    background-repeat: no-repeat;
    position: absolute;
    left: 150px;
    top: 45%;
    border-radius: 100%;
    z-index: 999;
}

.totalCollision .player {
    border: 1px solid #008;
}

.inv {
    width: 120px;
    height: 120px;
    background-image: url(../img/sprites/animations/invencible/SInv.gif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: none;
}

.pinv {
    background-image: url(../img/sprites/animations/invencible/StopInv.png);
}

/*.player .trail {
    width: 150px;
    height: 80px;
    position: absolute;
    left: -110px;
    top: 10px;
    background-image: linear-gradient(to right, #0000, #f0f0f033, #f0f0f0);
    z-index: -1;
    display: none;
}*/

.trail {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 150px;
    top: 46%;
    animation-name: trailLine;
    animation-duration: 1s;
    animation-timing-function: linear;
    border-radius: 100%;
    z-index: 0;
    background-image: url(../img/sprites/skins/normal/Flying.gif);
    background-position: center;
    background-size: 90%;
    background-repeat: no-repeat;
}

@keyframes trailLine {
    from {
        left: 150px;
        opacity: 1;
    }

    to {
        left: 20px;
        opacity: 0;
    }
}

.playerPaused {
    background-image: url(../img/sprites/skins/normal/Stopped.png);
}

.paused .trail {
    animation-play-state: paused;
    background-image: url(../img/sprites/skins/normal/Stopped.png);
}


.deathAnim {
    animation-name: toEarth;
    animation-duration: 3s;
    animation-timing-function: linear;
}

@keyframes toEarth {
    from {
        left: 150px;
        rotate: 0deg
    }

    to {
        left: 750px;
        rotate: 1800deg;
        top: calc(100% + 200px);
    }
}

.upping {
    background-image: url(../img/sprites/skins/normal/Upping.png);
    animation-name: uppingGhost;
    animation-duration: .58s;
}

@keyframes uppingGhost {
    0% {
        background-image: url(../img/sprites/skins/normal/Upping.gif);
    }

    100% {
        background-image: url(../img/sprites/skins/normal/Upping.gif);
    }
}

.falling {
    background-image: url(../img/sprites/skins/normal/Falling.png);
    animation-name: fallingGhost;
    animation-duration: .8s;
}

@keyframes fallingGhost {
    0% {
        background-image: url(../img/sprites/skins/normal/Falling.gif);
    }

    100% {
        background-image: url(../img/sprites/skins/normal/Falling.gif);
    }
}

.fire {
    background-image: url(../img/sprites/skins/normal/Fire.gif);
    border-radius: 0;
}

.relaxing {
    background-image: url(../img/sprites/skins/normal/Relaxing.gif);
    animation: relaxGhost 2s linear;
}

@keyframes relaxGhost {
    40% {
        box-shadow: none;
    }

    60% {
        box-shadow: 0px 0px 20px 10px #F0F0F0;
    }

    100% {
        box-shadow: none;
    }
}

.shield {
    border: 2px solid #0632ff;
    outline: 2px solid #0af;
    box-shadow: 0px 0px 10px 4px #0ef;
    background-color: #0632ff33;
}

.totalCollision .shield {
    border: 3px solid yellow
}

.hShield {
    opacity: .5
}

.hurted {
    animation-name: hurting;
    animation-duration: 1s;
    animation-timing-function: linear;
}

@keyframes hurting {
    0% {
        rotate: 0deg;
        opacity: .5
    }

    50% {
        opacity: 1
    }

    80% {
        rotate: 720deg;
        opacity: .5;
        left: 0
    }

    100% {
        rotate: 720deg;
        left: 150PX;
    }
}

.meteor {
    position: absolute;
    left: 120%;
    TOP: 50%;
    animation-name: meteorMove;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    background-size: cover;
    background-position: center;
}

/*1920x1080px display: Meteor size*/
.mt1 {
    width: 40px;
    height: 40px;
    background-image: url(../img/sprites/meteorSprites/type1.png);
}

.totalCollision .mt1,
.totalCollision .mt2,
.totalCollision .mt3 {
    border: 1px solid #800
}

.mt2 {
    width: 62px;
    height: 62px;
    background-image: url(../img/sprites/meteorSprites/type2.png);
}

.mt3 {
    width: 125px;
    height: 125px;
    background-image: url(../img/sprites/meteorSprites/type3.png);
}


@keyframes meteorMove {
    from {
        left: 120%;
    }

    to {
        left: -20%;
    }
}

#m2 {
    animation-delay: .4s;
}

#m3 {
    animation-delay: 1s;
}

#m4 {
    animation-delay: 1.2s;
}

#m5 {
    animation-delay: .6s;
}

#m6 {
    animation-delay: .9s;
}

#m7 {
    animation-delay: 1.3s;
}

.pauseContainer {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -130%;
    backdrop-filter: grayscale();
    background-color: #f0f0f022;
    z-index: 2;
}

.pauseAlert {
    width: 25vw;
    height: 100vh;
    position: absolute;
    right: -25%;
    top: 0;
    background-color: #008;
    color: white;
    transition-duration: .4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.pauseAlert .pauseTextAlt {
    position: absolute;
    top: 20px;
    font-size: 40px;
    font-weight: bolder;
}

.pauseAlert button {
    width: 90%;
    height: 40px;
    margin: 10px 0;
    background-color: #101720;
    border: 1px solid #011222;
    border-radius: 4px;
    color: white;
    transition-duration: .2s;
    font-size: 20px;
    box-sizing: border-box;
}

.pauseAlert button:hover {
    background-color: #011222;
    border: 1px solid #0632ff
}

.pauseAlert .pauseAnim {
    position: absolute;
    right: 25vw;
    top: 0;
    width: 50px;
    height: 2160px;
    animation-name: animPauseLine;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    background-size: cover;
    background-position: center;
    background-image: url(../img/sprites/animations/pause/Pause2.png);
}

@keyframes animPauseLine {
    from {
        top: 0;
    }

    to {
        top: -1080px;
    }
}


.boost {
    width: 48px;
    height: 48px;
    position: absolute;
    animation: boost 10s linear infinite;
    background-size: cover;
    background-position: center;
}

.totalCollision .boost {
    border: 1px solid #080
}

.shieldBoost {
    background-image: url(../img/sprites/Items/shieldBoost.png);
}

.lifeBoost {
    background-image: url(../img/sprites/Items/lifeBoost.png);
}

.SlifeBoost {
    background-image: url(../img/sprites/Items/SlifeBoost.png);
}

.acceleratorBoost {
    background-image: url(../img/sprites/Items/acceleratorBoost.png);
}

.invBoost {
    background-image: url(../img/sprites/Items/invBoost.png);
}

.gunBoost {
    background-image: url(../img/sprites/Items/gunBoost.png)
}

.relaxBoost {
    background-image: url(../img/sprites/Items/relaxBoost.png);
}

.vanishBoost {
    background-image: url(../img/sprites/Items/vanishBoost.png);
}

.speedBoost {
    background-image: url(../img/sprites/Items/speedBoost.png);
}

.waitStts {
    background-image: url(../img/sprites/Items/loadingBoost.gif);
    width: 37px;
    height: 37px;
    background-size: cover;
    background-position: center;
    margin-left: 5px;
}

.pausedSR .waitStts {
    background-image: url(../img/sprites/Items/loadingBoost.png);
}

.okayStts {
    background-image: url(../img/sprites/Items/loadedBoost.png);
    width: 37px;
    height: 37px;
    background-size: cover;
    background-position: center;
    margin-left: 5px;
}

@keyframes boost {
    0% {
        left: 120%
    }

    40% {
        left: -50px;
    }

    100% {
        left: -60px;
    }
}

#disclaimer {
    width: 80vw;
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
    margin: 0 auto;
    background-color: #000;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
}

#disclaimer span {
    font-size: 30px;
    font-weight: bolder;
}

#disclaimer button {
    padding: 2px 20px;
    width: 120px;
    height: 40px;
    font-size: 20px;
    border-radius: 120px;
    background-color: #252525;
    border: 1px solid #202020;
    color: white;
    transition-duration: .4s;
}

.lightMode #disclaimer button {
    background-color: #d9d9d9;
    border: 1px solid #d0d0d0;
    color: black;
}

#disclaimer button:hover {
    border-color: #0632ff;
}

#disclaimer .waveGhost {
    width: 100px;
    height: 100px;
    background-position: center;
    background-size: cover;
    background-image: url(../img/sprites/animations/waving/waving.gif);
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#homeScreen {
    width: 100vw;
    height: 100vh;
    /*background-image: linear-gradient(to bottom, #000, #000, #000, #000, #000, #000, #000, #008, #00f);*/
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-direction: column;
    display: none;
    color: white;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
    background-color: #000512;
}

.lightMode #homeScreen {
    background-color: rgb(177, 177, 255);
}

.homeAnimation {
    width: 55%;
    height: 90%;
    position: absolute;
    top: 5%;
    right: 2.5%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #0632ff;
    background-color: #000;
    z-index: 998;
}

#fullscreenAnimation {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: transparent;
    border: none;
    color: white;
    z-index: 999;
    font-size: 50px;
    opacity: .2;
    transition-duration: .2s;
}

#fullscreenAnimation:hover {
    opacity: 1;
}

#spatialModeAnimation {
    background-color: #000;
}

#spatialXtremeModeAnimation .biome7 {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -10%;
}

#runnerModeAnimation {
    background-image: linear-gradient(to bottom, #000 ,  #0632ff66 , #8706d466);
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.interference {
    background-image: url(../img/non-sprites/backgrounds/interference.gif);
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.playGame {
    width: 40%;
    position: absolute;
    bottom: -140px;
    left: 1.1%;
    background-color: #191919;
    height: 120px;
    border-radius: 8px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 2;
    transition-duration: .3s;
    border: 1px solid #191919;
}

.playGameAlert {
    width: 40%;
    position: absolute;
    bottom: -140px;
    left: 1.1%;
    background-color: #500000;
    border-radius: 8px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 2;
    transition-duration: .5s;
    border: 1px solid #500000;
    font-size: 20px;
    padding: 10px 0;
}

.lightMode .playGame {
    background-color: #c9c9c9;
    border: 1px solid #c9c9c9;
    color: black;
}

.lightMode .playGameAlert {
    background-color: #fc3a3a;
    border-color: #fc3a3a;
    color: black;
}

.playersContainer p {
    font-size: 20px;
    margin-bottom: 5px;
}

.playersContainer div {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    align-items: center;
}

.playersContainer input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #000;
    transition-duration: .2s;
}

.lightMode .playersContainer input[type="radio"] {
    background-color: #fff;
}

.playersContainer input[type="radio"]:checked {
    border: 3px solid #0632ff
}

.alignHomeButtons .playGame .startGame {
    width: auto;
    padding: 10px 20px;
    border-radius: 120px;
    margin-left: 0;
    box-sizing: border-box;
}

.alignHomeButtons .playGame .startGame:hover {
    margin-left: 0;
    border: 1px solid #0632ff
}

#homeScreen img {
    width: 300px;
    height: 300px;
    z-index: 100;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    filter: drop-shadow(0px 0px 10px #fff);
}

.lightMode #homeScreen img {
    filter: invert(100%);
}

@keyframes appearPages {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.alignHomeButtons {
    width: 40%;
    height: 100%;
    gap: 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    z-index: 2;
    overflow: auto;
    padding: 20px 0;
    transition-duration: .3s;
    margin-left: 0px;
}

.alignHomeButtons.gameSelectControls {
    margin-left: -40%;
    display: none;
}

.alignHomeButtons button {
    padding: 20px;
    font-size: 20px;
    border-radius: 0 20px 20px 0;
    background-color: #252525;
    border: 1px solid #202020;
    color: white;
    transition-duration: .2s;
    z-index: 1;
    width: 100%;
    margin-left: -40px;
 
}

.lightMode .alignHomeButtons button {
    background-color: #d9d9d9;
    border: 1px solid #d0d0d0;
    color: black;
}

.alignHomeButtons button:hover {
    margin-left: -20px;
}

.alignHomeButtons button:active {
    margin-left: 0px;
}


.alignHomeTitles {
    width: 90%;
    padding: 20px 10px;
    font-size: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightMode .alignHomeTitles {
    color: black;
}

.alignHomeTitles .lBackPage {
    width: 60px;
    height: 60px;
}

.pseudoLink {
    font-size: 20px;
    margin-top: 10px;
    color: rgb(177, 177, 255);
    padding-left: 20px;
}

.lightMode .pseudoLink {
    color: #000512;
}

.pseudoLink:hover {
    cursor: pointer;
}

#homeButtons {
    margin-top: 300px;
}

#gameButtons {
    padding-bottom: calc(5% + 100px);
}

.alignHomeButtons::-webkit-scrollbar {
    width: 0;
}

#gameName {
    align-self: center;
    position: fixed;
    top: 0;
}


#homeScreen .background,
#homeScreen .cityBackground {
    z-index: 0;
    animation-duration: 8s;
}

#homeScreen .earthCloud,
.devKeysCentral .earthCloud {
    top: auto;
    bottom: 0px;
    animation-name: moveBckg;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.version {
    font-size: 30px;
    font-weight: bolder;
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
}

.lightMode .version {
    color: black;
}

#homeScreen .version {
    position: initial;
    margin-left: 10px;
}

.homeGhost1,
.homeGhost2 {
    width: 100px;
    height: 100px;
    background-image: url(../img/sprites/skins/normal/Flying.gif);
    background-position: center;
    background-size: 90%;
    background-repeat: no-repeat;
    position: absolute;
    top: 10%;
    border-radius: 100%;
    transition-duration: .2s;
}

.homeGhost1::hover,
.runningGhost1::hover {
    filter: drop-shadow(0px 0px 10px #008dfe);
}

.runningGhost1,
.runningGhost2 {
    width: 100px;
    height: 100px;
    background-image: url(../img/sprites/skins/normal/Flying.gif);
    background-position: center;
    background-size: 90%;
    background-repeat: no-repeat;
    position: absolute;
    border-radius: 100%;
    transition-duration: .2s;
    left: 1%;
}

.runningGhost1 {
    top: 80%;
    animation: running1 10s linear infinite;
}

.runningGhost2 {
    top: 67%;
    animation: running2 10s linear infinite;
}

@keyframes running1 {
    0% {
        left: 0;
    }

    10% {
        left: 20%;
        top: 80%;
    }

    11% {
        top: 67%;
    }

    30% {
        top: 67%;
        left: 40%;
    }

    31% {
        top: 80%;
    }

    60% {
        left: 40%;
    }

    79% {
        left: 40%;
        rotate: 0deg;
        background-image: url(../img/sprites/skins/normal/Flying.gif);
    }

    80% {
        rotate: 90deg;
        left: 40%;
        background-image: url(../img/sprites/skins/normal/Stopped.png);
    }

    90% {
        rotate: 90deg;
        left: 1%;
        background-image: url(../img/sprites/skins/normal/Stopped.png);
    }

    91% {
        left: 1%;
        rotate: 0deg;
        background-image: url(../img/sprites/skins/normal/Flying.gif);
    }
}

@keyframes running2 {
    0% {
        left: 0;
    }

    10% {
        top: 67%;
    }

    11% {
        top: 80%;
    }

    30% {
        top: 80%;
        left: 80%;
    }

    31% {
        top: 67%;
        transform: scaleX(1);
    }

    32% {
        transform: scaleX(-1);
    }

    60% {
        left: 40%;
    }

    79% {
        left: 20%;
    }

    91% {
        left: 1%;
        transform: scaleX(-1);
    }

    92% {
        transform: scaleX(1);
    }
}

.homeGhost1 {
    animation: floatHome 10s linear infinite;
}

.homeGhost2 {
    animation: floatHome2 8s linear infinite;
}

.totalCollision .homeGhost1,
.totalCollision .homeGhost2 {
    border: 1px solid #888
}

@keyframes floatHome {
    0% {
        top: 10%;
        left: -130px;
    }

    10% {
        top: 20%
    }

    20% {
        top: 40%;
    }

    30% {
        top: 30%;
    }

    40% {
        top: 10%;
    }

    50% {
        top: 5%;
    }

    60% {
        top: 10%;
    }

    70% {
        top: 30%;
    }

    80% {
        top: 50%;
    }

    90% {
        top: 40%;
    }

    100% {
        top: 10%;
        left: 120%
    }
}

@keyframes floatHome2 {
    0% {
        top: 40%;
        left: -130px;
    }

    10% {
        top: 30%
    }

    20% {
        top: 10%;
    }

    30% {
        top: 20%;
    }

    40% {
        top: 30%;
    }

    50% {
        top: 2%;
    }

    60% {
        top: 15%;
    }

    70% {
        top: 40%;
    }

    80% {
        top: 50%;
    }

    90% {
        top: 30%;
    }

    100% {
        top: 20%;
        left: 120%
    }
}


.roundHome {
    rotate: 180deg
}

.flipHome {
    transform: scaleX(-1);
}

.returnHome {
    background-image: url(../img/sprites/navButtons/white/backHome.png);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    z-index: 999;
}

.returnGame {
    background-image: url(../img/sprites/navButtons/white/backGame.png);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
}


#soloMode {
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
    width: 100vw;
    height: 100vh;
    background-size: cover;
}

/*Biomes*/

.biome0 {
    background-image: url(../img/non-sprites/biomesGradient/biome0.png);
    transition-duration: .5s;
}

.biome1 {
    /*background-image: linear-gradient(to bottom, #000, #052707);*/
    background-image: url(../img/non-sprites/biomesGradient/biome1.png);
    transition-duration: .5s;
}

.biome2 {
    /*background-image: linear-gradient(to bottom, #000, #5b330d);*/
    background-image: url(../img/non-sprites/biomesGradient/biome2.png);
    transition-duration: .5s;
}

.biome3 {
    /*background-image: linear-gradient(to bottom, #000, #05181f);*/
    background-image: url(../img/non-sprites/biomesGradient/biome3.png);
    transition-duration: .5s;
}

.biome4 {
    /*background-image: linear-gradient(to bottom, #000, #102273);*/
    background-image: url(../img/non-sprites/biomesGradient/biome4.png);
    transition-duration: .5s;
}

.biome5 {
    /*background-image: linear-gradient(to bottom, #000, #590d2a);*/
    background-image: url(../img/non-sprites/biomesGradient/biome5.png);
    transition-duration: .5s;
}

.biome6 {
    /*background-image: linear-gradient(to bottom, #000, #410d5d);*/
    background-image: url(../img/non-sprites/biomesGradient/biome6.png);
    transition-duration: .5s;
}

.biome7 {
    /*background-image: linear-gradient(to bottom, #000, #510c0c);*/
    background-image: url(../img/non-sprites/biomesGradient/biome7.png);
    transition-duration: .5s;
}

.biome8 {
    /*background-image: linear-gradient(to bottom, #000, #57570c);*/
    background-image: url(../img/non-sprites/biomesGradient/biome8.png);
    transition-duration: .5s;
}

.biome9 {
    /*background-image: linear-gradient(to bottom, #000, #0d5858);*/
    background-image: url(../img/non-sprites/biomesGradient/biome9.png);
    transition-duration: .5s;
}

.biome10 {
    /*background-image: linear-gradient(to bottom, #000, #f0f8ff);*/
    background-image: url(../img/non-sprites/biomesGradient/biome10.png);
    transition-duration: .5s;
}

#soloScoreMark {
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(to bottom, #008, #00f, #00f, #00f, #40f, #70f);
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
}

.ghostScore {
    width: 100px;
    height: 100px;
    background-image: url(../img/sprites/skins/normal/Flying.gif);
    background-position: center;
    background-size: 90%;
    background-repeat: no-repeat;
    position: absolute;
    top: 83%;
    border-radius: 100%;
    animation: floatScore 10s linear infinite;
    transition-duration: .2s;
    z-index: 1;
}

@keyframes floatScore {
    0% {
        left: 10%;
    }

    50% {
        left: 90%;
        transform: scaleX(1)
    }

    51% {
        left: 90%;
        transform: scaleX(-1)
    }

    99% {
        left: 10%;
        transform: scaleX(-1)
    }

    100% {
        left: 10%;
        transform: scaleX(1)
    }
}

.soilContainer {
    width: 100%;
    height: 50px;
    display: flex;
    position: fixed;
    bottom: 0;
}

.soil {
    width: 20%;
    height: 50px;
    background-image: url(../img/sprites/background/Soil.png);
    background-size: cover;
    background-position: top;
    position: relative;
}

.clouds {
    width: 3840px;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(../img/sprites/background/cloudsBckg.png);
    animation-name: moveBckg;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.soloScore {
    width: 50%;
    margin: 0 25%;
    padding: 10px 5px 5px 5px;
    position: absolute;
    top: -100%;
    background-color: #444a;
    border-radius: 8px;
    color: white;
    transition-duration: .5s;
    z-index: 12;
}

.soloScore h1 {
    margin-top: 10px;
    text-align: center;
}

.soloScore .goButtons {
    width: 100%;
    margin: 15px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.goButtons button {
    padding: 5px 20px;
    font-size: 20px;
    border-radius: 120px;
    background-color: #252525;
    border: 1px solid #202020;
    color: white;
    transition-duration: .4s;
}

.lightMode .goButtons button {
    background-color: #d9d9d9;
    border: 1px solid #d0d0d0;
    color: black;
}

.goButtons button:hover {
    border-color: #0632ff;
}

#gameModeScreen {
    width: 100vw;
    height: 100vh;
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
    justify-content: space-evenly;
    align-items: center;
}

#gameModeScreen .background {
    animation-duration: 30s;
}

.alignButtonsGameMode {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px
}

.cusSelAlign {
    position: fixed;
    top: 50px;
    z-index: 10000;
}

.custom-select {
    position: relative;
    font-family: Arial;
}

.custom-select select {
    display: none;
}

.select-selected {
    background-color: #0086;
    border-radius: 8px;
    width: 200px;
    backdrop-filter: blur(10px);
    margin: 5px 0;
    transition-duration: .5s;
}

.select-selected:hover {
    background-color: #0632ff;
}

.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}


.select-items div,
.select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: url(../img/non-sprites/cursors/darkCursor/link.cur), auto;
    border-radius: 8px;
    margin: 2px 0;
    transition-duration: .5s;
    z-index: 10000;

}

.select-items {
    position: absolute;
    border-radius: 8px;
    width: 100%;
    top: 110%;
    backdrop-filter: blur(10px);
    background-color: #0086;
    transition-duration: .5s;
    z-index: 10000;
}

.select-hide {
    display: none;
}



.select-items div:hover,
.same-as-selected {
    background-color: #0632ff;
}

#gameModeScreen button {
    width: 400px;
    height: 400px;
    background-color: #252525;
    border: 1px solid #202020;
    border-radius: 8px;
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    transition-duration: .2s;
    color: white;
    font-size: 20px;
}

.lightMode #gameModeScreen button {
    background-color: #d9d9d9;
    border: 1px solid #d0d0d0;
    color: black;
}

.lightMode #gameModeScreen button div {
  filter: invert()
}

#soloPlay div,
#SBsoloPlay div {
    width: 150px;
    height: 150px;
    background-image: url(../img/sprites/gameMode/solo.png);
    background-position: center;
    background-size: cover;
}

#soloRunnerPlay div,
#SBsoloRunnerPlay div {
    width: 150px;
    height: 150px;
    background-image: url(../img/sprites/gameMode/soloRunner.png);
    background-position: center;
    background-size: cover;
}

#duoPlay div,
#DBduoPlay div {
    width: 150px;
    height: 150px;
    background-image: url(../img/sprites/gameMode/duo.png);
    background-position: center;
    background-size: cover;
}

#duoBattlePlay div,
#DBduoBattlePlay div {
    width: 150px;
    height: 150px;
    background-image: url(../img/sprites/gameMode/duoBattle.png);
    background-position: center;
    background-size: cover;
}

#duoRunnerPlay div,
#DBduoRunnerPlay div {
    width: 150px;
    height: 150px;
    background-image: url(../img/sprites/gameMode/duoRunner.png);
    background-position: center;
    background-size: cover;
}

#gameModeScreen button:hover {
    border-color: #0632ff;
}

#gameModeScreen h1 {
    position: absolute;
    top: 20px;
    color: white;
    text-align: center;
}

#gameModeScreen .returnHome {
    width: 60px;
    height: 60px;
    position: fixed;
    left: 10px;
    top: 10px;
    background-size: 90%;
    border-radius: 4px;
    background-color: transparent;
    border: none;
    backdrop-filter: none;
}

.lightMode #gameModeScreen .returnHome {
    background-color: transparent;
    border: none;
}

#gameModeScreen .returnHome:hover {
    background-color: transparent;
}


.moveBlock {
    width: 100%;
    height: 50vh;
    position: absolute;
    left: 0;
}

.moveBlock.upBlock {
    top: 0;
}

.moveBlock.downBlock {
    bottom: 0;
}

.sysBar {
    width: 100%;
    height: 50px;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 10000;
}

/*Hearts & Items*/

.normalGameHud {
    width: 98%;
    height: 40px;
    position: fixed;
    top: 1%;
    left: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    z-index: 11;
}

.effectsHud {
    width: 60px;
    height: calc(100vh - 40px);
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 11;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding: 10px 0;
    box-sizing: border-box;
    gap: 10px;
}

.effectsHud img {
    width: 40px;
    height: 40px;
    display: none;
    animation: appearEffect .2s linear;
    transition-duration: .2s;
}

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

.effectsHud .blinkEffect {
    width: 40px;
    height: 40px;
    display: none;
    animation: blinkEffect 1s linear;
    transition-duration: .2s;
}

@keyframes blinkEffect {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.playerScreen .normalGameHud {
    position: absolute;
    z-index: 11;
}

.hearts {
    width: 120px;
    height: 24px;
    left: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: drop-shadow(0 0 10px red);
}

.playerScreen .hearts {
    position: absolute;
}

.h100 {
    background-image: url(../img/sprites/hearts/100pc.png);
}

.h90 {
    background-image: url(../img/sprites/hearts/90pc.png);
}

.h80 {
    background-image: url(../img/sprites/hearts/80pc.png);
}

.h70 {
    background-image: url(../img/sprites/hearts/70pc.png);
}

.h60 {
    background-image: url(../img/sprites/hearts/60pc.png);
}

.h50 {
    background-image: url(../img/sprites/hearts/50pc.png);
}

.h40 {
    background-image: url(../img/sprites/hearts/40pc.png);
}

.h30 {
    background-image: url(../img/sprites/hearts/30pc.png);
}

.h20 {
    background-image: url(../img/sprites/hearts/20pc.png);
}

.h10 {
    background-image: url(../img/sprites/hearts/10pc.png);
}

.h0 {
    background-image: url(../img/sprites/hearts/0pc.png);
    animation-name: alertLife;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes alertLife {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

}

.pauseButton {
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: white;
}

.itemsAlertCont {
    display: flex;
    z-index: 1;
}


.itemsAlertContDown {
    display: flex;
    z-index: 12;
    position: absolute;
    bottom: 0;
    width: 100vw;
    flex-direction: row;

}

.playerScreen .itemsAlertCont {
    width: 50%;
    position: absolute;
    left: 150px;
}

.itemCont {
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 2px;
    box-sizing: border-box;
    color: white;
    border-radius: 4px;
    transition-duration: .2s;
}

.itemCont:hover {
    background-color: #0632ff77;
}

.emptySlot {
    animation-name: emptySlot;
    animation-duration: 1s;
    animation-iteration-count: 3;
}

.almostEnd {
    /*animation-name: almostEnd;
    animation-duration: 1s;
    animation-iteration-count: infinite;*/
    border-radius: 4px;
    background-color: #00ccff;
}

.itemCont .slots {
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-right: 10px;
}

.itemCont .item {
    width: 32px;
    height: 32px;
    background-size: cover;
    position: static;
    margin-right: 2px;
}

@keyframes emptySlot {
    0% {
        background-color: transparent;
    }

    25% {
        background-color: red;
    }

    50% {
        background-color: transparent;
    }

    75% {
        background-color: red;
    }

    100% {
        background-color: transparent;
    }
}

@keyframes almostEnd {
    0% {
        background-color: transparent;
    }

    25% {
        background-color: #00ccff;
    }

    50% {
        background-color: transparent;
    }

    75% {
        background-color: #00ccff;
    }

    100% {
        background-color: transparent;
    }
}

.soloControls {
    width: 150px;
    height: 100%;
    position: absolute;
    bottom: 0;
    transition-duration: .4s;
    z-index: 15;
    right: -225px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/*Score screen*/
.score {
    color: white;
    left: 150px;
    z-index: 1;
    top: 10px;
    font-size: 20px;
}

.pauseAlert .speed {
    width: 100%;
    height: 40px;
    color: white;
    margin-left: 40px;
    font-size: 20px;
}

.soloScoreAlign {
    width: 90%;
    font-size: 20px;
    margin: 0 5%;
}

.newHigh {
    color: #0ff;
    animation: glowHigh 1s linear infinite;
    display: none;
}

@keyframes glowHigh {
    0% {
        text-shadow: none;
    }

    50% {
        text-shadow: 0 0 10px #fff;
    }

    100% {
        text-shadow: none;
    }
}

.soloScoreAlign div {
    margin: 10px 0;
}

/*2p*/

#duoRun {
    width: 100vw;
    height: 100vh;
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
    justify-content: flex-start;
    align-items: center;
    background-size: cover;
    flex-direction: row;
}

.playerScreen {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}



.duoControls {
    width: 150px;
    height: 220px;
    position: absolute;
    top: -300px;
    transition-duration: .4s;
    z-index: 10;
    left: calc(50% - 75px);
}


.pauseHome:hover,
.pauseRestart:hover,
.pauseDev:hover,
.pauseSettings:hover {
    background-color: #353535;
}

.pauseHome,
.pauseRestart,
.pauseDev,
.pauseSettings {
    width: 150px;
    height: 50px;
    transition-duration: .4s;
    background-color: #252525aa;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    margin: 10px 0;
    box-sizing: border-box;
    padding-left: 50px;
    color: white;
    font-size: 20px;
}

.pauseHome {
    background-image: url(../img/sprites/pauseButtons/homePause.png);
}

.pauseRestart {
    background-image: url(../img/sprites/pauseButtons/restartPause.png);
}

.pauseDev {
    background-image: url(../img/sprites/pauseButtons/devPause.png);
}

.pauseSettings {
    background-image: url(../img/sprites/pauseButtons/settingsPause.png);
}

.pauseText {
    width: 150px;
    height: 50px;
    transition-duration: .4s;
    background-color: #0632ff77;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: none;
    margin: 10px 0;
    color: white;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 20px;
}


/*.duoControls:hover {
    top: 20px;
}*/


.player2Screen {
    border-left: 2px solid #0632ff;
}


#duoRunScore {
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(to bottom, #008, #00f, #00f, #00f, #40f, #70f);
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
}

#duoRunScore .background {
    animation-duration: 60s;
}

.ghostLoseAnim {
    position: absolute;
    top: 83%;
    border-radius: 100%;
    animation: floatScore 10s linear infinite;
    transition-duration: .2s;
    z-index: 1;
}

.ghostLose {
    width: 90px;
    height: 90px;
    background-image: url(../img/sprites/skins/normal/Flying.gif);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.ghostWonAnim {
    position: absolute;
    top: 60%;
    left: 10%;
    border-radius: 100%;
    animation: floatScoreWon 15s linear infinite;
    transition-duration: .2s;
    z-index: 2;
}

.ghostWon {
    width: 90px;
    height: 90px;
    background-image: url(../img/sprites/skins/normal/Flying.gif);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

@keyframes floatScoreWon {
    0% {
        top: 60%;
    }

    10% {
        top: 50%;
    }

    20% {
        top: 60%;
    }

    30% {
        top: 70%;
    }

    40% {
        top: 60%;
    }

    50% {
        top: 40%;
        left: 90%;
        transform: scaleX(1)
    }

    51% {
        left: 90%;
        transform: scaleX(-1)
    }

    60% {
        top: 60%;
    }

    70% {
        top: 50%;
    }

    80% {
        top: 70%;
    }

    90% {
        top: 50%;
    }

    99% {
        top: 60%;
        left: 10%;
        transform: scaleX(-1)
    }

    100% {
        top: 60%;
        left: 10%;
        transform: scaleX(1)
    }

}

.duoRunScore {
    width: 50%;
    margin: 0 25%;
    padding: 10px 5px 5px 5px;
    position: absolute;
    top: 5%;
    background-color: #444a;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    color: white;
}

.duoRunScore h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 30px;
    animation: glowHigh 2s linear infinite;
}

.duoRunScore div {
    margin: 10px 0;
    font-size: 20px;
}

.duoRunScore .goButtons {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 30px;
}

.blueCrystal,
.purpleCrystal {
    width: 50px;
    height: 50px;
    position: absolute;
    top: -25px;
    left: calc(50% - 25px);
    background-size: cover;
    background-position: center;
}

.blueCrystal {
    background-image: url(../img/sprites/background/bCrystal.png);
}

.purpleCrystal {
    background-image: url(../img/sprites/background/pCrystal.png);
}

#shop {
    width: 100vw;
    height: 100vh;
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
}

.shopTitle {
    width: calc(100vw - 22%);
    position: absolute;
    top: 10px;
    right: 1%;
    border-radius: 8px;
    background-color: #191919dd;
    backdrop-filter: blur(10px);
    height: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index:2;
}

.lightMode .shopTitle {
    background-color: #d9d9d9dd;
    color: black;
}

.shopTitle h1 {
    font-size: 40px;
}

.shopItems {
    width: calc(80% - 10px);
    height: 83%;
    position: absolute;
    right: 5px;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
    overflow-y: auto;
    padding-bottom: 20px;
    box-sizing: border-box;
    animation: appearShopItems .3s ease-out;
}

.itemDesc {
    width: 82%;
    height: 100%;
    background-color: #191919aa;
    backdrop-filter: blur(20px);
    position: absolute;
    right: 0;
    bottom: 0;
    padding-top: 8%;
    box-sizing: border-box;
    animation: appearShopItems .3s ease-out;
}

.lightMode .itemDesc {
    background-color: #d9d9d9aa;
    color: black;
}

.itemDetails {
    display: flex;
    box-sizing: border-box;
    padding: 10px;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
    color: white;
}

.lightMode .itemDetails {
    color: black;
} 

.itemImage {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.itemImage img {
    width: 150px;
    height: 150px
}

.itemInfos [type="itemName"] {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 5px;
}

.itemInfos [type="itemType"] {
    font-size: 30px;
}

.itemInfos .alignStardusts {
   padding-left: 0px;
   margin-left: -5px;
}

.itemDescription {
    color: white;
    font-size: 30px;
    text-wrap: wrap;
    margin-left: 70px;
    width: 90%;
}

.lightMode .itemDescription {
    color: black;
}

.alignBuyButtons {
    position: absolute;
    gap: 20px;
    right: 50px;
    bottom: 50px;
}

.alignBuyButtons button {
    padding: 15px;
    font-size: 20px;
    border-radius: 8px;
    border: none;
    background-color: #252525;
    color: white;
}

.shopBuy {
    transition-duration: .2s;
}

.shopBuy.getItem {
    background-color: #0632ff;
}

.shopBuy.resetItem {
    background-color: #e45258;
}

.shopBuy.resetItem:hover {
    background-color: #fc9fa2;
}


.shopBuy.getItem:hover {
    background-color: #798ee9;
}

.shopItems::-webkit-scrollbar {
    width: 6px;
}

.shopItems::-webkit-scrollbar-thumb {
    background-color: #191919;
    transition-duration: .2s;
    border-radius: 120px;
}

.shopItems::-webkit-scrollbar-thumb:hover {
    background-color: #A0B2FF;
}

@keyframes appearShopItems {
    from {
        bottom: -200px;
    } to {
        bottom: 0;
    }
}

.shopItems .shopBlock {
    width: 270px;
    height: 270px;
    background-color: #191919aa;
    border-radius: 8px;
    border: 1px solid #191919;
    box-sizing: border-box;
    transition-duration: .2s;
}

.lightMode .shopItems .shopBlock {
    background-color: #d9d9d9aa;
    border-color: #d9d9d9;
}

.shopItems .shopBlock:hover {
    border-color: #0632ff;
}

.shopItems .shopBlock img {
    width: 100px;
    height: 100px;
    border-radius: 4px;
}

#skinChanger {
    width: 100vw;
    height: 100vh;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    color: white;
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
}

.shopBckg {
    background-image: linear-gradient(to bottom, #2E1A47,
            #111133,
            #04051a);
}

.lightMode .shopBckg {
    background-image: linear-gradient(to bottom, #5fcde4,
    #639bff,
    #5b6ee1);
}

#skinChanger h1 {
    padding: 0;
    top: 20px;
}

.moneyAlert img {
    width: 45px;
    height: 45px;
}

.items {
    width: 100%;
    height: 60vh;
    position: fixed;
    left: 0;
    top: calc(50% - 30%);
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
}



#shop .returnHome:hover {
    background-color: transparent;
}

#shop .goSkin,
#gameModeScreen .goSkin {
    padding: 5px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    margin: 0 20px;
    background-color: #292929;
    border: 1px solid #292929;
    color: white;
    font-size: 15px;
    transition-duration: .5s;
    border-radius: 20px;
}

#gameModeScreen .goSkin {
    width: 120px;
    height: 30px;
    left: 10px;
    bottom: 15px;
}

#shop .goSkin:hover {
   border-color: #0632ff;
}

.items::-webkit-scrollbar {
    appearance: none;
    height: 4px;
}

.items::-webkit-scrollbar-thumb {
    background-color: #292929;
    border-radius: 20px;
}

.items::-webkit-scrollbar:hover {
    appearance: none;
    height: 6px;
}


.items::-webkit-scrollbar-thumb:hover {
    background-color: #0632ff;
}

.items .Sitem {
    min-width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    margin: 0 20px;
    background-color: #252525;
    border: 1px solid #202020;
    color: white;
    font-size: 15px;
    transition-duration: .5s;
    border-radius: 8px;
}

.items .selSitem {
    min-width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    margin: 0 20px;
    background-color: #008;
    border: 1px solid #0632ff;
    color: white;
    font-size: 15px;
    transition-duration: .5s;
    border-radius: 8px;
}

.lightMode .items .Sitem {
    background-color: #f0f8ff;
    border: 1px solid #d0d0d0;
    color: black;
}

.lightMode #transpSkinPurchase img {
    filter: invert();
    transition-duration: .2s;
}

/*.lightMode #transpSkinPurchase:hover {
    background-color: #252525aa;
    border: 1px solid #d0d0d0;
    color: white;
}

.lightMode #transpSkinPurchase:hover img {
    filter: none;
}*/

.items .Sitem:hover {
    border-color: #0632ff;
}


.Sitem img {
    width: 100px;
    height: 100px;
    border-radius: 4px;
}

.shopBlur {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #6AABD244;
    backdrop-filter: blur(20px);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
}

.confirmPurchasePopUp {
    width: 75vw;
    height: 75vh;
    border-radius: 16px;
    background-color: #090909;
    position: relative;
    padding: 20px;
    padding-top: 5px;
    box-sizing: border-box;
    font-size: 25px;
    overflow: hidden;
    transition-duration: .5s;
    opacity: 0;
}

.confirmPurchasePopUp h2 {
    text-align: center;
    margin: 10px 0;
    font-size: 40px;
}

.confirmPurchasePopUp h3 {
    text-align: center;
    margin: 10px 0;
    font-size: 30px;
    font-weight: normal;
}

.confirmPurchasePopUp h4 {
    text-align: center;
    margin: 10px 0;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 20px;
}

.backPage {
    width: 60px;
    height: 60px;
    background-color: transparent;
    background-image: url(../img/sprites/navButtons/black/backArrow.png);
    border: none;
    filter: drop-shadow(0px 0px 10px #000);
    z-index: 1000;
    background-size: cover;
}

.lBackPage {
    width: 60px;
    height: 60px;
    background-color: transparent;
    background-image: url(../img/sprites/navButtons/white/backArrow.png);
    border: none;
    z-index: 1000;
    background-size: cover;
}

.lightMode .lBackPage {
    background-image: url(../img/sprites/navButtons/black/backArrow.png);
}


#skinChanger .Sitem {
    min-width: 300px;
    height: 300px;
}

.ChoosedSkin {
    border: 1px solid orange;
    background-color: #ff450077;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    color: white;
    font-size: 15px;
    transition-duration: .5s;
    border-radius: 8px;
    width: 270px;
    height: 270px;
    box-sizing: border-box;
}

.ChoosedSkin img {
    width: 100px;
    height: 100px;
}

.ChoosedSkin:hover {
    background-color: orange;
}

.alignShopButtons {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -21px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 20px;
}

.alignShopButtons button {
    height: 100px;
    border: none;
    color: white;
    font-size: 25px;
    transition-duration: .3s;
}

.normalButtonShop {
    background-color: #404040;
    width: 50%;
}

.normalButtonShop:hover {
    background-color: #707070;
}

.rembShop {
    background-color: #e45258;
    width: 50%;
}

.rembShop:hover {
    background-color: #fc9fa2;
}

.okayShop {
    background-color: #0632ff;
    width: 50%;
}

.okayShop:hover {
    background-color: #798ee9;
}

.justOkayShop {
    width: 100%;
    background-color: #0632ff;
}

.justOkayShop:hover {
    background-color: #798ee9;
}

.infosPopUp {
    position: absolute;
    top: 35%;
    font-size: 30px;
}

.prodImage {
    width: 120px;
    height: 120px;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 30%;
    right: 30px;
    border-radius: 4px;
}

.itemType {
    padding-left: 10px;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    height: 100%;
}

.itemType p {
    font-size: 30px;
}

.prodGM1 {
    background-image: url(../img/sprites/shopItems/RunnerMode.gif);
}

.sideBar {
    width: 20%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #A0B2FFaa;
    backdrop-filter: blur(10px);
    border-radius: 0 8px 8px 0;
    z-index: 2
   
}

.sideBar .shopNav {
    width: 95%;
    font-size: 25px;
    min-height: 60px;
    border-radius: 0 120px 120px 0;
    box-sizing: border-box;
    padding: 10px;
    padding-left: 20px;
    border: none;
    border-left: none;
    margin-bottom: 10px;
    text-align: left;
    background-color: #A0B2FF77;
    transition-duration: .2s;
    margin-left: -10px;
}

.sideBar .shopNav.bottomNav {
    position: absolute;
    bottom: 20px;
    left: 0;
}

.sideBar .shopNav:hover {
 margin-left: 0;;
}

.sideBar .shopNav:active {
    background-color: #A0B2FF;
    transition-duration: .1s;
}

.alignSideBarItems {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 0 20px 0 20px;
    align-items: center;
    margin: 20px 0;
    position: relative;
    color: black;
}

.alignSideBarItems.skinChangerAlign {
    margin-bottom: 60px;
}

.alignSideBarItems h1 {
    font-size: 40px;
    position: absolute;
    text-align: center;
    width: 100%
}

.alignSideBarItems.skinChangerAlign h1 {
    position: static;
    margin-top: 10px;
}

.alignStardusts {
    display: flex;
    justify-content: flex-start;
    box-sizing: border-box;
    padding-left: 20px;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    font-size: 20px;
}

.alignStardusts .stardustIcon {
    width: 60px;
    height: 60px;
    background-image: url(../img/sprites/Items/stardust.png);
    background-position: center;
    background-size: cover;
}

.sideBar .returnHome {
    background-image: url(../img/sprites/navButtons/black/backHome.png);
    width: 60px;
    height: 60px;
    background-color: transparent;
}

.sideBar::-webkit-scrollbar {
    appearance: none;
    width: 0px;
    transition-duration: .5s;
}

.sideBar:hover::-webkit-scrollbar {
    width: 8px;
}

.sideBar::-webkit-scrollbar-thumb {
    background-color: #008;
}

.sideBar h2 {
    margin: 20px 0;
}

.sideBar .skin {
    min-width: 80px;
    min-height: 80px;
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px 0;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    transition-duration: .5s;
}

.sideBar .skin:hover {
    background-color: #f0f0f022;
}

#settings {
    width: 100vw;
    height: 100vh;
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
    background-color: #070b34;
}

.lightMode #settings {
    background-color: #5b6ee1;
}

.earthCloud {
    width: 3840px;
    height: 150px;
    position: absolute;
    right: 0;
    top: 0;
    background-image: url(../img/sprites/background/settingsCloudsDark.png);
    animation-name: moveBckgInv;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    transition-duration: .5s;
}

.lightMode .earthCloud {
    background-image: url(../img/sprites/background/settingsClouds.png);
}

@keyframes moveBckgInv {
    to {
        right: -1920px;
    }
}

.settingsPanel {
    width: 96%;
    height: calc(100vh - 150px);
    border-radius: 8px 8px 0px 0px;
    background-color: #191919;
    color: white;
    position: fixed;
    left: calc(50% - 48%);
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding-bottom: 10px;
}

.lightMode .settingsPanel {
    background-color: #f0f8ff;
    color: black;
}

.settingsPanel::-webkit-scrollbar {
    appearance: none;
    width: 5px;
    padding: 0 10px;
}

.settingsPanel::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: #0632ff;
}

.settingsPanel span {
    margin-left: 2%;
}

.settingsPanel h1 {
    margin: 10px 0;
    text-align: center;
}

.settingsPanel .returnHome,
.settingsPanel .returnGame {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 0;
    left: 2%;
    background-color: transparent;
    top: 2px;
}

.settingsPanel .returnHome {
    background-image: url(../img/sprites/navButtons/white/backHome.png);
}

.settingsPanel .returnGame {
    background-image: url(../img/sprites/navButtons/white/backGame.png);
}

.lightMode .settingsPanel .returnHome {
    background-image: url(../img/sprites/navButtons/black/backHome.png);
}

.lightMode .settingsPanel .returnGame {
    background-image: url(../img/sprites/navButtons/black/backGame.png);
}


.settingsPanel ul {
    margin-left: 50px;
}


.alignSetting {
    width: 96%;
    height: 50px;
    margin: 20px 2%;
    background-color: #000000;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 20px;
    align-items: center;
    color: white;
}

.lightMode .alignSetting {
    background-color: #ddd;
    color: black;
}

.alignSetting span {
    color: white;
}

.lightMode .alignSetting span {
    color: black;
}

.alignItems {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 15%;
    height: 50px;
    color: black;
}

.muteButton {
    background-color: transparent;
    border: none;
    border-radius: none;
    color: black;
    font-size: 20px;
}

.alignSetting img {
    width: 40px;
    height: 40px;
}

.lightMode .alignSetting img {
    filter: invert();
}

.settingButton {
    background-color: #252525;
    border: 1px solid #202020;
    padding: 3px 10px;
    border-radius: 20px;
    color: white;
    transition-duration: .2s;
}

.lightMode .settingButton {
    background-color: #fff;
    border-color: #f0f0f0;
    color: black; 
}

.settingButton:hover {
    border-color: #0632ff;
}

.settingsPanel p {
    text-align: center;
}

.alignSetting input[type="checkbox"] {
    width: 40px;
    height: 20px;
    appearance: none;
    border: 1px solid #777;
    border-radius: 40px;
    background-color: #555;
    position: relative;
    transition-duration: .2s;
}

.alignSetting input[type="checkbox"]:after {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    left: 1px;
    top: 1px;
    content: '';
    background-color: #00f;
    transition-duration: .2s;
}

.alignSetting input[type="checkbox"]:checked {
    background-color: #00f;
    border-color: #00a;
}

.alignSetting input[type="checkbox"]:checked::after {
    left: 20px;
    background-color: #fff;
}

.alignSetting input[type="range"] {
    appearance: none;
    background-color: #011222;
    border-radius: 20px;
    overflow: hidden;
    height: 15px;
}

.alignSetting input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 100%;
    border: 2px solid #0632ff;
    box-shadow: -1005px 0 0 1000px #0632ff;
}

#credits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    color: white;
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    background-color: #19191966;
    backdrop-filter: blur(15px);
}

#b2bCredits {
    width: 50px;
    height: 50px;
    top: 10px;
    left: 10px;
    position: absolute;
    background-color: transparent;
}

#credits img {
    width: 250px;
    height: 250px;
    position: absolute;
    top: 0px;
}

#credits .creditsSection,
#credits .creditsSectionEnd {
    margin: 20px 0;
    text-align: center;
    width: 350px;
    font-size: 15px;
}

#credits .creditsSectionEnd {
    position: absolute;
    bottom: 30px;
}

.creditsSection .sectionTitle {
    margin: 20px 0;
    font-size: 20px;
    font-weight: bold;
}

@keyframes rollCredits {
    to {
        top: -200%
    }
}

.thanks {
    font-size: 30px;
}

#soloRunner {
    width: 100vw;
    height: 100vh;
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
    background-image: linear-gradient(to bottom, #000 ,  #0632ff66 , #8706d466);
    /*background-image: linear-gradient(to bottom, black, rgb(150, 30, 0));*/
}

#soloRunner .background,
#runnerModeAnimation .background {
    background-image: url(../img/sprites/background/cityStars.png);
}

.bottomRoad {
    width: 3840px;
    height: 140px;
    background-image: url(../img/sprites/background/bRoad.png);
    position: absolute;
    bottom: 0;
    left: 0;
    animation: moveBckg 5s linear infinite;
}

.topRoad {
    width: 3840px;
    height: 140px;
    background-image: url(../img/sprites/background/uRoad.png);
    position: absolute;
    bottom: 80px;
    left: 0;
    animation: moveBckg 3s linear infinite;
}

#soloRunner .clouds {
    top: -150px;
    background-image: url(../img/sprites/background/cloudsBckg.png);
}

#soloRunner .player,
#duoRunner .player {
    top: auto;
    bottom: 50px;
    left: 100px;
    transition-duration: .1s;
}

#soloRunner .player.hurtB,
#duoRunner .playerScreen.hurtB {
    top: auto;
    bottom: 50px;
    left: 100px;
    animation: hurtB .5s linear;
}

@keyframes hurtB {
    0% {
        bottom: 50px;
        rotate: 0deg;
    }

    50% {
        bottom: 200px;
        rotate: 720deg;
    }

    100% {
        bottom: 50px;
        rotate: 1440deg;
    }
}

#soloRunner .player.hurtT,
#duoRunner .playerScreen.player.hurtT {
    top: auto;
    bottom: 175px;
    left: 100px;
    animation: hurtT .5s linear;
}

@keyframes hurtT {
    0% {
        bottom: 175px;
        rotate: 0deg;
    }

    50% {
        bottom: 325px;
        rotate: 720deg;
    }

    100% {
        bottom: 175px;
        rotate: 1440deg;
    }
}

#soloRunner .player.secondTrail,
#duoRunner .playerScreen.player.secondTrail {
    top: auto;
    bottom: 175px;
    left: 100px;
}

#soloRunner .ufo,
#duoRunner .ufo {
    background-position: center;
    background-size: cover;
    position: absolute;
    animation: moveCrystal 7.4s linear infinite;
    bottom: 50px;
    left: -500px;
}

#soloRunner .ufoT,
#duoRunner .ufoT {
    background-position: center;
    background-size: cover;
    position: absolute;
    animation: moveCrystal 7.4s linear infinite;
    bottom: 180px;
    left: -500px;
}

#soloRunner .player.jumping,
#duoRunner .playerScreen.player.jumping {
    top: auto;
    bottom: 175px;
    left: 100px;
    animation: jumping 3s linear;
}

@keyframes jumping {
    0% {
        bottom: 175px;
    }

    10% {
        bottom: 300px;
    }

    80% {
        bottom: 300px;
    }


    100% {
        bottom: 175px;
    }
}

#soloRunner .player.stomp,
#duoRunner .playerScreen.player.stomp {
    top: auto;
    bottom: 175px;
    left: 100px;
    animation: doAStomp 2s ease-in;
}

@keyframes doAStomp {
    0% {
        bottom: 300px;
    } 
    
    3% {
        bottom: 175px;
    } 
    
    100% {
        bottom: 175px;
    }
}

#soloRunner .player.sJumpB,
#duoRunner .playerScreen.player.sJumpB {
    top: auto;
    bottom: 175px;
    left: 100px;
    animation: sJB .55s linear;
}

@keyframes sJB {
    0% {
        bottom: 50px;
    }

    50% {
        bottom: 200px;
    }

    100% {
        bottom: 50px;
    }
}

#soloRunner .player.sJumpT,
#duoRunner .playerScreen.player.sJumpT {
    top: auto;
    bottom: 175px;
    left: 100px;
    animation: sJT .55s linear;
}

@keyframes sJT {
    0% {
        bottom: 175px;
    }

    50% {
        bottom: 325px;
    }

    100% {
        bottom: 175px;
    }
}

#soloRunner .player.boosting,
#duoRunner .playerScreen.player.boosting {
    animation: boosting .6s linear;
}

@keyframes boosting {
    0% {
        left: 100px;
    }

    70% {
        left: 300px;
    }


    100% {
        left: 100px;
    }
}

@keyframes moveCrystal {
    from {
        left: 100%;
    }

    to {
        left: -200px;
    }
}

.uType1,
.uType4 {
    width: 60px;
    height: 60px;
}

.uType1 {
    background-image: url(../img/sprites/ufos/ufo1.gif);
}

.uType2 {
    background-image: url(../img/sprites/ufos/ufo2.gif);
}

.uType3 {
    background-image: url(../img/sprites/ufos/ufo3.gif);
}

.uType4 {
    background-image: url(../img/sprites/ufos/ufo4.gif);
}

.uType5 {
    background-image: url(../img/sprites/ufos/ufo5.gif);
}

.uType6 {
    background-image: url(../img/sprites/ufos/ufo6.gif);
}

.pausedSR .uType1 {
    background-image: url(../img/sprites/ufos/ufo1.png);
}

.pausedSR .uType2 {
    background-image: url(../img/sprites/ufos/ufo2.png);
}

.pausedSR .uType3 {
    background-image: url(../img/sprites/ufos/ufo3.png);
}

.pausedSR .uType4 {
    background-image: url(../img/sprites/ufos/ufo4.png);
}

.pausedSR .uType5 {
    background-image: url(../img/sprites/ufos/ufo5.png);
}

.pausedSR .uType6 {
    background-image: url(../img/sprites/ufos/ufo6.png);
}

.uType2,
.uType5 {
    width: 112px;
    height: 75px;
}

.uType3,
.uType6 {
    width: 200px;
    height: 100px;
}

.RunnerInfos {
    font-size: 30px;
    text-align: left;
    position: absolute;
    bottom: 120px;
    left: 20px;
}

.scoreSoloRunner {
    width: 50%;
    padding: 10px 5px;
    background-color: #f0f0f033;
    position: fixed;
    left: calc(50% - 25%);
    border-radius: 8px;
    top: -100%;
    color: white;
    backdrop-filter: blur(20px);
    font-size: 20px;
    transition-duration: .5s;
}

.scoreSoloRunner h1 {
    text-align: center;
    margin-bottom: 20px;
}

.scoreSoloRunner .goButtons {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
    margin-bottom: 5px;
}

#duoRunner {
    width: 100vw;
    height: 100vh;
    display: none;
    animation-name: appearPages;
    animation-duration: .5s;
    transition-duration: .5s;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    background-image: linear-gradient(to bottom, #000 ,  #0632ff66 , #8706d466);
    /*background-image: linear-gradient(to bottom, black, rgb(150, 30, 0));*/
}

.playerScreen .rockSoil {
    position: absolute;
}

.scoreDuoRunner {
    width: 50%;
    padding: 10px 5px;
    background-color: #f0f0f033;
    position: fixed;
    left: calc(50% - 25%);
    border-radius: 8px;
    top: -100%;
    color: white;
    backdrop-filter: blur(20px);
    font-size: 20px;
    transition-duration: .5s;
}

.scoreDuoRunner h1 {
    text-align: center;
    margin: 10px 0;
}

.scoreDuoRunner .goButtons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 10px 0;
}

.devKeysCentral {
    width: 100vw;
    height: 100vh;
    display: none;
    /*background-image: linear-gradient(to bottom, #000 60%, #949100);*/
    background-image: linear-gradient(to bottom, #000 40%, rgb(255, 145, 0));
    transition-duration: .5s;
    animation-name: appearPages;
    animation-duration: .5s;
}

#reloadGame {
    width: 60px;
    height: 60px;
    z-index: 1000;
    background-size: cover;
    left: 200px;
    background-color: transparent;
    background-image: url(../img/sprites/pauseButtons/restartPause.png);
    border: none;
    position: fixed;
}

#reloadGame:hover {
    border: none;
}

.devKeysCentral .earthCloud {
    z-index: 1;
}

.devKeysCentral .background {
    animation-duration: 90s;
    z-index: 0;
}

.devKeysHeader {
    width: 100%;
    height: 15vh;
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.devKeysCentral .returnHome,
.devKeysCentral .returnGame {
    background-color: transparent;
    border: none;
    backdrop-filter: none;
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 1000;
    background-size: 80%;
    left: 100px;
}

.devKeysCentral .returnHome:hover {
    background-size: 80%;
}

.devKeysCentral button {
    padding: 10px;
    border: 1px solid #202020;
    background-color: #252525;
    border-radius: 8px;
    transition-duration: .4s;
    color: white;
}

.devKeysCentral button:hover {
    border-color: #0632ff
}

.devKeysCentral h1,
.devKeysCentral p {
    margin: 5px 0;
    color: white;
}

.titleAlign {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.devKeysCentral .devKeysHeader .shutDownDev{
    position: absolute;
    right: 100px;
}

/*DevKeys Editor*/
.keysEditor {
    width: 100vw;
    height: 85vh;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #25252577;
    display: flex;
    border-radius: 8px 8px 0 0;
    z-index: 2;
    color: white;
    overflow-y: auto;
    overflow-x: hidden;
}

.keysEditor::-webkit-scrollbar {
    appearance: none;
    width: 6px;
}

.keysEditor::-webkit-scrollbar-thumb {
    background-color: /*#949100*/ rgb(255, 145, 0);
    border-radius: 120px;
}

.lightMode .keysEditor {
    background-color: #d9d9d9aa;
    color: black;
}

.keyContextMenu {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #29292977;
    background-color: #19191977;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    animation: appearContext .2s ease-out;
    z-index: 10;
}

.light .keyContextMenu {
    border: 1px solid #d6d6d677;
    background-color: #e6e6e677;
}

@keyframes appearContext {
    from {
        opacity: 0;
        margin-top: -20px;
    } to {
        opacity: 1;
        margin-top: 0;
    }
}

.keyContextMenu #contextOptions {
    width: 100%;
}

.keyContextMenu .CMOption,
.keyContextMenu .keyName {
    border-radius: 4px;
    transition-duration: .1s;
    color: white;
    padding: 10px;
    width: calc(100% - 20px);
}

.keyContextMenu .CMOption:hover {
    background-color: #7777;
}

.keysEditor .title {
    position: fixed;
    color: white;
    text-align: center;
    width: 100%;
    background-color: #191919;
    padding: 10px 0;
    top: 15vh;
    border-radius: 8px 8px 0 0;
    z-index: 1000;
}

.lightMode .keysEditor .title {
    background-color: #e6e6e6;
    color: black;
}

.keysEditor .title span {
    font-size: 30px;
    padding: 0;
    margin: 0;
    position: absolute;
    right: 100px;
    top: 0px;
}

.keysEditor .title #addKey {
    right: 50px;
}

.keysEditor .title #changeType {
    right: 150px;
    transition-duration: .6s;
}


.keysEditor .devKeysSystemView {
    width: 100%;
    height: auto;
    display: flex;
}

.keysEditor .devCardView {
    width: 25%;
    height: auto;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.keysEditor .devCardView .card {
    width: 300px;
    height: 456px;
    position: relative;
    background-image: url(../img/sprites/Items/sDevCard.gif);
    background-position: center;
    background-size: cover;
    transition-duration: .3s;
}

.keysEditor .devCardView .bCard {
    width: 300px;
    height: 456px;
    position: absolute;
    background-image: url(../img/sprites/Items/backDevCard.png);
    background-position: center;
    background-size: cover;
    animation: flipCard .4s linear;
    transform: scaleX(0);
    display: none;
}

@keyframes flipCard {
    0% {
        transform: scaleX(0);
    }

    50% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

.keysEditor .devCardView .cardTitle {
    font-family: "Pixelify Sans", serif;
    position: absolute;
    top: 12%;
    left: 5%;
    font-size: 25px;
    width: 90%;
    height: 9%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    padding-left: 7px;
}

.keysEditor .devCardView .cardType {
    font-family: "Pixelify Sans", serif;
    position: absolute;
    top: 56.6%;
    left: 7%;
    font-size: 20px;
    width: 45%;
}

.keysEditor .devCardView .cardDesc {
    font-family: "Pixelify Sans", serif;
    position: absolute;
    top: 24%;
    left: 8%;
    width: 84%;
    height: 27%;
    overflow: auto;
    font-size: 16px;
}

.keysEditor .devCardView .cardBAlign {
    position: absolute;
    top: 68.6%;
    left: 11%;
    width: 58%;
    overflow: auto;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.keysEditor .devCardView .cardBAlign button {
    font-family: "Pixelify Sans", serif;
    padding: 7px;
    font-size: 16px;
    background-color: #191919aa;
    border: none;
    clip-path: polygon(
    0px calc(100% - 4px),
    4px calc(100% - 4px),
    4px 100%,
    calc(100% - 4px) 100%,
    calc(100% - 4px) calc(100% - 4px),
    100% calc(100% - 4px),
    100% 4px,
    calc(100% - 4px) 4px,
    calc(100% - 4px) 0px,
    4px 0px,
    4px 4px,
    0px 4px
  );
}

.keysEditor .devCardView .cardBAlign button:hover {
    background-color: #191919dd;
}

.keysEditor .allCards {
    width: 75%;
    margin-top: 36px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(9, 1fr);
    box-sizing: border-box;
    padding-top: 20px;
}

.keysEditor .allCards .miniCard {
    width: 100px;
    height: 152px;
    background-image: url(../img/sprites/Items/stopDevCard.png);
    background-color: transparent;
    border: none;
    background-size: cover;
    background-position: center;
    transition-duration: .1s;
}

.keysEditor .allCards .miniCard:hover {
    background-image: url(../img/sprites/Items/devCard.gif);
    margin-top: -5px;
}

.keysEditor .regRow {
    width: 50%;
    margin-top: 36px;
    height: auto;
}

#keyValueRow {
    position: relative;
    box-sizing: border-box;
    border-left: 2px solid /*#949100*/ rgb(255, 145, 0);
}

/*#keyValueRow::before {
    content: '';
    width: 6px;
    height: 80%;
    position: absolute;
    left: -3px;
    background-color: #949100;
    top: 10%;
    border-radius: 120px;
}*/

.cellDiv,
.cellDivVal {
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    transition-duration: .2s;
    margin: 4px auto;
    border-radius: 4px;
}

.cellDiv:hover,
.cellDivVal:hover {
    background-color: #27272744;
    backdrop-filter: blur(8px);
}

.muteAlert {
    position: fixed;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    bottom: -150px;
    background-color: #252525aa;
    backdrop-filter: blur(10px);
    right: 10px;
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition-duration: .3s;
    z-index: 10000;
}

.volumeModifier {
    position: fixed;
    border-radius: 8px;
    bottom: -100px;
    width: 200px;
    height: 70px;
    background-color: #252525aa;
    backdrop-filter: blur(10px);
    right: 10px;
    font-size: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: white;
    transition-duration: .3s;
    z-index: 10000;
}

.volumeModifier input[type="range"] {
    appearance: none;
    background-color: #011222;
    border-radius: 20px;
    overflow: hidden;
    height: 15px;
    border: 1px solid #008;
    outline: none;
}

.volumeModifier input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 100%;
    border: 2px solid #0632ff;
    box-shadow: -1005px 0 0 1000px #0632ff;
}

.volCenter {
    position: fixed;
    width: 300px;
    height: 220px;
    border-radius: 8px;
    bottom: -220px;
    background-color: #0632ff66;
    backdrop-filter: blur(10px);
    left: calc(50% - 150px);
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition-duration: .3s;
    z-index: 10000;
}

#loadingPage {
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}

#loadingPage img {
    width: 300px;
    height: 300px;
    position: absolute;
    top: 100px;
}

.loadingBallCont {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 100px;
}

.loadingBall {
    width: 30px;
    height: 30px;
    background-color: #00a;
    border-radius: 100%;
    animation: loadingUp 2s infinite;
}

.loadingGhost {
    width: 150px;
    height: 150px;
    background-image: url(../img/sprites/animations/loading.gif);
    background-position: center;
    background-size: cover;
}

@keyframes loadingUp {
    0% {
        margin-top: 0;
    }

    50% {
        margin-top: -300px;
    }

    100% {
        margin-top: 0;
    }
}

#lb2 {
    animation-delay: .2s;
}

#lb3 {
    animation-delay: .4s;
}

#lb4 {
    animation-delay: .6s;
}

#lb5 {
    animation-delay: .8s;
}

.errorContainer {
    width: 80%;
    margin-bottom: 100px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 25px;
    text-align: center;
}

.errorContainer .goButtons {
    margin-top: 50px;
}

#biomeLoader {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
}

/*Import Google Icons*/
@font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    font-weight: 100 700;
    src: url(https://fonts.gstatic.com/s/materialsymbolsrounded/v159/sykg-zNym6YjUruM-QrEh7-nyTnjDwKNJ_190Fjzag.woff2) format('woff2');
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 1600px) {
    #gameModeScreen button {
        width: 300px;
    }

    .mt1 {
        width: 32px;
        height: 32px;
        background-image: url(../img/sprites/meteorSprites/type1.png);
    }

    .mt2 {
        width: 50px;
        height: 50px;
        background-image: url(../img/sprites/meteorSprites/type2.png);
    }

    .mt3 {
        width: 100px;
        height: 100px;
        background-image: url(../img/sprites/meteorSprites/type3.png);
    }
}

.onlyPhone,
.onlyPhoneF {
    display: none;
}

@media (max-width: 1440px)  {
    .shopItems {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    section {
        width: 100vw;
        height: 100dvh;
        overflow: hidden;
    }

    .homeAnimation {
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        border: none;
        z-index: 0;
    }

    #fullscreenAnimation {
        display: none;
    }

    .alignHomeButtons {
        width: 100%;
        align-items: center;
    }

    .alignHomeButtons.gameSelectControls {
        margin-left: -100%;
    }

    .alignHomeButtons button {
        margin-left: 0px;
        width: 80%;
        border-radius: 8px;
    }

    .alignHomeButtons button:hover {
        margin-left: 0px;
        border-color: #0632ff;
    }

    .excludePhone,
    .playersContainer .excludePhone {
        display: none;
    }

    .onlyPhone {
        display: block;
    }

    .onlyPhoneF {
        display: flex;
    }

    .playGame {
        width: 90%;
        left: 5%;
        right: 5%;
        box-sizing: border-box;
        padding: 10px;
        background-color: #191919ee;
    }

    .soloScore {
        width: 100vw;
        height: 100dvh;
        left: 0;
        top: -120%;
        margin: 0;
        position: fixed;
        padding-top: 50px;
    }

    .settingsPanel {
        width: 100%;
        left: 0;
    }
}

/*HD Masks*/
.hd .background {
    background-image: url(../img/non-sprites/backgrounds/backgroundPureStarB.png);
    filter: blur(7px);
}

.hd .earthCloud {
    background-image: url(../img/non-sprites/backgrounds/settingsCloudsDark.png);
    box-shadow: 10px 0 10px 10px #485b9e;
}

.hd #settings .earthCloud {
    box-shadow: none;
}