@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&family=Tiny5&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jersey+15&display=swap');

h2, h1 {
    font-weight: 400;
    margin: 0;
}

.textTitle{
    font-size: 39px;
    font-weight: 100;
}
.textStandard{
    font-size: 15px;
    font-weight: 400;
}
button:focus {
  outline: none;
}

.uiProfileLevel {
    font-size: 24px;
    font-weight: 400;
    position: relative;
    left: 2px;
    top: -8px;
    color: #00000061;
}
:root {
    --backgroundObjects: rgb(48, 37, 37);
    --backgroundObjectsBorder: rgb(44, 40, 39);
  }
  p{
    margin: 0px;
  }

* {
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    cursor: none;
    font-family: "Tiny5", serif !important;
    /* font-weight: 100 ; */
    -webkit-user-drag: none;
    image-rendering: pixelated;
  }
  
body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    background: black;
}

#gainXpDiv{
    display: flex;
    position: absolute;
    top: 32vh;
    right: 50%;
    transform: translate(50%, 50%);
    width: 111px;
    height: 58px;
    pointer-events: none;
    z-index: 2;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#gainXpText{
    display: flex;
    position: absolute;
    bottom: -20px;
    font-size: 21px;
    animation-fill-mode: forwards;
}

@keyframes gainXpAnimation {
    0% {
    bottom: -20px;
    color: transparent;
    }

    12% {
        bottom: 25px;
        color: #000;
    }
    25% {
        bottom: 20px;
        color: white;
    }
    60% {
        bottom: 20px;
        color: rgb(255, 255, 255);
    }
    75% {
        bottom: 20px;
        color: transparent;
    }
    100% {
        bottom: -20px;
        color: transparent;
    }
}

/* MAPS EDITOR PANEL */

#mapEditor{
    display: none;
    width: 300px;
    overflow: hidden;
    height: calc(80vh - 45px);
    position: absolute;
    bottom: 8px;
    right: 10px;
    z-index: 1;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    background: #FFE2C1;
    border-radius: 3px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    overflow: visible;
    transition: all 0.4s ease;
}
#mapEditorButton{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 20vh;
    position: absolute;
    top: calc(-23% - 20px);
    gap: 20px;
}
#mapEditorButton > button{
    position: relative;
    top: 0px;
    left: -5px;
    width: 103%;
    height: 35%;
    border-radius: 6px;
    border: solid 2px black;
    background-color: rgb(255, 226, 193);
    
    box-shadow: 0px 5px 0px 0px black;
    transition: all 0.3s ease;
}
#mapEditorButton > button:hover{
    top: 5px;
    box-shadow: 0px 0px 0px 0px black;
}

#monsterImage {
    width: 173px; /* Set your desired width */
    height: 173px; /* Set your desired height */
    background-image: url('./icons/uiIcon/exclamation.png');
    background-size: cover;
    background-repeat: no-repeat;
    image-rendering: pixelated;
}

#lootImage {
    width: 100px; /* Set your desired width */
    height: 100px; /* Set your desired height */
    background-image: url('./icons/uiIcon/exclamation.png');
    background-size: cover;
    background-repeat: no-repeat;
    image-rendering: pixelated;
}

.attackMob-icon {
    border: solid 2.5px #b3a49654;
    outline: solid 2.5px #3939393d;
    border-radius: 3px;
    image-rendering: pixelated;
}

#monsterCreationAttacks {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    justify-content: space-between;
}

#monsterCreationParent {
    width: 300px;
    overflow: hidden;
    height: calc(100vh - 45px);
    position: absolute;
    bottom: 8px;
    right: 10px;
    z-index: 1;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    background: #FFE2C1;
    border-radius: 3px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    overflow: visible;
    transition: all 0.4s ease;
}

#monsterSelectionImageParent {
    width: 225px;
    flex-direction: row;
    overflow: hidden;
    justify-content: center;
    align-items: flex-start;
    max-height: calc(100vh - 60px);
    position: absolute;
    top: 0px;
    right: 341px;
    z-index: 1;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    background: #FFE2C1;
    border-radius: 3px;
    padding: 15px;
    display: none;
    flex-wrap: wrap;
    gap: 15px;
    image-rendering: pixelated;
    overflow: scroll;
}

#lootPanel {
    width: 390px;
    overflow: scroll;
    height: 390px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    background: #FFE2C1;
    border-radius: 3px;
    padding: 15px;
    display: none;
    gap: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
    transition: all 0.4s ease;
}
#lootPanelTop{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 15px;
    padding: 0px 12px;
}

#closeLootPanel{
   display: flex;
    width: 15px;
    height: 15px;
    padding: 2px;
    border: solid 2px black;
}

#chestCreatorParent {
    width: 390px;
    height: 390px;
    position: absolute;
    top: 50%;
    left: 50%;
    gap: 20px;
    transform: translate(-50%, -50%);
    z-index: 1;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    background: #FFE2C1;
    border-radius: 3px;
    padding: 15px;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    transition: all 0.4s ease;
}
#chestCreatorTitle{
   font-size: 20px;
    height: 10%; 
}
#chestCreatorParent > div{
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.chestCreatorChild{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 85%;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.chestCreatorChild > button{
    width: 170px;
    height: 205px;
    display: flex;
    border: solid 0px black;
    flex-direction: column;
    background-image: url('./icons/uiIcon/exclamation.png');
    background-color: transparent;
    background-size: cover;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    border: solid 2.5px #b3a49654;
    outline: solid 2.5px #3939393d;
    border-radius: 6px;
}

#chestCreatorPlaceChest{
    width: 75% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border: solid 2px black;
    box-shadow: 0px 4px 0px 0px black;
    position: relative;
    background-color: rgb(148, 223, 148) ;
    top: 0px;
    border-radius: 6px;
    transition: all 0.3s ease !important;
}
#chestCreatorResetChest{
   display: flex;
    width: 17%;
    height: 50px;
    border: solid 2px black;
    border-radius: 6px;
    position: relative;
    background-color: white;
    box-shadow: 0px 4px 0px 0px black;
    top: 0px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease !important;
}
#chestCreatorResetChest:hover{
    border: solid 2px black;
    box-shadow: 0px 0px 0px 0px black;
    position: relative;
    top: 4px;
    transition: all 0.3s ease !important;
}

#chestCreatorPlaceChest:hover{
    width: 100%;
    height: 50px;
    border: solid 2px black;
    box-shadow: 0px 0px 0px 0px black;
    background-color: rgb(148, 223, 148)  ;
    position: relative;
    top: 4px;
    transition: all 0.3s ease !important;
}

.mob-icon {
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    border-radius: 5px;
    background: transparent;
    border: solid 2.5px #b3a49654;
    outline: solid 2.5px #3939393d;
}

.itemImg-icon {
    border-radius: 5px;
    background: transparent;
    border: solid 2.5px #b3a49654;
    outline: solid 2.5px #3939393d;
}

#monsterCreationTop {
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#monsterCreationBottom {
    position: absolute;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    bottom: 0px !important;
    width: 200px;
    height: 130px;
    display: flex;
    right: 340px;
    gap: 15px;
    bottom: 0px;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    background: #FFE2C1;
    border-radius: 3px;
    padding: 10px;
    transition: all 0.4s ease;
}

#monsterCreationBottomTitle {
    position: absolute;
   top: 6px;
}

#monsterCreationTopInputs {
    display: flex    ;
    flex-direction: column;
    gap: 7px;
    width: 90%;
}

#lootCreationInputs {
    display: flex    ;
    flex-direction: column;
    gap: 7px;
    width: 40%;
}

#monsterCreationTitle {
    display: flex;
    align-items: center;
    gap: 15px;
}
  

.custom-cursor {
    position: absolute;
    z-index: 101;
    width: 50px; /* Set your desired width */
    height: 50px; /* Set your desired height */
    background-image: url('../cursors/default.png'); /* Replace 'path_to_your_image.png' with your image URL */
    background-size: cover; /* Adjust to fit your image */
    pointer-events: none; /* Ensures the cursor doesn't block mouse events */
  }

#introLogo {
    display: none;
    position: absolute;
    z-index: 15;
    
    height: 100vh;
    width: 100vw;
    background-color: black;
    pointer-events: none;
    transition: opacity 5s ease;
}

#introLogo > video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}

#introLogo-img {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 20px;
    /* transform: translate(-50%, -50%); */
    width: 150px;
    z-index: 16;
}

#openerScreen {
    height: 100vh;
    overflow: scroll;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: block;
    flex-direction: column;
    justify-content: flex-start;
}
#navbar {
    display: flex;
    padding: 15px 30px;
    width: calc(100% - 60px);
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    color: white;
    z-index: 20;
    align-items: center;
    transition: all 0.4s ease;

    a{
        color: white;
        display: flex;
        position: absolute;
        display: flex;
        text-decoration: unset;
    }
}
.navbarbg{
    background-color: #0b0120;
    box-shadow: 0px 0px 27px 24px #0b0120;
}
#navigationbutton{
    display: flex;
    width: 45%;
    justify-content: space-between;
}
#navbar.scrolled {
  background-color: #0b0120;
  box-shadow: 0px 0px 27px 24px #0b0120;
}

.navButton{
    position: relative;
    background-color: transparent;
    border: none;
    display: flex;
    color: white;
    font-size: 16px;
    z-index: 2;
    align-items: center;
    padding: 10px 20px;
    height: calc(45px - 20px);
    border-radius: 8px;
    overflow: visible;
    width: max-content;
    justify-content: center;
}
.navButton::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0px;
    width: 99%;
    height: 51%;
    background: white;
    border-radius: 100%;
    filter: blur(10px);
    opacity: 0;
    z-index: 1;
    transition: all 0.5s ease;
}

.navButton:hover::before {
    opacity: 0.2;
}
.loginNotPlaying{
    background-color: #ffffff !important;
    color: black !important;
    font-size: 16px !important;
    border-bottom: solid 6px #310da5;

}
#loginNotPlayingPanel{
    padding: 20px;
    display: none;
    position: absolute;
    background-color: #ffffff;
    right: 17px;
    top: 80px;
    width: calc(250px - 40px);
    border-radius: 12px;
    border: solid 4px #310da5;
    justify-content: end;
    align-items: center;
    box-shadow: 0px 5px #310da5;
    flex-direction: column;
    gap: 20px;
}
#loginNotPlayingIMG{
    position: absolute;
    right: -43px;
    display: none;
    width: 46px;
    background-repeat: no-repeat;
    background-size: cover;
    height: 47px;
    background-size: 950px;
    background-position-x: -58px;
    background-position-y: -50px;
    border: solid 5px #ffffff;
    border-radius: 50%;
    background-color: #000000;
    box-shadow: 0px 2px 0px 1px #310da5
}
#loginNotPlayingIMGTOPTRICK{
    position: absolute;
    right: -51px;
    top: -11px;
    display: flex;
    width: 59px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    height: 38px;
    background-size: 952px;
    background-position-x: -58px;
    background-position-y: -41px;
}




.glow-wrap {
    position: relative;
    width: 50px;
    height: 50px;
    display: inline-block;
}

.glow-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 60px;
    background: white;
    border-radius: 50%;
    filter: blur(15px);
    z-index: 1;
    animation: pulseGlow 2.5s infinite;
}

.glow-wrap img {
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 2;
    display: block;
    border-radius: 50%;
    border: solid 2px white
    ;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
}

#homePage {
    width: 100vw;
    background-repeat: repeat;
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-start;
}
#loginArt {
    display: flex;
    width: 100%;
    height: 100vh;
    pointer-events: none;

    /* position: absolute; */
    left: 0;
    top: 0;

    background-color: black;

    transition: all .5s ease;
}
#loginArt > div {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #0a021c;
    background-color: #0a021c;
    animation: fadeInOpacity 6s forwards;
}
@keyframes fadeInOpacity {
    from {
        opacity: 0.1;
    }
    to {
        opacity: 0.7;
    }
}
#homePageText{
    display: flex;
    flex-direction: column;
    position: absolute;
    color: white;
    top: 30%;
    left: 5%;
    max-width: 590px;
    opacity: 0;
    animation: fadeInOpacityHomePageText 8s forwards;
}
@keyframes fadeInOpacityHomePageText {
    0% {
        opacity: 0;
    } 
    20%{
    opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
#homePageText > h1{
    font-size: 220px;
    font-family: "Jersey 15", sans-serif !important;
    font-weight: 400;
    font-style: normal;
    text-shadow: 7px 7px #000000;
}
#homePageText > p{
    display: flex;
    position: relative;
    font-size: 18px;
    top: -18px;
    left: 3px;
    text-align: justify;
}
#homePageText > div{
    display: flex;
    flex-direction: row;
    gap: 25px;
}

#downloadButton:hover{
    background-color: rgb(82, 11, 215);
    border: solid 2px rgb(45, 5, 118);
    color: white;
}

#discordButton {
    background-color: #5865f2;
    border: solid 2px rgb(15, 25, 53);
    color: white;
    margin-top: 28px;
    text-decoration: none;
    height: 47px;
    font-size: 15px;
    font-weight: 100;
}

#discordButton:hover{
    background-color: #717cf5;
    border: solid 2px rgb(255, 255, 255);
    color: white;
}

#discordButton > img {
   height: 30px;
   margin-right: 10px;
}


.homePageTextButton{
    display: flex;
    position: relative;
    top: 0px;
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: solid 2px #000000;
    box-shadow: 0px 4px 0px 1px black;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden; 
    background-color: white; 

}
.homePageTextButton:hover{
    top: 4px;
    box-shadow: 0px 0px 0px 0px black;
    background-color: #25c006; 
    border: solid 2px #135705;
    color: white;
}
.homePageTextButton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 5%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(0, 0, 0, 0) 0%,
        rgb(255, 255, 255) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
}
.homePageTextButton:hover::after {
    animation: shine 0.7s forwards;
}
@keyframes shine {
    from {
        left: -75%;
    }
    to {
        left: 125%;
    }
}

/* NEW PAGE  */
#pillarAnim{
    display: block;
    height: 980px;
    width: 315px;
    position: absolute;
    top: 220px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 2s ease;
    pointer-events: none;
    transform: translateY(30);
}
.visible{
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}
#newsPage{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 30px 20px;
    width: calc(100vw - 40px);
    height: calc(100vh - 60px);
    background-color: #0B051C;
    gap: 120px;
    overflow: hidden;
    background:
        linear-gradient(
            to top,
            rgba(11, 5, 28, 0) 0%,  /* fully transparent until halfway */
            #0B051C 80%             /* solid color at the bottom */
        ),
        url(./Textures/sardinBack.png);
    background-size: 100px;
    background-repeat: repeat;
}

#newsPageTitle{
    height: calc(100% - 120px);
    display: flex;
    flex-direction: column;
    overflow: visible;
}
#titleAnim{
    transform: translateY(-30px);
    opacity: 0;
    position: relative;
    font-size: 150px;
    font-family: "Jersey 15", sans-serif !important;
    font-weight: 400;
    font-style: normal;
    color: white;
    text-shadow: 
    0 0 1px #420baf, 
    0 0 3px #420baf, 
    0 0 3px #420baf, 
    0 0 58px #420baf, 
    0 0 30px #420baf;

    transition: all 2s ease;
}

#newsPageIMGdiv{
    display: flex;
    flex-direction: column;
    height: calc(100% - 150px);
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    gap: 30px;
    padding: 20px;
    width: calc(50% - 40px);
    margin-top: 120px;
    overflow: visible;
    transition: all 3s ease;
}

.divAnim{
    position: relative;
    overflow: hidden; 
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    width: 100%;
    max-width: 800px;
    height: 245px;
    border-radius: 12px;
    padding: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow:
            0 0 1px #420baf,
        0 0 1px #420baf,
        0 0 1px #420baf,
        0 0 1px #420baf,
        0 0 20px #420baf;

    transition: all 3s ease;
    align-items: flex-start;
    border: solid 1px #ffffff;

}

.divAnim::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,rgba(18, 5, 56, 0.76) 0%, rgba(29, 18, 79, 0.71) 12%, rgba(47, 0, 255, 0) 100%);
  transition: all 0.5s ease;
  z-index: 0;
}
.divAnim:hover::before {
  background: rgba(18, 5, 56, 0.7); /* assombrit au hover */
  backdrop-filter: blur(3px);
  outline: solid 1px white;
  outline-offset: -10px;
}
.divAnim > * {
  position: relative; /* pour que le contenu reste au-dessus du ::before */
  z-index: 1;
}

.divAnim > p,
.divAnim > h1 {
    padding: 0px 50px;
    height: 0px;
    opacity: 0;
    color: white;
    text-align: center;
    transform: translateY(10px);
    transition: all 0.4s ease;
    text-align: left;
}

.divAnim > h1 {
    margin-bottom: 10px;
    opacity: 1;
    height: auto;
    text-shadow: 2px 2px black, 0px 0px 20px #ffffff75;
    /* background: rgba(18, 5, 56, 0.7); */
}

.divAnim:hover > p,
.divAnim:hover > h1
 {
  opacity: 1;
  transform: translateY(0); 
  height: auto;
}

#languageSetting{
    display: none;
    width: 385px;
    justify-content: space-between;
    position: relative;
}

.languageSetting-button{
    text-align: center;
    width: 90px;
    height: 25px;
    border: 2px solid white;
    border-radius: 3px;
    background-color: white;
    border-style: none;
    transition: all .2s ease;
    font-size: 14px;
}
.languageSetting-button:hover{
    background-color: rgb(171, 255, 93);
    border: 2px solid rgb(171, 255, 93);
    border-style: none;
    color: black;
}

.animIntro {
    opacity: 1;
    animation: animIntro 1s ease forwards;
}

@keyframes animIntro {
    0% {
        opacity: 1;
        display: flex;
    }
    5% {
        opacity: 1;
        display: flex;
    }
    99% {
        opacity: 0;
        display: flex;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

#canvas-lobby {
    height: calc(100vh - 0px);
    width: calc(100vw);
    filter: sepia(0%) hue-rotate(0deg) saturate(1) contrast(1) brightness(1);
    transition: filter 10s ease;
}

#blackScreen {
    width: 100vw;
    height: 100vh;
    background: black;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

#youDied {
    display: none;
    position: absolute;
    z-index: 1;
    color: white;
    opacity: 0;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    animation: opacityUp 1s ease 2s forwards;
}

#respawn {
    display: none;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    color: black;
    opacity: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    padding: 10px 40px;
    animation: opacityUpRespawn 2s ease forwards;
    background: #FFE2C1;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    border-radius: 4px;
    padding: 4px 12px;
    width: 392px;
    height: 99px;
}

.barContainer{
    width: 70px !important;
    position: absolute;
    top: 30px;
    right: 7px;
    background-color: transparent;
    height: 20px;
    z-index: 0;

}
.skillBar {
    height: 20px;
    bottom: 15px;
    /* width: 100% !important; */
    max-width: 100%;
    background: #60c560;
    position: absolute;
    border-right: solid 3px #493e29;
    top: 0px;
    top: 0px;
    z-index: 1;
}

#areaName {
    position: absolute;
    color: white;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -50%);
    font-size: 145px;
    /* text-decoration: underline; */
    text-shadow: 0 0 20px rgb(209, 209, 209);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    z-index: 99;
}
#timer{
    display: none;
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 158%);
    border-radius: 2px;
    font-size: 50px;
    color: white;
    width: 50px;
    height: 25px;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    text-shadow: 0 0 12px black;
    font-weight: 100;
    animation: timer 1s ease forwards;
    z-index: 1;
}

@keyframes timer {
    0% {
        font-size: 0px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    20% {
        font-size: 80px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    80% {
        font-size: 80px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    100% {
        font-size: 50px;
        top: 5%;
        left: 5%;
        transform: translate(0%, 0%);
    }
}

#tradeScreen {
    position: absolute;
    display: none;
    width: 500px;
    height: 500px;
    background: url("./Textures/backGeneral.png");
    background-size: cover;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    transition: all .5s ease;
    pointer-events: all;
    z-index: 1;
}

#tradeScreen h1 {
    font-size: 40px;
}

#tradeScreen p {
    text-align: justify;
    /* margin-top: 22px; */
    font-size: 19px;
    width: 90%;
    color: #00000075;
}

#tradeScreen img {
    height: 139px;
    margin: 17px;
    border: solid 6px #0000003b;
    background: #b8b8b870;
}

#partyScreen {
    position: absolute;
    display: none;
    width: 500px;
    height: 500px;
    background: url("./Textures/backGeneral.png");
    background-size: cover;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    transition: all .5s ease;
    pointer-events: all;
    z-index: 1;
    gap: 36px;
}

#settingsScreen {
    position: absolute;
    width: 500px;
    height: 500px;
    background: url("./Textures/backGeneral.png");
    background-size: cover;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    transition: all .5s ease;
    pointer-events: all;
    z-index: 1;
    gap: 30px;
}


#settingsScreen > div {
    display: flex;
    flex-direction: column;
}

#settingsScreen > div > label {
    font-size: 24px;
    text-align: center;
    color: #3D07A7;
}

#partyScreen h1 {
    font-size: 40px;
}

#partyScreen p {
    text-align: justify;
    /* margin-top: 22px; */
    font-size: 19px;
    width: 90%;
    color: #00000075;
}


#informationButton{
    display: none;
    position: absolute;
    z-index: 1;
    right: 46%;
    top: 10px;
    width: 150px;
    height: 50px;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 30px;
    background-color: rgb(148, 223, 148) ;
    border: solid 3px rgb(0 0 0);
    box-shadow: 0px 4px 0px 1px black;
    transition: all 0.3s ease;
}

.slider {
    -webkit-appearance: none; /* Remove default look in Chrome/Safari */
    appearance: none;
    width: 400px;
    height: 20px;              /* This affects the track thickness */
    background: #ccc;
    border-radius: 5px;
    outline: none;
    margin-top: 16px;
    border: solid 2px #3d07a7;
    border-radius: 7px;
  }
  
  /* Webkit browsers (Chrome, Edge, Safari) - track */
  .slider::-webkit-slider-runnable-track {
    height: 20px;
    background: linear-gradient(90deg,  #7b76fb, #7b76fb);
    border-radius: 5px;
  }
  
  /* Webkit browsers - thumb */
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #3c07a7;
    border: 2px solid  #300a7c;
    margin-top: -5px; /* centers thumb on track */
  }

  /* Stamina bar */
  #stamina-bar {
    position: fixed;
    bottom: 181px;
    left: 50%;
    transform: translateX(-50%);
    width: 356px;
    height: 30px;
    background: rgb(183 45 36);
    border: 3px solid #000000;
    border-radius: 6px;
    overflow: hidden;
    display: none;
    z-index: 2;
    box-shadow: 0px 4px black;
  }

  #stamina-fill {
    height: 100%;
    width: 100%;
    background: #62df62 !important;
    border-right: 3px solid black;
    transition: width 0.1s linear, background 0.2s;
  }
  
  /* Firefox - track */
  .slider::-moz-range-track {
    height: 20px;
    background: linear-gradient(90deg,  #7b76fb, #7b76fb);
    border-radius: 5px;
  }
  
  /* Firefox - thumb */
  .slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 10%;
    background: #3c07a7;
    border: 2px solid #3c07a7;
  }

  #tutorialWindow {
    width: 500px;
    /* max-height: 74vh; */
    /* overflow: scroll; */
    padding: 30px;
    position: absolute;
    top: 32px;
    left: 32px;
    transform: scale(0.9);
    z-index: 2;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border: 1px solid white;
    border-radius: 13px;
    backdrop-filter: blur(5px) brightness(1);
    box-shadow: 0 0 26px #000000ad;
    transition: all 1s ease;
    opacity: 0;
    pointer-events: none;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    background: #ffe2c1;
  }
 
  #tutorialWindow > img {
    width: 100%;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    border-radius: 10px;
  }

  #tutorialWindowKeysIMG {
    height: 201px !important;
    width: auto !important;
    border: none !important;
    border: none !important;
    outline: none !important;
    border-radius: none !important;
  }
  
  #tutorialWindow > h1 {
    font-weight: 400;
    margin: 0;
    background: #eccbba;
    padding: 20px;
    border-radius: 10px;
    text-align: justify;
    font-size: 26px;
  }

  #tutorialWindow > h2 {
    font-weight: 400;
    margin: 0;
    /* background: #eccbba00; */
    padding: 10px 0;
    border-radius: 10px;
    font-size: 52px;
    text-shadow: 4px 4px #00000029;
    color: #473223;
    background: #eccbba;
    width: 100%;
    text-align: center;
  }



#informationButton:hover{ 
    top: 18px;
    border-radius: 30px;
    background-color: rgb(255, 0, 0);
    box-shadow: 0px 0px 0px 0px black;
}
#uiBuilding {
    position: absolute;
    bottom: 90px;
    left: 12px;
    align-items: flex-end;
    padding: 10px 3px;
    border-radius: 3px;
    display: none;
    gap: 10px;
    overflow-y: auto;
    border: solid 0px #b3a496;
    outline: solid 0px #393939;
    z-index: 1;
    transition: all 0.4s ease;
}
#uiBuildingObjects{
    position: absolute;
    display: none;
    right: 10px;
    bottom: 8px;
    width: 300px;
    height: calc(100vh - 22px);
    overflow-y: auto;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    z-index: 2;
    background: #FFE2C1;
    border-radius: 4px;
    transition: right 0.4s ease;
}
#uiBuildingCategory{
    display: none;
    flex-direction: column;
    position: absolute;
    right: 325px;
    gap: 10px;
    text-align: right;
    justify-content: space-between;
    z-index: 1;
    height: calc(100vh - 20px);
    padding: 10px 0px;
    width: 100px;
    transition: right 0.4s ease;
}
#uiBuildingCategoryDiv{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    width: 100%;
}
#uiBuildingCategoryDivBottom{
    flex-direction: row;
    display: flex;
    gap: 15px;
    position: absolute;
    bottom: 7px;
    right: 0px;
    align-items: end;
    justify-content: center;
}
#uiBuildingCategoryDivBottom > div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#uiBuildingCategoryDivBottomPlaceWall{
    gap: 15px !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: flex-end;
}
#uiBuildingCategoryDivBottomPlaceWall > div{
    display: flex;
    gap: 10px !important;
    flex-direction: column;
}
#uiBuildingCategoryDivVisibility{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    right: 50%;
    position: absolute;
    bottom: 10px;
    z-index: 1;
    transition: all 0.4s ease;
}
#uiBuildingCategoryDivVisibility:hover{
    bottom: 6px;
    z-index: 10;
    transition: all 0.4s ease;
}
#uiBuildingCategoryDivVisibility > img{
    background: rgb(148, 223, 148) ;
    width: 50px;
    height: 50px;
    padding: 3px;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: solid 2px black;
    box-shadow: 0px 4px 0px 0px black;
    border: solid 2px black;
    transition: all 0.4s ease;
}
#uiBuildingCategoryDivVisibility > img:hover{
    background: rgb(255, 0, 0);
    box-shadow: 0px 0px 0px 0px black;
}
.uiButtonBG{
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    background: #ffe2c1;
    width: 50px;
    height: 50px;
    padding: 3px;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
}
.displayNone{
    display: none;
}
#uiBuildingCategoryDiv > p {
    padding: 4px;
    border: solid 2px #b3a496;
    outline: solid 2px #393939;
    border-radius: 4px;
    background: #ffe2c1;
    width: 87%;
}
#uiBuildingCategoryDiv > p:hover {
   background-color: rgb(148, 223, 148);
}
.uiBuildingDiv{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 20px;
    padding: 10px 10px;
}
.uiBuildingDiv > p {
    width: 100%;
    font-size: 20px;
    padding: 10px;
    margin-top: 10px;
    text-align: end;
    font-weight: 600;
}


.mapCreationParent {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 0px 0px 10px;
    overflow: scroll;
    margin-bottom: 7vh;
}
.mapCreationParent > h1 {
    font-size: 27px;
    margin: 0;
}
.mapCreationParent > input {
    border: none;
    width: 78%;
    padding: 5px 15px;
    background: white;
    height: 4vh;
    border-radius: 4px;
    border: solid 1px #00000052;
    box-shadow: 3px 3px #0000003b;
}
#createMapButton {
    position: absolute;
    bottom: 15px;
    width: 80%;
    padding: 5px 15px;
    background-color: #c0b9b9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 6vh;
    font-size: 20px;
    border-radius: 4px;
    border: solid 1px #00000052;
    box-shadow: 0px 0px #0000003b;
    transition: all 0.3s ease;
}
#createMapButton.active:hover {
    bottom: 15px !important;
    box-shadow: 0px 0px #0000003b !important;
}
#createMapButtonPopUp{
    display: none;
    position: absolute;
    border: solid 1px black;
    font-size: 13px;
    width: 100px;
    padding: 5px;
    background-color: #df7979;
    border-radius: 6px;
    box-shadow: 0px 2px 2px 0px black;
    top: -16px;
    right: -12px;
}
#createMapButton.disabled:hover #createMapButtonPopUp{
    display: flex;
}
.creationMapTexteArea {
    border: none;
    background: white;
    position: relative;
    height: 30px;
    border-radius: 4px;
    border: solid 1px #00000052;
    box-shadow: 3px 3px #0000003b;
    height: 160px !important;
    width: 76%;
    padding: 15px 15px;
    transition: all 0.3s ease;
}

.mapInfoDropdown {
  position: relative;
  display: inline-block;
  width: 87%;
}
.mapInfoDropdownButton {
    position: relative;
    top: 0px;
    width: 100%;
    padding: 5px 15px;
    background-color: #ffffff;
    height: 5vh;
    border-radius: 4px;
    border: solid 1px #00000052;
    box-shadow: 3px 3px #0000003b;
    transition: all 0.3s ease;
}
.mapInfoDropdownButton:hover {
    top: 3px !important;
    box-shadow: 0px 0px #0000003b !important;
}
.mapInfoDropdownContent {
    max-height: 250px;
    display: none;
    position: absolute;
    background-color: white;
    min-width: 100%;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: center;
    border-radius: 5px;
    overflow: scroll;
}
.mapInfoDropdownContent > p {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.mapInfoDropdownContent > p:hover {
  background-color: #f1f1f1;
}

.editionSettingBottom{
    position: absolute;
    bottom: 20px;
    justify-self: center;
    align-self: center;
    display: flex;
    flex-direction: row;
    width: 85%;
    gap: 35px;
}
.editionSettingBottomButton{
    position: relative;
    top: 0px;
    display: flex;
    width: 90%;
    padding: 5px 15px;
    background-color: #94DF94;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4.5vh;
    font-size: 13px;
    border-radius: 4px;
    border: solid 1px #00000052;
    box-shadow: 3px 3px #0000003b;
    transition: all 0.3s ease;
}
#editMapsSaveSettingDelete{
    background-color: #FF0000;
}
.editionSettingBottomButton:hover{
    top: 3px;
    box-shadow: 0px 0px #0000003b;
}
.disabled-button {
  background-color: rgb(192, 185, 185) !important;
  box-shadow: 0px 0px rgb(0, 0, 0) !important;
  top: 3px !important;
}



#uiBuildingToolsDiv {
    position: relative;
    top: 0;
    /* left: -50px; */
    /* margin-bottom: -343%; */
    align-self: flex-start;
    display: flex
;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#uiBuildingToolsDiv > h1 {
    margin: 10px 0 10px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 18.5px;
    color: #1d1d1d;
    background: transparent;
    border: solid 2.5px #b3a496;
    outline: solid 2.5px #393939;
}

#uiBuildingToolsDiv > img:hover {
    top: -3px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.142);
    background-color: rgb(148, 223, 148) !important;
}

.buildObject {
    height: 24px;
    width: 24px;
    /* For better browser support, you can add these too: */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* for IE */
}

* {
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* for IE */
}

.buildObjectParent {
    flex-shrink: 0;
    position: relative;
    top: 0;
    width: 50px;
    height: 50px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: hue-rotate(0deg);
    transition: all .2s ease;
    box-shadow: none;
    
    border: solid 2.5px #b3a49654;
    outline: solid 2.5px #3939393d;
    transition: all .2s ease;
    overflow: hidden;

    border-radius: 5px;
}

.buildObjectParent:hover {
    filter: none;
    top: -5px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.142);
}

.buildObjectParent:active {
    filter: saturate(1.3) brightness(1.2);
    top: -10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.142);
}

/* EDIT MAPS */

#popupDeleteAllObjParent{
    width: 100vw;
    height: 100vh;
    display: none;
    position: absolute;
    z-index: 2;

}
#popUpBlackscreen{
    display: none;
    position: absolute;
    background-color: #5f141085;
    width: 100vw;
    height: 100vh;
    z-index: 23;
    
}
#popupDeleteAllObjChild{
    width: 235px;
    height: 125px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFE2C1;
    border-radius: 6px;
    padding: 20px;
    gap: 15px;
}
#popupDeleteAllObjChild > p{
    text-align: center;
}
#popupDeleteAllObjChild > div{
    display: flex;
    gap: 20px;
}
.editMapsSaveSettingButton{
    position: relative;
    top: 0px;
    width: 70px;
    height: 35px;
    background-color: white; 
    border: solid 1px black;
    border-radius: 5px;
    box-shadow: 0px 3px 0px black;
    transition: all 0.2s ease;
}
.editMapsSaveSettingButton:hover{
    top: 3px;
    box-shadow: 0px 0px 0px black;
}

#deleteAllObjButton:hover {
  background-color: #94DF94;
}
#deleteAllObjButtonCancel:hover {
  background-color: #E47681;
}


/* //PLACE AREA */
#placeArea{
    position : absolute;
    bottom: 104px;
    left: 119px;
    /* transform: translate(0%, -50%); */
    align-items: flex-end;
    /* padding: 0 !important; */
    padding: 10px;
    background: white;
    border-radius: 3px;
    display: none;
    flex-direction: column;
    gap: 22px;
    max-height: 766px;
    width: 60px;
    overflow-y: auto;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    z-index: 1;
    background: #FFE2C1;
}
#placeArea > img:hover{
    top: -3px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.142);
    background-color: rgb(148, 223, 148) !important;
}

/* //FILTER UI CONSTRUCTION// */
.filterUiConstruction{
  position: relative;
  justify-content: flex-end;
  display: flex; 
  width: 95%;
}
.filter-container {
    position: relative;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.filter-label {
    width: 44px;
    padding: 8px 12px;
    cursor: pointer;
    border: 2px solid #393939;
    border-radius: 4px;
    text-align: center;
}
.filter-labelSelected {
    width: 100%;
}

.filter-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  display: none; 
  z-index: 10;
  min-width: 120px;
  text-align: right;
}

.filter-container:hover .filter-dropdown {
  display: block; 
}

.filterSubCategoryConstruction {
  padding: 8px 12px;
  cursor: pointer;
}

.filterSubCategoryConstruction:hover {
  background-color: #e0ffe0;
}
/* //FILTER UI CONSTRUCTION // */

#playerTradeId{
    margin-top: 30px;
    /* height: 40px; */
    width: 200px;
    padding: 10px;
    background: #e9dbce;
    border: solid 6px;
    font-size: 18px;
}
#playerPartyId{
    margin-top: 30px;
    /* height: 40px; */
    width: 200px;
    padding: 10px;
    background: #e9dbce;
    border: solid 6px;
    font-size: 18px;
}

#partyMembers {
    min-width: 200px;
    min-height: 50px;
    z-index: 2;
    background: #FFE2C1;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    border-radius: 4px;
    padding: 4px 12px;
    position: absolute;
    left: 20px;
    top: 20px;
    display: none;
}

.partyMembers-member {
    color: #000000a1;
    margin: 5px 0px;
    background-color: #0000000f;
    padding: 5px;
    border-radius: 3px;
}

#tradeScreen button {
    width: 200px;
    height: 57px;
    border: solid 6px black;
    background: #a9ffa9;
    font-size: 19px;
}
#partyScreen button {
    width: 200px;
    height: 57px;
    border: solid 6px black;
    background: #a9ffa9;
    font-size: 19px;
}

#tradeScreen button:hover {

    background: #90c3fd;
}

/* playerHeartParent */
#playerHeart{
    display: flex;
    position: absolute;
    top: 20px;
    left: 50%;
    gap: 5px;
    transform: translate(-50%, -0%);
    z-index: 1;
}
.heart {
    width: 32px;
    height: 30px;
    background-image: url('./icons/uiIcon/fullHeart.png');
    background-size: cover;
}
.halfHeart{
    width: 32px;
    height: 30px;
    background-image: url('./icons/uiIcon/halfHeart.png');
    background-size: cover;
}
.emptyHeart {
    width: 32px;
    height: 30px;
    background-image: url('./icons/uiIcon/emptyHeart.png'); 
    background-size: cover;
}

/* UI LABEL ORGANISATION */
#uiButtonParent{
    position: absolute;
    right: -10vh;
    width: -53vh;
    height: calc(100vh - 50px);
    display: none;
    flex-direction: column;
    padding: 38px 0px;
    justify-content: space-between;
    background-color: transparent;
    transition: all 0.5s ease;
}
.uiButtonChild{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 30px 0px 15px;
}
.uiLabel{
    width: 75px;
    z-index: 1;
}
#uiButtonOpener{
    position: absolute;
    top: 13px;
    right: 8vh;
    transition: all 0.5s ease;
}

#errorPopUp, #partyPopUp {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translate(-50%, 0);
    width: calc(554px - 40px);
    padding: 0 20px 10px 20px;
    height: calc(105px - 10px);
    text-align: center;
    background: url(./Textures/errorPopUp.png);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

#partyPopUp {
    filter: hue-rotate(90deg);
}

/* UI LABEL ORGANISATION */
#ui{
    display: none;
    background: url(./ui/uiBackground.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: calc(100vh);
    width: 100vw;
    max-width: 40.5vh;
    min-width: 40.5vh;
    overflow: hidden;
    /* border-bottom: solid 20px var(--backgroundObjects); */
    /* border-right: solid 20px var(--backgroundObjects); */
    /* border-left: solid 3px rgb(26, 26, 26); */
    position: absolute;
    top: 0;
    right: -45.5vh;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* outline: none 8px var(--backgroundObjects); */
    /* outline-offset: -8px; */
    /* border-radius: 0px 0 0 0px; */
    /* box-shadow: -10px 0 10px rgba(0, 0, 0, 0.412); */
    overflow-x: hidden;
    transition: all 0.5s ease;
}
/* PROFILE <*/
#uiProfile {
    display: none;
    width: calc(100% - 80px);
    height: calc(100% - 90px);
    justify-content: flex-start;
    flex-direction: column;
    padding: 45px 40px;
}
#uiProfile::-webkit-scrollbar {
    display: none;
}
#uiProfileUserName{
    display: flex;
    gap: 20px;
}
#uiProfileRank{
    display: flex;
    width: 20%;
}
#uiProfileUsernameAndLevel{
    display: flex;
    flex-direction: column;
}
#CoinsAmountParent{
    display: flex;
    flex-direction: row;
    position: absolute;
    gap: 15px;
    right: 50px;
    top: 50px;
}
#playerCoinsAmount {
    font-size: 30px;
}
#coinPng{
    width: 30px;
}

#uiProfileSkillAndAppearance{
    height: 360px;
    width: calc(100% - 30px);
    display: flex;
    flex-direction: row;
    padding: 15px;
    justify-content: space-around;
}
#skillLevels{
    display: flex;
    flex-direction: column;
    gap: 10px;
    
}
.individualSkill{
    position: relative;
    
}
.individualSkillNum{
    position: absolute;
    right: 0px;
    top: 7px;
}
.individualSkillImg{
    width: 130px;
    position: relative;
    z-index: 2;
}

#itemTooltip {
   position: fixed;
    /* background-color: black; */
    opacity: 0;
    color: #3c2c23;
    padding: 8px;
    border-radius: 4px;
    pointer-events: none;
    display: none;
    z-index: 1000;
    font-size: 14px;
    width: 237px;
    height: 350px;
    background-image: url(./ui/commonTooltip.png);
    background-size: cover;
    animation: opacityUp 0.2s ease 0.5s forwards;
}

#itemTooltip > h1 {
    font-weight: 400;
    margin: 0;
    position: absolute;
    top: 26px;
    left: 29px;
    font-size: 17px;
}
#itemTooltip > h2 {
    font-weight: 400;
    font-size: 17px;
    margin: 0;
    position: absolute;
    top: 69px;
    left: 169px;
}
#itemTooltip > h3 {
    font-weight: 400;
    font-size: 17px;
    margin: 0;
    position: absolute;
    left: 216px;
    top: 24px;
}
#itemTooltip > h4 {
    font-weight: 400;
    font-size: 17px;
    margin: 0;
    position: absolute;
    left: 169px;
    top: 100px;
}
#itemTooltip > h5 {
    font-weight: 400;
    font-size: 17px;
    margin: 0;
    position: absolute;
    left: 169px;
    top: 124px;
}
#itemTooltip > h6 {
    font-weight: 400;
    font-size: 17px;
    margin: 0;
    position: absolute;
    top: 149px;
    left: 169px;
}
#itemTooltip > p {
    position: absolute;
    top: 217px;
    left: 37px;
    width: 182px;
    text-align: justify;
}
#itemTooltip > img {
    position: absolute;
    height: 121px;
    top: 67px;
    left: 22px;
}

.enchanted {
  position: relative;
  overflow: hidden;
  border-radius: 22px !important;
  /* isolation: isolate; */
}

/* Blurred blobs container */
.enchanted::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle at 20% 30%, rgba(170, 0, 255, 0.336) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(0, 255, 255, 0.2) 0%, transparent 60%),
              radial-gradient(circle at 40% 80%, rgba(255, 255, 0, 0.2) 0%, transparent 50%);
  /* mix-blend-mode: screen; */
  filter: blur(100px);
  animation: blobShift 3s infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes blobShift {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  50% {
    transform: translate(-20%, -10%) rotate(360deg);
  }
  100% {
    transform: translate(0%, 0%) rotate(0deg);
  }
}


#uiSkinsImgParent{
    background: url(./ui/uiInventoryBackgroundPlayer.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 50%;
    /* width: 90%; */
    /* height: auto; */
    justify-content: center;
    display: flex;
    align-items: center;
}
#uiSkinsImg {
    position: relative;
    width: 325px;
}
#uiProfileCurrentClothing{
        display: flex;
    flex-direction: column;
    display: flex;
    justify-content: space-between;
    /* gap: 13px; */
    padding: 15px;
    flex-wrap: wrap;
}
.inventorySlotBG {
    flex-basis: 20%;
    background: url(./ui/uiInventoryBackground.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 50%;
    /* box-shadow: 0px 2px #1C140E; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 0;
    filter: brightness(1);
    transition: all .2s ease;
    /* width: 100%; */
    flex-basis: 25%;
    opacity: 1;
}

.inventorySlotBG:hover {
    top: 0px;
    box-shadow: 0px 0px #1C140E;
    filter: brightness(1.1);
}

#uiProfileCurrentStrengthInformation{
    height: 120px;
    display: flex;
    text-align: justify;
    justify-self: center;
    width: calc(100% - 20px);
    padding: 0 10px;
}
/* PROFILE >*/

#musicPlayer {
    width: 250px;
    position: absolute;
    z-index: 1;
    left: 10px;
    bottom: 103px;
    display: none;
    background: url(./Textures/musicPlayer.png);
    background-size: cover !important;
    height: 300px;
}

#musicPlayerSlider {
    position: absolute;
    top: 123px;
    left: 33px;
    width: 89px;
}

#musicPlayerPlay {
    width: 70px;
    height: 70px;
    position: absolute;
    bottom: 56px;
    left: 91px;
}

/* INVENTORY < */
.titleUI{
    position: relative;
    width: 100%;
    text-align: center;
    font-size: 30px;
    margin: 0px 0px 15px;
}
#uiInventory{
    display: none;
    width: calc(100% - 80px);
    height: calc(100% - 140px);
    padding: 70px 40px;
    display: none;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: baseline;
    justify-content: center;
    position: relative;
    /* right: 6%; */
    gap: 20px;
}

#BookParent{
    width: 950px;
    height: 628px;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* padding: 10% 0% 10% 5%; */
    position: absolute;
    background: url('./ui/uiBookBackground.png');
    background-size: cover;
    z-index: 1;
}
.chapterIcon{
    width: 50px;
}

.bookOrganisation{
    display: flex;
    padding: 40px 70px 75px 70px;
    flex-direction: row;
    width: calc(100% - 70px - 70px);
    justify-content: space-between;
    gap: 75px;
}
.leftPage{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 25px;
    overflow: hidden;
    overflow: auto;
    
}
.rightPage{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 50%;
    justify-content: flex-start;
    align-items: center;
}
.tittleBookSection{
    font-size: 40px;
    color: #b8ab88;
    text-align: center;
}
#uiBookChapterParent{
    position: absolute;
    display: flex;
    top: -50px;
    left: 60px;
    width: 50%;
    gap: 15px;
}
.uiBookChapter{
    background: url(./ui/uibookBackgroundTag.png);
    background-size: cover;
    /* position: absolute; */
    display: flex;
    width: 45px;
    height: 50px;
    border: none;
    /* padding: 15px; */
    font-size: 23px;
    color: #b8ab88;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

.nameBookFish{
    font-size: 40px;
    color: #b8ab88;
    text-align: center;
    width: 85%;
}
.ImgBookFish{
    display: flex;
    width: 300px;
    justify-self: center;
    margin: 20px 0px;
}
.descriptionBookFish{
    width: 90%;
    position: relative;
    text-align: justify;
}
.fishIcon{
    width: 70px;
}
.bookTag{
    display: flex;
    height: 7%;
   
    border: solid 2px #d5c9ab;
    background-color: transparent;
    flex-direction: row;
    text-align: center;
    align-items: center;
    gap: 10px;
    transition: all .2s ease;
    color: black;
}
.bookTag:hover{
    color: white;
    background-color: #d5c9ab;
}

.descriptionBookHistory{
    text-align: justify;
    font-size: 14px;
    margin-top: 50px;
    color: #000000cc;
    line-height: 22px;
    padding: 0 23px;
}
.ImgBookHistory{
    height: 100%;
    width: 200%;
    position: relative;
    right: 190px;
    filter: sepia(1) contrast(0.7) brightness(1.2);
}
#deleteInventoryButton{
    display: flex;
    position: relative;
    /* bottom: 51px; */
    margin-top: 15px;
    width: 100%;
    height: 60px;
}

#trashIcon {
    position: absolute;
    width: 3vw;
    right: 14px;
}

.closeBookButton{
    position: absolute;
    top: 35px;
    right: 70px;
    filter: sepia() brightness(1.6);
    transition: all 0.5s ease;
    width: 45px;
    height: 45px;
    z-index: 3;
}
.closeBookButton:hover{
    filter:none;
}

/* INVENTORY > */
#uiSoulCollection{
    display: none;
    width: calc(100% - 80px);
    height: calc(100% - 140px);
    padding: 70px 40px;
    display: none;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: baseline;
    justify-content: center;
    position: relative;
    /* right: 6%; */
    gap: 20px;
}
#uiQuest{
    display: none;
    width: calc(100% - 80px);
    /* height: calc(100% - 90px); */
    padding: 45px 40px;
    flex-wrap: wrap;
    gap: 20px;
}
#uiBooks{
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 20%;
    flex-wrap: wrap;
    gap: 30px;
    width: calc(100% - 80px);
    padding: 45px;
}
.uibooks {
    display: flex;
    width: 80px;
    height: 100px;
    box-shadow: 5px 5px #0000003d;
    position: relative;
    top: 0px;
    left: 0px;
    transition: all .2s ease;
}

.uibooks:hover {
    box-shadow: 10px 10px #0000003d;
    top: -5px;
    left: -5px;
}

/* UI DEVELOPPER ORGANISATION */

.settingButtons{
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 80%;
    text-align: center;
    height: 50px;
    border: solid 2px #300a7c;
    box-shadow: 0px 3px 0px #300a7c;
    color: #300a7c;
    background-color: transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    top: 0px;
}

.settingButtons:hover{
    box-shadow: 0px 0px 0px #7B76FB;
    background-color: #7B76FB;
    top: 3px;
}


#uiDev {
    position: absolute;
    left: 0;
    top: 0;
    width: 41px;
    height: calc(100vh - 22px);
    background-color: rgb(30 26 37 / 0%);
    backdrop-filter: blur(4px);
    border: solid 1px white;
    display: flex;
    /* gap: 5px; */
    flex-wrap: wrap;
    z-index: 50;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.buttonDev {
    height: 40px;
    width: 40px;
    background-color: rgb(255 255 255 / 29%);
    border-radius: 5px;
    font-size: 20px;
    transition: all .5s ease;
    color: black;
    border: none;
    outline: solid 2px rgb(31, 31, 31);
    outline-offset: -3px;
    transition: all .2s ease;
}

.buttonDev:hover {
    background-color: rgb(255, 215, 84) !important;
}

#roomsDev {
    position: absolute;
    background-color: rgb(30 26 37);
    right: 554px;
    padding: 10px;
    bottom: 8px;
    max-height: 478px;
    color: #272727;
    font-size: 20px;
    -webkit-font-smoothing: none;
    display: none;
    width: 95px;
    height: 248px;
    text-align: center;
    z-index: 1;
    overflow: scroll;
    overflow-y: auto;
    border: solid 3px #b3a496;
    outline: solid 3px #393939;
    z-index: 1;
    background: #FFE2C1;
    border-radius: 4px;
    transition: all 0.4s ease;
}

#dialogsDev {
    position: absolute;
    background-color: rgb(30 26 37);
    left: 70px;
    padding: 10px;
    bottom: 20px;
    color: white;
    font-size: 20px;
    -webkit-font-smoothing: none;
    display: none;
    width: 180px;
}

.roomsDev-item {
    background-color: none;
    margin: 0;
    padding: 5px;
    position: relative;
    border-radius: 5px;
}
.roomsDev-item:hover {
    background-color: rgb(255, 210, 142);
    color: black;
}

.textjump {
    animation: jumpUp .3s ease-in-out;
  }
  
  @keyframes jumpUp {
    0% {
      right: 0;
      background-color: rgb(255, 210, 142);
    }
    20% {
      right: -20px;  /* Jump up */
      background-color: #a4eca4;  /* Green background */
    }
    30% {
      right: -20px;  /* Back to original position */
      background-color: #a4eca4;  /* Fade back to original color */
    }
    100% {
      right: 0;
      background-color: rgb(255, 210, 142);  /* Ensure it stays white */
    }
  }

#uiTop {
    height: 20px;
    width: 100vw;
    background-color: var(--backgroundObjects);
    position: relative;
    margin-bottom: 0px;
    display: none;
    
}

@keyframes upAndDown {
    0% {
        top: -10px
    }
    50% {
        top: 0px;
    }
    100% {
        top: -10px;
    }
}

#circleCharacter {
    height: 250px;
    width: 250px;
    background: 
    /* linear-gradient(rgb(255, 160, 160) 0%, #ff88b0 100%); */
    linear-gradient(rgb(255, 202, 95) 0%, #ffab5c 100%);
    position: relative;
    margin-bottom: -250px;
    margin-top: 0px;
    border-radius: 50%;
    outline: solid 1px rgb(255, 160, 160);
    outline-offset: 20px;
}

#mountainsUi {
    margin-top: -330px;
    margin-bottom: -100px;
    width: 100vw;
    height: 400px;
    position: relative;
    z-index: 0;
    filter: blur(2px) saturate(.3);
    opacity: 1;
    background: url("./soulsEnviroments/desert.png");
    background-position: bottom;
    background-repeat: no-repeat;
}

#backpackImage {
    height: 100px;
    position: absolute;
    left: 35%;
    top: -13%;
    display: none;
    
}

.inventoryItem {
    position: relative;
    top: 0;
    left: 0;
    width: 62px;
    height: 62px;
    padding: 10px;
    transition: all .2s ease-out;
}
.inventoryItem:active {
    filter: brightness(100);
}

.inventorySwitch {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 5px;
    margin-bottom: -3px;
    position: relative;
    z-index: 1;
}

.inventoryHide {
    display: flex;
}

.soulsHide {
    display: flex;
}

.switchButton {
    height: 40px;
    width: 62px;
    border: none;

     
     background-size: contain !important;

    font-size: 20px;
    
}

.inventorySwicther {
    background: url("./Textures/tabInv.png");
}

.soulsSwitcher {
    background: url("./Textures/tabSkin.png");
}

.capeSwitcher {
    background: url("./Textures/tabCloth.png");
}

.booksSwitcher {
    background: url("./Textures/tabBooks.png");
}

.deleteButton {
    background: url("./Textures/tabDel.png");
}

.equipmentItem {
    background: rgba(0, 0, 0, 0.101);
    /* box-shadow: inset 0px 0px 0px 5px rgba(255, 221, 177, 0.453); */
    /* border: solid 2px rgb(0, 0, 0);
    backdrop-filter: blur(5px); */
}

.equipmentItem:active {
    width: 90px;
    height: 90px;
    left: 8px;
    top: 8px;
    box-shadow: 0px 0px 0px rgba(127, 101, 66, 0.453);
    border: solid 1px rgb(248, 189, 138);
    background-color: rgba(255, 160, 143, 0.993);
}

.soulWindow {
    background: rgb(81, 87, 152) !important;
}

.soulSlot {
    /* border: solid 2px white; */
    
}

.soulSlot:active {
    box-shadow: inset 0 0 20px rgb(175, 254, 255);
}

.capeWindow {
    background: rgb(255, 248, 146) !important;
}

#toolBar{
    display: none;
    position: absolute;
    bottom: 20px;
    left: 10px;
    align-items: center;
    gap: 5px;
    z-index: 1;
    transition: all 0.4s ease;
}

.toolBarIcon{
    width: 50px;
    height: 50px;
    background: url(./icons/uiIcon/bg.png);
    background-size: contain;
    padding: 10px;
    position: relative;
    top: 0px;
    transition: all .1s ease;
}

.toolBarIcon:active{
    top: -10px;
}


#fishSelector{
        display: none;
    position: absolute;
    width: 300px;
    /* max-width: 248px; */
    max-height: 367px;
    height: auto;
    position: absolute;
    bottom: 87px;
    left: 300px;
    /* transform: translate(-50%, -50%); */
    gap: 5px;
    flex-wrap: wrap;
    z-index: 1;
}
.fishSelectorIcon{
    position: relative;
    width: 50px;
    padding: 10px;
    height: 50px;
    margin: 0px;
    background: url(./icons/uiIcon/bg.png);
    background-size: cover;
    /* border: solid 2px #4F3E2E; */
    border-radius: 5px;
    box-shadow: 0px 3px 0px #4F3E2E, inset 0px -3px 0px #4F3E2E;
    transition: all 0.25s ease;
    top: 0px;
}
.fishSelectorIcon:hover{
    background-color: #4F3E2E;
    /* border: solid 2px #4F3E2E; */
    box-shadow: 0px 0px 0px #4F3E2E;
    top: 2px;
}

#chat {
    display: block;
    position: absolute;
    z-index: 1;
    bottom: 110px;
    left: 20px;
    color: rgb(255, 255, 255);
    /* display: flex
; */
    /* height: 300px; */
    /* background: var(--backgroundObjects); */
    opacity: 0;
    transition: all .2s ease;
    animation: showChat 0.5s ease forwards;
    border-radius: 6px;
    pointer-events: none;
}


#chat:hover {
    opacity: 1;
}

.chatName {
    color: black;
    font-weight: bold;
}

.chatMessage {
    color: grey;
    margin-left: 6px;
}

#chat input {
    height: 0px;
    width: auto;
    border-radius: 5px;
    padding: 20px;
    font-size: 16px;
    font-weight: 300;
    border: solid 3px #a8a8a8;
    outline: solid 3px #000000;
    background: #7a7a7a;
    position: relative;
    top: 0px;
    color: rgb(255, 255, 255);
    box-shadow: 0px 3px 0px 4px black;
}

#chat input::placeholder {
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 300;
}

#chat input:focus{
    height: 0px;
    width: auto;
    border-radius: 5px;
    padding: 20px;
    font-size: 16px;
    font-weight: 300;
    border: solid 3px #caf1c8;
    outline: solid 3px #092106;
    background: #87dc7a;
    color: #092106;
    box-shadow: 0px 0px 0px 0px #092106;
    top: 3px;
}

#chatHistory {
    max-height: 538px;
    width: 400px;
    padding-bottom: 10px;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 1s ease;
    pointer-events: none;
}

#loginScreen {
   display: none;
   position: fixed;
   visibility: visible;
   opacity: 1;
   left: 0;
   width: 100vw;
    height: 100vh;

   z-index: 30;
   
}
.closeLogInCreateAccount{
    display: flex;
    width: 35px;
    height: 35px;
    position: absolute;
    top: 35px;
    right: 35px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(0.8);
    background-image: url(./ui/uiBookCloseIconBlack.png);
    filter: invert(0.8);
    transition: all 0.3s ease;
}
.closeLogInCreateAccount:hover{
    filter: invert(1);
}

.chatText {
    margin: 0px;
    background: #ffffff;
    min-height: 30px;
    border-radius: 6px;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    width: fit-content;
    color: black;
    border: solid 3px black;
    box-shadow: 2px 2px black;
    position: relative;
    top: 1px;
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease;
    animation: cardUpNoOpacity 1s ease;
}

.cardUpClass {
    animation: cardUpNoOpacity 1s ease;
}

.downLogIn {
    animation: animLogIn 3s ease forwards;
}

@keyframes animLogIn {
    0% {
        left: 0;
        visibility: visible;
        
    }
    10% {
        left: -50px;
        visibility: visible;
        
    }
    99% {
        left: 150vw;
        visibility: visible;
        
    }
    100% {
        left: 150vw;
        visibility: hidden;
    }
}

.login-createAccount{
    position: absolute;
    overflow: hidden;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* top: 50%; */
    height: 88vh;
    width: 88vw;
    /* box-shadow: -5px 0 300px 200px rgb(16, 21, 25); */
    /* background-color: rgb(18 2 48); */
    transition: all 2s ease;
    border: solid 2px #ffffff;
    border-radius: 14px;
    box-shadow: 0px 0px 0px 300px #13004c45;
}
#login {
    display: flex;
}
#createAccount {
    display: none;
}
#loginBG{
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(./Textures/sardinBack.png);
    filter: brightness(0.6);
    background-size: 100px 100px;
    z-index: -1;
}

#signIn {
    margin-bottom:10px;
    color: white;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 40px;

    position: relative;
}
.loginCreateAccountNavigateButton{
    display: flex;
    position: relative;
    top: 0px;
    width: 270px;
    height: 45px;
    justify-content: center;
    text-align: center;
    align-items: center;
    border: solid 1px #3c05c3;
    border-radius: 6px;
    background: #17033d;
    color: #cdc8ff;
    font-size: 18px;
    /* font-weight: 900; */
    box-shadow: 0px 4px 0px #260472;
    transition: all 0.2s ease;
}
.loginCreateAccountNavigateButton:hover{
    top: 4px;
    box-shadow: 0px 0px 0px #260472;
}
#logindiv{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    width: 255px;
    border-radius: 10px;
    box-shadow: 0px 0px 30px -23px white;
    background-color: #17033d;
    border: solid 1px #4305e0;
    padding: 10px;
    padding: 40px 5px;
}
#login input,
#createAccount input {
    height: 40px;
    width: 200px;
    text-align: center;
    border: solid 1px rgb(255, 255, 255);
    /* border-radius: 5px; */
    background-color: #eee6ff;
    padding: 10px;
    color: rgb(18 2 48);
    font-weight: bolder;
    font-size: 19px;
    border-radius: 6px;
    cursor: auto;
}

#login input::placeholder,
#createAccount input::placeholder{
    color: rgba(9, 5, 79, 0.674);
    font-weight: 100;
    font-style: italic;
}

#emailInput {
    background: rgb(255, 255, 255) ;
}

.buttonsLogin {
    display: flex;
    justify-content: center;
    gap: 10px;

    /* position: absolute; */
    z-index: 3;
    right: 0;
    top: 450px;

    width: 30vw;
}

.buttonsLogin button:hover {
    transition: all 0.5s ease !important;
}

#createButton {
    color: rgb(20, 20, 20) !important;
    background: #98ff84  !important;
    cursor: none !important;
}

.sendRequestLogInCreateAccount {
    position: relative;
    top: 0px;
    height: 50px;
    width: 150px;
    text-align: center;
    border: solid 2px rgb(28, 81, 37) !important;
    box-shadow: 0px 6px 0px 0px rgb(28, 81, 37) !important;
    border-radius: 5px;
    background: rgb(152 255 132)!important;
    color: rgb(28, 81, 37) !important;
    font-size: 19px;
    font-weight: bolder;
}

.sendRequestLogInCreateAccount:hover {
    top: 6px;
    box-shadow: 0px 0px 0px 0px rgb(28, 81, 37) !important;
    background: rgb(152 255 132)!important;
    color: rgb(28, 81, 37) !important;
}

#closeConfirmEmailPage{
    display: flex;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 35px;
    right: 35px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(./ui/uiBookCloseIconBlack.png);

    transition: all 0.3s ease;
}

#confirmEmailPageParent{
    display: none;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    /* pointer-events: fill; */
    z-index: 100;
}
#confirmEmailPage{
    display: flex;
    background-color: #c8beb0;
    border: solid 10px #61574c;
    border-radius: 6px;
    width: 40vw;
    height: 30vh;
    z-index: 40;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
    box-shadow: 0px 0px 0px 4000px #00000063;
}
#confirmEmailInput{
    width: 100%;
    height: calc(100% - 6px);
    border: solid 2px #a59c90;
    border-radius: 6px;
    text-align: center;
    font-size: 25px;
    box-shadow: 0px 6px #857d73;
}
#decorationConfirmEmailPage{
    display: flex;
    width: 94%;
    height: 91%;
    position: absolute;
    border: solid 3px #a59c90;
    border-radius: 6px;
    pointer-events: none;
}
#sendNewCode{
    display: flex;
    position: absolute;
    bottom: 25px;
    right: 25px;
    border: solid 2px #61574c;
    color: #61574c;
    padding: 4px;
    border-radius: 6px;
    box-shadow: 0px 2px #61574c;
    transition: all 0.3s ease;
    background-color: rgba(0, 255, 0, 0);
}
#sendNewCode:hover{
    bottom: 23px;
    right: 25px;
    border: solid 2px #1c5125;
    color: #000000;
    background-color: #98ff84;
    box-shadow: 0px 0px #1c5125;
    border-radius: 6px;
}



#hearts {
    position: absolute;
    top: 0;
    left: -120px;
    transform: translate(52%, 22%);
    border-radius: 5px;
    
    height:150px;
}

#profilePicture {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;

    height: 100px;
    width: 100px;

    border-radius: 5%;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.383);
    border: solid 20px var(--backgroundObjects);
    background: url("https://www.okx.com/cdn/nft/files/68540655-7efc-47b9-96d4-5ba28ce32725.webp/type=detail?x-oss-process=image/resize,w_784,type_6/ignore-error,1");
    background-repeat: no-repeat;
    background-size: cover;
}

#playerCoins {
    height: 40px;
    position: absolute;
    left: 136px;
    top: 10px;
    transform: translate(52%, 130%);
    
}

#playerHeart {

}

#obtainedItem {
    height: 150px;
    width: 150px;
    opacity: 0;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    border-radius: 10px;
    border: none 1px black;
    background: none;
    background-repeat: no-repeat !important;
    background-position: center !important;
    image-rendering: pixelated;
    pointer-events: none;
}

#catchGif {
    height: 200px;
    width: 200px;
    opacity: 0;
    filter: saturate(2);
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none;
    border: none;
    image-rendering: pixelated;
}

@keyframes stars {
    0% {      
        opacity: 0;
        top: 80%;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 70%;
    }
}

@keyframes starsSoul {
    0% {      
        opacity: 0;
        top: 80%;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 50%;
    }
}

#catchGif.starsAnim {
    animation: stars 2s ease;
}

#catchGif.starsAnimSoul {
    animation: starsSoul 4s ease;
}

#obtainedItem.obtainedAnim {
    animation: obtained 2s ease;
}

#obtainedItem.obtainedAnimSoul {
    animation: obtainedSoul 4s ease;
}

#scores {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-color: #462c2d;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 30px;
    background: url(./Textures/backGeneral.png);
    background-size: cover;
    overflow: scroll;
}

.score-item {
    color: #9b9b9b;
    font-size: 30px;
    font-weight: 300;
    align-self: flex-start;
    margin-left: 11px;
}

#scoresTitle {
    font-size: 50px;
    color: rgb(0, 0, 0);
    font-weight: 300;
    text-decoration: underline;
}

@keyframes obtained {
    0% {
        height: 0;
        width: 0;
        left: 50%;
        top: 80%;
        opacity: 0;
    }
    10% {
        height: 150px;
        width: 150px;
        left: 50%;
        opacity: 1;
    }
    12% {
        height: 160px;
        width: 160px;
        left: 50%;

    }
    14% {
        height: 150px;
        width: 150px;
        left: 50%;
    }
    80% {
        height: 150px;
        width: 150px;
        left: 50%;
    }
    100% {
        height: 60px;
        width: 60px;
        top: 70%;
        opacity: 0;
    }
}

@keyframes obtainedSoul {
    0% {
        height: 0;
        width: 0;
        left: 50%;
        top: 80%;
        opacity: 0;
    }
    10% {
        height: 200px;
        width: 200px;
        left: 50%;
        opacity: 1;
    }
    12% {
        height: 210px;
        width: 210px;
        left: 50%;

    }
    14% {
        height: 200px;
        width: 200px;
        left: 50%;
    }
    80% {
        height: 200px;
        width: 200px;
        left: 50%;
    }
    100% {
        height: 60px;
        width: 60px;
        top: 50%;
        opacity: 0;
    }
}

#fishingMinigame {
    position: absolute;
    top: 50%;
    left: 75vw;
    transform: translate(-50%, 0%) rotate(-90deg);
    z-index: 1;

    width: 350px;
    background-color: transparent;

    padding: 5px;
    border-radius: 5px;
    
    overflow: hidden;
  }
  
  #fishingBar {
    width: 150px;
    margin-left: -50%;
    height: 150px;
    background: url("./Fishing/fishShadowGif.gif");
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    opacity: .5;
    transform: rotate(90deg);
  }

  #fishingBarHit {
    position: absolute;
    top: 0px;
    right: 20%;

    width: 140px;
    height: 140px;
    background: url("./Fishing/fishBuoy.gif");
    transform: rotate(90deg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;

    opacity: 1;

    /* animation: startFishing .5s ease; */
    
  }

  .noFish {
    animation: endFishing .5s ease;
  }

  .startFish {
    animation: startFishing .5s ease;
  }

  .gotFish {
    animation: takeFish .5s ease;
  }

  @keyframes startFishing {
    0% {
        top: -50px;
        opacity: 0;
    }
    100% {
        top: 5px;
        opacity: 1;
    }
  }

  @keyframes endFishing {
    0% {
        top: 5px;
        opacity: 1;
    }
    100% {
        top: -50px;
        opacity: 0;
    }
  }

  @keyframes takeFish {
    0% {
        opacity: 1;
        width: 120px;
        height: 120px;
    }
    100% {
        opacity: 0;
        width: 180px;
        height: 180px;
    }
  }

  #player-img-rend {
    display: none;
  }
  #frogWarrior-img-rend {
    display: none;
  }
  #slime-img-rend {
    display: none;
  }

.levelUpParent {
    position: absolute;
    top: 25%;
    left: 50%;
    z-index: 101;
    transform: translate(-50%, -50%);
}

.levelUp {
    position: absolute;
    width: 1000px;
    z-index: 101;
    opacity: 0;
    display: flex;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    pointer-events: none;

}

.fadeInAnim {
    animation: levelUp 5s ease forwards;
}

.rotateAnim {
    animation: rotate 5s ease forwards;
}

@keyframes levelUp {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: rotate(359deg);
        opacity: 0;
    }
}

.glitchOverlay {
    position: absolute;
    top: 0px !important;
    z-index: 20;
    opacity: 1;
    width: calc(100vw);
    height: calc(100vh - 5px);
    border: solid 2px rgb(0, 0, 0);
    box-shadow: 0px 5px rgb(0, 0, 0), 0 0 20px rgba(0, 0, 0, 0.464);
    background: url(./Textures/glitchGif.gif);
    background-size: cover;
    background-position: center;
    display: none;
}

.liquidOverlay {
    background: url(./Textures/liquidTransition.png) no-repeat;
    position: absolute;
    top: 0px !important;
    z-index: 20;
    opacity: 1;
    width: calc(100vw);
    height: calc(100vh);
    background-size: calc(100vw * 129) 100vh;
    background-position: 0px;
    background-repeat: no-repeat;
    display: block;
    pointer-events: none;
}

.shop {
    position: absolute;
    top: 0px !important;
    /* left: 20px; */
    z-index: 20;
    opacity: 1;
    width: calc(100vw - 330px - 75px);
    height: calc(100vh - 5px);
    /* border-radius: 10px; */
    border: solid 2px rgb(0, 0, 0);
    box-shadow: 0px 5px rgb(0, 0, 0), 0 0 20px rgba(0, 0, 0, 0.464);
    background: url(./shopBack.png);
    background-size: cover;
    background-position: center;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 1s ease;
    animation: opacityUp 1s ease forwards;
}

.questHub {
    position: absolute;
    /* top: 20px; */
    /* left: 20px; */
    z-index: 20;
    opacity: 1;
    width: calc(100vw - 330px - 75px);
    height: calc(100vh - 5px);
    /* border-radius: 10px; */
    border: solid 2px rgb(0, 0, 0);
    box-shadow: 0px 5px rgb(0, 0, 0), 0 0 20px rgba(0, 0, 0, 0.464);
    background: url(./questBack.png);
    background-size: cover;
    background-position: center;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 1s ease;
    animation: opacityUp 1s ease forwards;
}

.questEndItem {
    width: 70px;
}

@keyframes opacityUp {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes opacityUpAndPop {
    0% {
        opacity: 0;
        width: 30px;
    }
    10% {
        opacity: 1;
    }
    95% {
        opacity: 1;
        width: 544px;
    }
    100% {
        opacity: 1;
        width: 534px;
    }
}

@keyframes opacityUpRespawn {
    0% {
        opacity: 0;
        width: 0;
    }
    100% {
        opacity: 1;
        width: 392px;
    }
}

@keyframes cardUp {
    0% {
        opacity: 0;
        top: 100px;
    }
    100% {
        opacity: 1;
        top: 0px;
    }
}

@keyframes cardUpNoOpacity {
    0% {
        top: 40px;
    }
    100% {
        top: 1px;
    }
}

@keyframes turnCard {
    0% {
        width: 200px;
        margin-right: 0;
        margin-left: 0;
    }
    50% {
        width: 2px;
        margin-right: 99px;
        margin-left: 99px;
    }
    100% {
        width: 200px;
        margin-right: 0;
        margin-left: 0;
    }
}

.turnCard {
    animation: turnCard .5s ease forwards;
}

.cookingPot {
    position: absolute;
    bottom: 0vw;
    right: 21vw;
    transform: translate(-50%, -50%);
    z-index: 20;
    opacity: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    height: 200px;
    width: 200px;

    /* background-image: url("./cookingPot.png"); */
    background-size: cover;

    border-radius: 10px;
    border: solid 2px rgb(0, 0, 0);
    
    box-shadow: 0px 5px rgb(0, 0, 0), 0 0 20px rgba(0, 0, 0, 0.464);

    pointer-events: none;
}

#cookingContainer {
    position: absolute;
    top: 50%;
    left: 36%;
    transform: translate(-50%, -50%);
    z-index: 99;
    width: 800px;
    height: 600px;
    background: url("./Textures/cookback.gif");
    border: 2px solid #000;
    overflow: hidden;
    display: none;
  }

#cookingFrame {
    position: relative;
    width: 100%;
    height: 100%;
    background: url("./Textures/cookingFrame.gif");
    /* z-index: 9999; */
  }
  
  /* DVD Logo */
  .cookingItem {
    position: absolute;
    width: 200px;
    height: auto;
    cursor: pointer;
    animation: rotate 5s infinite linear;
    transition: width .5s ease;
     /* z-index: 9997; */
    
    
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    }
  
  @keyframes rotate {
    from {
      transform: rotate(0);
    }
  
    to {
      transform: rotate(360deg);
    }
  }
  
  #paddle {
    position: absolute;
    bottom: 0px;
    margin-bottom: 50px;
    left: 300px;
    width: 200px;  /* 25% of the container width */
    height: 50px;
    background-color: #333;
    border-radius: 5px;
    /* z-index: 9999; */
    opacity: 0;

    transition: all .2s ease;
  
  }

  #cookingPotMin {
    position: absolute;
    bottom: 0;
    left: 300px;  /* Initially centered */
    width: 200px;  /* 25% of the container width */
    height: 200px;
    background-color: #333;
    border-radius: 5px;
    /* z-index: 9999; */
    transition: all .2s ease; 
    background: url("./Textures/CookingPot.gif");
    background-repeat: no-repeat;
    /* background-size: contain; */
  }
  
  #cookingBarParent {
    position: absolute;
    top: 112px;
    left: 49%;  /* Initially centered */
    transform: translateX(-50%);
    width: 201px;  /* 25% of the container width */
    height: 40px;
    border: solid 0px black;
    border-radius: 5px;
    /* z-index: 99; */
  }
  
  #cookingBarChild {
    position: absolute;
    top: 0px;
    left: 0;  
    background: lightgreen;
    width: 0;  
    height: 60px;
    border-radius: 5px;
    transition: all .5s ease;
  }

.cardsIcon {
    position: absolute;
    bottom: -60px;
    right: 10px;
    transform: translate(-50%, -50%);
    z-index: 20;
    height: 90px;
    width: 90px;
    
}

.shopTitle {
    height: 80px;
    width: 250px;
    position: absolute;
    top: 100px;
    left: 50px;
    opacity: 0;

    animation: UpAndUp 3s ease .5s forwards;
}

@keyframes UpAndUp {
    0% {
        opacity: 0;
        top: 100px;
    }
    10% {
        opacity: 1;
        top: 50px;
    }
    90% {
        opacity: 1;
        top: 50px;
    }
    100% {
        opacity: 0;
        top: 0px;
    }
}

.shopItems {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 50px;
}
.questItems {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 50px;
}

.cardShop {
    width: 200px;
    height: 300px;
    transition: all .5s ease;
    border: solid 0px black;
    border-radius: 5px;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    top: 0;
}

.cardShop:hover {
    filter: brightness(1.3);
    margin-top: -10px;
    margin-bottom: 10px;
}

.shopItem1 {
    opacity: 0;
    animation: cardUp 1s ease 3s forwards;
}


.shopItem2 {
    opacity: 0;
    animation: cardUp 1s ease 3.4s forwards;
}

.shopItem3 {
    opacity: 0;
    animation: cardUp 1s ease 3.6s forwards;
}

.shopItem4 {
    opacity: 0;
    animation: cardUp 1s ease 3.2s forwards;
}

.shopItem5 {
    opacity: 0;
    animation: cardUp 1s ease 3.8s forwards;
}

.questShop {
    height: 140px;
    margin-top: 30px;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100vw);
    height: calc(100vh - 0px);

    background: transparent;

    overflow: hidden;

    /* border: solid 20px var(--backgroundObjects); */

    pointer-events: none;

}

#exploreMap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;

    z-index: 11;

    background: transparent;

    visibility: hidden;

    pointer-events: all;
    
}

.exploreMapImage {
    width: 100%;
    filter: sepia(0)
}

.exploreMapIsland1 {
    position: absolute;
    bottom: 10%;
    right: 35%;
    width: 100px;
    height: 100px;
    background-color: #00000000;
}

.resetButton{
    display: flex;
    position: absolute;
    right: 15px;
    bottom: 17px;
    width: 75px;
    height: 30px;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0px 2px 0px 2px black;
    border: solid 2px black;
    background-color: white;
    transition: all 0.25s ease;
    pointer-events: all;
}
.resetButton:hover{
    background-color: rgb(0, 0, 0);
    color: white;
    box-shadow: 0px 0px 0px 0px black;
    bottom: 15px;
}
::-webkit-scrollbar {
    width: 0px;
}

#exploreMinigameBeach {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;

z-index: 11;

background: #56bcc7;

visibility: hidden;

overflow: hidden;
}

#boatExploreMinigame {
width: 40px;
position: absolute;

top: 80%;
left: 500px;
transform: translate(-50%, -50%);

transition: all .5s ease;
}

.rockExploreMinigame {
width: 40px;
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, 0%);

z-index: 50;
}

#progressExploreMinigame {
position: absolute;
top: 0px;
left: 50%;
transform: translate(-50%, 0%);

width: 500px;
z-index: 52;
}

#progressBarExploreMinigame {
width: 0px;
/* width: 320px; */
height: 40px;

background-color: rgb(193, 244, 117);

border-right: solid 6px white;
border-left: solid 6px white;

position: absolute;
top: 75px;
left: 50%;
transform: translate(-50%, 0%);

z-index: 51;
}

#islandExploreMinigame {
width: 100%;
position: absolute;
top: -100%;
}

#rewardFrame {
/* box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); */
/* border: solid 1px rgba(255, 255, 255, 0.5); */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 500px;
width: 500px;
background-color: rgba(255, 255, 255, 0);
/* backdrop-filter: blur(100px); */
z-index: 5;
/* border-radius: 20px; */
overflow: hidden;
visibility: hidden;
opacity: 0;
transition: all .2s ease;
background: url(./Textures/backGeneral.png);
background-size: cover;
}

.rewardChest {
height: 100%;

pointer-events: all;

position: relative;
left: 0;
}

#chestTypeSelectors {
display: flex;
flex-direction: column;
gap: 5px;
border-radius: 50% !important;
}

.buttonDevSmall {
width: 40px;
height: 40px;
border-radius: 50%;
}

.enchantmentBook {
height: 26px;
margin-bottom: 20px;
}

.ImgBookEnchantment {
margin-bottom: 0 !important;
}

#enchantingContainer {
    position: absolute;
    top: 50%;
    left: 36%;
    transform: translate(-50%, -50%);
    z-index: 99;
    width: 800px;
    height: 600px;
    background: url("./Textures/cookback.gif");
    border: 2px solid #000;
    overflow: hidden;
    display: none;
    pointer-events: all;
}

#enchantingFrame {
    position: relative;
    width: 100%;
    height: 100%;
    background: url("./Textures/emchantingFrame.gif");
    background-size: cover;
    /* z-index: 9999; */
}

.enchantingItem {
    position: absolute;
    top: 110px;
    left: 293px;
    height: 222px;
    z-index: 1;
    animation: rotate 5s infinite linear;
}

#enchantingItem1 {
    animation: none;
    transform: rotate(45deg);
}
#enchantingItem2 {
    top: 217px;
}

.rune {
    position: absolute;
    z-index: 1;
    width: 49px;
    filter: saturate(0);
    transition: all .2s ease;
}
.rune:hover {
    position: absolute;
    z-index: 1;
    width: 49px;
    filter: saturate(2);
}

#rune0 {
    left: 687px;
    top: 176px;
}
#rune1 {
    left: 640px;
    top: 268px;
}
#rune2 {
    left: 525px;
    top: 316px;
}
#rune3 {
    left: 216px;
    top: 288px;
}
#rune4 {
    left: 63px;
    top: 315px;
}
#rune5 {
    top: 184px;
    left: 119px;
}

#craftingContainer {
position: absolute;
top: 50%;
left: 36%;
transform: translate(-50%, -50%);
z-index: 99;
width: 800px;
height: 600px;
background: url("./Textures/cookback.gif");
border: 2px solid #000;
overflow: hidden;
display: none;
pointer-events: all;
}

#craftingHammer {
background: url("./Textures/craftingHammer.png");
background-size: cover;
background-repeat: no-repeat;
width: 430px;
height: 181px;
position: absolute;
z-index: 1;
transform: rotate(0deg);
left: 345px;
top: 24px;
transition: all .2s ease;
}

.smashHammer {
animation: smashHammer .2s ease;
}

@keyframes smashHammer {
0% {
    transform: rotate(0deg);
    left: 345px;
    top: 24px;
}
10% {
    transform: rotate(-25deg);
    left: 308px;
    top: 57px;
}
50% {
    transform: rotate(-25deg);
    left: 308px;
    top: 57px;
}
100% {
    transform: rotate(0deg);
    left: 345px;
    top: 24px;
}
}

#progressCraft {
position: absolute;
width: 220px;
height: 100px;
background-color: #553535;
border: 2px solid #342626;
overflow: hidden;
bottom: 5px;
left: 145px;
}

#failedCraft {
position: absolute;
width: 220px;
height: 100px;
background-color: #553535;
border: 2px solid #342626;
overflow: hidden;
bottom: 5px;
right: 146px;
}

#progressCraftChild {
position: absolute;
width: 0%;
height: 100%;
background-color: rgb(122, 208, 122);
left: 0;
transition: all .5s ease;
}

#failedCraftchild {
position: absolute;
width: 0%;
height: 100%;
background-color: rgb(220, 127, 127);
left: 0;
transition: all .5s ease;
}

.craftingItem {
position: absolute;
top: 180px;
width: 200px;
height: 200px;
animation: bounce 3s linear infinite, rotate 3s linear infinite;
}

#craftingItem2 {
top: 180px;
right: 0;
animation-direction: reverse;
}

#centerCraft {
position: absolute;
top: 175px;
left: 49.5%;
transform: translate(-50%, 0);
border: solid 8px #462c2d;
height: 186px;
width: 186px;
border-radius: 50%;
transition: all .2s ease;
}

#craftingFrame {
position: relative;
width: 100%;
height: 100%;
background: url("./Textures/craftingFrame.gif");
/* z-index: 9999; */
}

@keyframes bounce {
0%, 100% {
    transform: translateX(0);
}
50% {
    transform: translateX(calc(100% - 100px));
}
}

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

.chat-container {
margin: 0 auto;
display: none;
flex-direction: row;
width: 534px;
align-items: flex-end;
position: absolute;
opacity: 0;
bottom: 0;
left: 50%;
transform-origin: center center;
transform: scale(1)translate(-50%, -90%);
z-index: 3;
background: url("./Textures/dialogBack.png");
background-size: contain;
animation: opacityUpAndPop .2s ease forwards;
background-repeat: no-repeat;
}

.name-wrap,
.text-wrap {
/* background-color: rgba(0, 0, 0, 1); */
/* text-shadow: 2px 2px 0 rgba(0, 0, 0, .80); */
color: #000000;
}

.name-wrap {
display: inline-block;
padding: 3px 0px;
font-weight: bold;
font-size: 17px;
position: relative;
left: 50%;
transform: translate(-50%, 33%);
/* border: 2px solid #333; */
border-bottom: none;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}

.text-wrap {
position: relative;
padding: 15px;
/* border: 2px solid #333; */
height: 148px;
overflow: hidden;
width: 500px;
display: flex;
justify-content: center;
align-items: center;
}

#canvas-lobby {
transition: transform 0.7s ease, filter 10s ease;
transform-origin: center center; /* zoom from center */
}


.text-block {
margin: 0;
padding: 5px 32px;
text-align: center;
font-size: 23px;
font-weight: 500;
line-height: 1.4; /* keep normal line spacing */
/* height: 140px; */
overflow: hidden;

display: block; /* use normal block flow */
}

/* spans inside text-block */
.text-block span {
display: inline-block; /* allows animations but keeps letters close */
}


.more-icon {
display: none;
position: absolute; 
bottom: 5px;
right: 25px;
animation-name: moreicon;
animation-duration: .8s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
}

.more-icon.active {
display: block;
}

.char-img {
width: 194px;
height: 194px;
background: black;
background-size: contain !important;
display: none;
}

.questCardImage {
width: 66px;
/* height: 90px; */
position: relative;
top: 0;
transition: all .2s ease;
box-shadow: inset -10px -10px rgb(192, 165, 140), 2px 2px rgb(192, 165, 140);
}

.questCardImage:hover {
top: -5px;
box-shadow: inset -10px -10px rgb(192, 165, 140), 5px 7px rgb(192, 165, 140);
}

.questInfo {
width: 602px;
height: 470px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 30px 30px;
display: none;
flex-direction: column;
justify-content: space-between;
background: url(./Textures/questBack.png);
background-size: cover;
z-index: 1;
}

.questTitle {
margin: 0;
font-size: 27px;
position: absolute;
left: 50%;
transform: translate(-50%, 20%);
}

.questClose {
margin-top: 0;
display: flex;
justify-content: space-between;
text-align: center;
padding: 20px 20px;
}

.questClose:hover {
color: rgb(255, 155, 155);
}

.questDescription {
font-size: 23px;
margin: 100px 0 0 0px;
color: #653d3d;
text-align: center;
}

.questEnd {
display: flex;
gap: 20px;
}

.questProgress {
width: 483px;
background: #d5c9ab;
border: solid 6px black;
height: 75px;
/* border-radius: 10px; */
overflow: hidden;
position: relative;
}

.questProgressChild {
position: absolute;
left: 0;
height: 100%;
width: 2%;
background-color: #74bb3b;
border-right: solid 6px black;
}

.questProgressItems {
font-size: 23px;
margin-top: 5px;
color: #653d3d;
}

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

.questEndTitle {
font-size: 23px;
margin-bottom: 10px;
}

.questReward {
font-size: 23px;
margin-top: 5px;
color: #653d3d;
}

.questRewardItem {
width: 75px;
height: 75px;
background: #d5c9ab;
/* background-size: contain; */
/* background-repeat: no-repeat; */
/* box-shadow: 0px 2px #1C140E; */
border: solid 6px black;
display: flex;
justify-content: center;
align-items: center;
position: relative;
top: 0;
transition: all .2s ease;
}

@keyframes shake {
0% { 
    transform: translate(-50%, -0%) rotate(0deg);
    gap: 5px; 
}
25% { 
    transform: translate(-50%, -0%) rotate(10deg); 
    gap: 1px;
}
50% { 
    transform: translate(-50%, -0%) rotate(-10deg) ;
    gap: 1px;
}
75% { 
    transform: translate(-50%, -0%) rotate(10deg); 
    gap: 1px;
}
100% { 
    transform: translate(-50%, -0%) rotate(0deg);
    gap: 5px;
}
}

.shake {
animation: shake .2s ease;
}


#bossBarParent {
display: none;
position: absolute;
width: 1000px;
height: 250px;
left: 50%;
top: 65%;
z-index: 1;
transform: translate(-50%, 0);
opacity: 0;
animation: opacityUp .5s ease forwards;
pointer-events: none;
}

#bossBarImg {
width: 100%;
height: 100%;
position: relative;
}

#bossBar {
position: absolute;
width: 80%;
height: 11%;
bottom: 84px;
left: 98px;
}

#bossBarHealth {
position: absolute;
top: 0;
left: 0;
height: 100%;
background-color: #ff4646; /* Green for health */
width: 100%; /* Set width dynamically depending on health */
transition: all .2s ease;
}

#bossBarHealthFollower {
position: absolute;
top: 0;
left: 0;
height: 100%;
background-color: rgb(246, 246, 246); /* Slightly transparent green */
width: 100%; /* Can be updated dynamically */
transition: all .5s ease 1s;
}

#bossBarHealthBack {
position: absolute;
top: 0;
left: 0;
height: 100%;
background-color: #555; /* Darker color for background */
width: 100%;
}

#deleteBtn{
display: flex;
width: 100%;
border: solid 1.9px #3c07a7;
height: 40px;
color: #3c07a7;
justify-content: center;
align-items: center;
box-shadow: 0px 5px #3c07a7;
border-radius: 6px;
background-color: #7b76fb;
transition: all 0.3s ease;
top: 0px;
position: relative;
margin-top: 25px
}
#deleteBtn:hover{
top: 5px;
box-shadow: 0px 0px #420baf;
}
#deleteBtnGame{
    display: flex;
    width: 80%;
    border: solid 2px #3c07a7;
    height: 50px;
    color: #3c07a7;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 5px #3c07a7;
    border-radius: 6px;
    background-color: #7b76fb;
    transition: all 0.3s ease;
    top: 0px;
    position: relative;
}
#deleteBtnGame:hover{
    top: 5px;
    box-shadow: 0px 0px #420baf;
    background-color: transparent;
}

.menuButton{
display: flex;
width: 100%;
border: solid 1.9px #310da5;
height: 40px;
color: #3c07a7;
justify-content: center;
align-items: center;
box-shadow: 0px 5px #9f99ac;
border-radius: 6px;
background-color: #ffffff;
transition: all 0.3s ease;
top: 0px;
position: relative;
}
.menuButton:hover{
top: 5px;
box-shadow: 0px 0px #9f99ac;
}
.menudev{
display: flex;
flex-direction: row;
width: 100%;
justify-content: space-between;
align-items: center;
}
.menudev > div{
top: 0px;
color: #000;
font-size: 30px;
left: 0px;
}
.CoinsAmountMenu{
display: flex;
}
.lvl-text{
font-size: 16px;
}

#languageDiv{
    width: 49%;
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    width: 66%;
    /* width: 50%; */
    height: 33%;
    top: 50%;
    left: 50%;
    z-index: 24;
    border: solid 3px #310da5;
    border-radius: 12px;
    box-shadow: 0px 6px #310da5;
    transform: translate(-50%, -50%);
    justify-content: center;
    align-items: center;
    gap: 35px;
}
/* style quand bouton est actif */
#languageDiv > div > button.active {
  top: 5px;
  background: #0ddb0d;
  border: solid 2px #115211;
  color: #115211 !important;
  box-shadow: 0px 0px 0px;
}
#languageDiv > h1{
    font-size: 30px;
}
#languageDiv > div{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
#languageDiv > div > button{
position: relative;
display: flex;
padding: 15px 30px;
border: solid 2px #3c07a7;
box-shadow: 0px 5px #9f99ac;
border-radius: 6px;
font-size: 20px;
justify-content: center;
align-items: center;
color: #3c07a7;
top: 0px;
transition: all 0.3s ease;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-image: url('./flag/blanc.png');
}
.menuButton > a{
    color: #3c07a7 !important;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
#languageDiv >div> button:hover{
top: 5px;
box-shadow: 0px 0px #9f99ac;
color: rgba(255, 255, 255, 0);
}

#closeLanguageDiv{
position: absolute;
top: 10px;
right: 10px;
width: 28px;
height: 28px;
}

#EN:hover {
background-image: url('./flag/en.avif'); /* chemin vers drapeau UK */
}

/* FR hover */
#FR:hover {
background-image: url('./flag/fr.png'); /* chemin vers drapeau France */
}

/* ES hover */
#ES:hover {
background-image: url('./flag/es.webp'); /* chemin vers drapeau Espagne */
}

/* PT hover */
#PT:hover {
background-image: url('./flag/pt.jpg'); /* chemin vers drapeau Portugal */
}

