html{
    min-height: 100%;
    background-color: hsl(300, 100%, 3%);
    background-image: url("../images/backgrounds/default.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
body{
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background-color: transparent;
    text-align: center;
}
.background-leaves{
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.background-leaves img{
    position: absolute;
    width: clamp(3.5rem, 7vw, 6rem);
    height: auto;
    user-select: none;
}
#profileDiv{
    position: fixed;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 65%);
}
#profileDiv[hidden]{
    display: none;
}
.profile-panel{
    position: relative;
    box-sizing: border-box;
    width: min(60vh, 90vw);
    min-height: 50vh;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 2rem;
    border: 3px solid aliceblue;
    border-radius: 3vh;
    background-color: hsl(183, 96%, 9%);
    box-shadow: 0 0 7px white;
}
#profile-title{
    margin-top: 0.5rem;
    font-size: 7vh;
}
#close-profile{
    position: absolute;
    z-index: 1;
    top: 0.75rem;
    right: 0.75rem;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    padding: 0;
    border: 2px solid aliceblue;
    box-shadow: 0 0 5px white;
    border-radius: 0.65rem;
    background: linear-gradient(hsl(346, 91%, 35%), hsl(0, 93%, 22%));
    color: aliceblue;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: filter 150ms ease, transform 150ms ease;
}
#close-profile:hover{
    filter: brightness(1.2);
    transform: scale(1.05);
}
#close-profile:focus-visible,
.reset-account-button:focus-visible{
    outline: 3px solid #ffe58c;
    outline-offset: 3px;
}
.profile-preview{
    width: 15vh;
    height: 15vh;
    object-fit: cover;
    border: 2px solid aliceblue;
    border-radius: 2vh;
}
.profile-detail{
    margin: 1rem 0;
    color: aliceblue;
    font-family: 'Orbitron';
    font-size: 2.5vh;
}
#experience-label{
    display: block;
}
.experience-bar{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: min(100%, 24rem);
    height: 4vh;
    margin: 0 auto;
    border: 1px solid aliceblue;
    border-radius: 0.75vh;
    color: aliceblue;
    font-family: 'Orbitron';
    font-size: 0.8rem;
}
.experience-fill{
    position: absolute;
    inset: 0 auto 0 0;
    transition: width 180ms ease;
}
#experience-progress{
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px #000, 0 0 3px #000;
}
#profile-upload{
    padding: 0.8rem 1.2rem;
    border: 2px solid aliceblue;
    border-radius: 1vh;
    background: linear-gradient(hsl(183, 69%, 48%), hsl(231, 93%, 22%));
    color: aliceblue;
    font-family: 'Orbitron';
    font-size: 1.8vh;
}
#profile-image-status{
    min-height: 1.25em;
    margin: 0.75rem 0 0;
    color: aliceblue;
    font-family: 'Orbitron';
    font-size: 1.5vh;
}
.profile-settings{
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(240 248 255 / 32%);
}
.profile-settings h2{
    margin: 0;
    color: aliceblue;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
}
.profile-settings p{
    color: rgb(240 248 255 / 78%);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    line-height: 1.45;
}
.reset-account-button{
    width: min(100%, 22rem);
    min-height: 3.5rem;
    padding: 0.85rem 1.25rem;
    border: 2px solid #ffb8b8;
    border-radius: 0.7rem;
    background: linear-gradient(#ed3b3b, #9e1010);
    box-shadow: 0 0.3rem 0 #610c0c, 0 0.4rem 0.9rem rgb(0 0 0 / 45%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}
.reset-account-button:hover{
    background: linear-gradient(#ff5555, #b41616);
    filter: brightness(1.08);
}
.reset-account-button:active{
    box-shadow: 0 0.1rem 0 #610c0c, 0 0.2rem 0.5rem rgb(0 0 0 / 45%);
    transform: translateY(0.2rem);
}
#reset-account-status{
    min-height: 1.25em;
    margin: 0.65rem 0 0;
    color: #ffd0d0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
}
#main{
    transition: opacity 180ms ease;
}
body.profile-open #main{
    opacity: 0.4;
}
#card-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 34.5vh;
    min-width: 20vh;
}
#inventory {
    box-sizing: border-box;
    width: min(100%, 75rem);
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

#inventory-capacity {
    margin: 0 0 1rem;
    color: aliceblue;
    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
}

.inventory-slot {
    flex: 0 0 22.5vh;
    align-content: center;
    justify-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: linear-gradient(155deg, rgb(30 42 62 / 90%), rgb(12 20 34 / 94%));
}

.inventory-slot > img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.inventory-locked > span {
    color: #bcc7d8;
    font-family: "Orbitron", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}
.title{
    color: aliceblue;
    font-size: 10vh;
    -webkit-text-stroke: 0.1px black;
    font-family: 'Orbitron';
}
.subtitle{
    color: aliceblue;
    font-size: 5vh;
    font-family: 'Orbitron';
}
#deck{
    height: 15vh;
    width: 15vh;
    border-radius: 2vh;
    background: linear-gradient(
        hsl(183, 69%, 48%),
        hsl(202, 57%, 45%),
        hsl(231, 93%, 22%)
    );
    position: fixed;
    top: 70vh;
    left: 50vh;
    border: 1.5px solid aliceblue;
    box-shadow: 0 0 5px white;
}
#deck p{
    color: aliceblue;
    font-size: 4vh;
    font-family: 'orbitron';
    -webkit-text-stroke: 0.75px ;
}
#shop{
    height: 15vh;
    width: 15vh;
    border-radius: 2vh;
    background: linear-gradient(
        hsl(110, 69%, 48%),
        hsl(125, 92%, 33%),
        hsl(133, 93%, 22%)
    );
    position: fixed;
    top: 70vh;
    left: 140vh;
    border: 1.5px solid aliceblue;
    box-shadow: 0 0 5px white;
}
#shop p{
    color: aliceblue;
    font-size: 4vh;
    font-family: 'orbitron';
    -webkit-text-stroke: 0.75px ;
}
.shop-page{
    position: relative;
    display: grid;
    min-height: 100vh;
    align-content: start;
    justify-items: center;
}
.shop-page .title{
    position: fixed;
    top: 1rem;
    left: 50vw;
    margin: 0;
    transform: translateX(-50%);
}
#shop-back-to-main{
    position: fixed;
    z-index: 3;
    top: 1rem;
    right: 1rem;
    padding: 0.7rem 1rem;
    border: 2px solid aliceblue;
    border-radius: 0.65rem;
    background: linear-gradient(hsl(0, 75%, 45%), hsl(0, 85%, 25%));
    box-shadow: 0 0 5px white;
    color: aliceblue;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}
#shop-back-to-main:hover{
    filter: brightness(1.1);
}
.currency-balance{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid rgb(255 232 145 / 80%);
    border-radius: 999px;
    background: rgb(23 26 32 / 88%);
    box-shadow: 0 0.35rem 1.25rem rgb(0 0 0 / 45%);
    color: aliceblue;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 800;
}
.currency-balance img{
    width: 2.6rem;
    height: 2.6rem;
    object-fit: contain;
}
.shop-currency-bar {
    position: fixed;
    z-index: 2;
    top: 5rem;
    left: 1rem;
    right: 1rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: thin;
}
.shop-currency-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.75rem;
}
#adventure{
    height: 30vh;
    width: 30vh;
    border-radius: 2vh;
    background: linear-gradient(
        hsl(37, 69%, 48%),
        hsl(44, 57%, 45%),
        hsl(60, 93%, 22%)
    );
    position: fixed;
    top: 32vh;
    left: 57vh;
    border: 1.5px solid aliceblue;
    box-shadow: 0 0 5px white;
}
#adventure p{
    color: aliceblue;
    font-size: 4vh;
    font-family: 'orbitron';
}
#adventureDiv {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    height: 50vh;
    width: 90vw;
    text-align: left;
}
#adventureDiv * {
    text-align: left;
}
#fireOption{
    background: linear-gradient(
        hsl(12, 93%, 22%),
        hsl(4, 93%, 22%),
        hsl(345, 93%, 22%)
    );
    height: 12vw;
    width: 12vw;
    border-radius: 3vh;
    border: 0.75px solid white;
    box-shadow: 0 0 5px white;
    margin: 1.5vh;
}
#fireOption p{
    transform: translate(0%, -40%);
    font-size: 4.8vw;
}
#waterOption{
    background: linear-gradient(
        hsl(183, 93%, 22%),
        hsl(202, 93%, 22%),
        hsl(231, 93%, 22%)
    );
    height: 12vw;
    width: 12vw;
    border-radius: 3vh;
    border: 0.75px solid white;
    box-shadow: 0 0 5px white;
    margin: 1.5vh;
}
#waterOption p{
    transform: translate(0%, -40%);
    font-size: 4.8vw;
}
#natureOption{
    background: linear-gradient(
        hsl(101, 93%, 22%),
        hsl(106, 93%, 11%),
        hsl(25, 78%, 16%)
    );
    height: 12vw;
    width: 12vw;
    border-radius: 3vh;
    border: 0.75px solid white;
    box-shadow: 0 0 5px white;
    margin: 1.5vh;
}
#natureOption p{
    transform: translate(0%, -40%);
    font-size: 4.8vw;
}
#electricOption{
    background: linear-gradient(
        hsl(57, 75%, 62%),
        hsl(180, 48%, 81%),
        hsl(268, 69%, 79%)
    );
    height: 12vw;
    width: 12vw;
    border-radius: 3vh;
    border: 0.75px solid white;
    box-shadow: 0 0 5px white;
    margin: 1.5vh;
}
#electricOption p{
    transform: translate(0%, -40%);
    font-size: 4.8vw;
}
#darkOption{
    background: linear-gradient(
         hsl(246, 67%, 12%),
        hsl(252, 83%, 9%),
        hsl(268, 82%, 15%)
    );
    height: 12vw;
    width: 12vw;
    border-radius: 3vh;
    border: 0.75px solid white;
    box-shadow: 0 0 5px white;
    margin: 1.5vh;
}
#darkOption p{
    transform: translate(0%, -40%);
    font-size: 5.184vw;
    -webkit-text-stroke:2px aliceblue;
}
#lightOption{
    background: linear-gradient(
        hsl(57, 100%, 84%),
        hsl(56, 94%, 93%),
        hsl(268, 69%, 79%)
    );
    height: 12vw;
    width: 12vw;
    border-radius: 3vh;
    border: 0.75px solid white;
    box-shadow: 0 0 5px white;
    margin: 1.5vh;
}
#lightOption p{
    transform: translate(0%, -40%);
    font-size: 4.8vw;
}
#name{
    height: 3vw;
    width: 30vw;
    border-radius: 1vh;
    border: 4px solid aliceblue;
    background-color: rgb(19, 32, 42);
}
#name::placeholder{
    font-size: 1.5vw;
    position: relative;
    top: 0.1vw;
    color: aliceblue;
}
#setup-error{
    min-height: 1.25em;
    margin: 0.5rem 0;
    color: #ff8a8a;
    font-family: 'Orbitron';
    font-size: 1rem;
}
input[type="text"] {
     font-size: 1.5vw;
    position: relative;
    top: 0.1vw;
    color: aliceblue;
}
#finish{
    height: 3vw;
    width: 15vw;
    border-radius: 1vh;
    border: 2px solid aliceblue;
    box-shadow: 0 0 5px white;
    background-color: rgb(74, 14, 21);
}
#finish p{
    font-family: 'Orbitron';
    color: aliceblue;
    transform: translate(0%, -77.5%);
    font-size: 2vw;
    -webkit-text-stroke: 1px black;
}
#profile{
    position: fixed;
    top: 87vh;
    left: 11vw;
    color: aliceblue;
    font-family: 'Alex Brush';
    font-size: 5vh;
}
#player-level{
    box-sizing: border-box;
    position: fixed;
    bottom: 6.5vh;
    left: 6.5vw;
    z-index: 2;
    display: grid;
    width: clamp(1.8rem, 3.75vh, 2.4375rem);
    aspect-ratio: 1;
    place-items: center;
    border: 2px solid #fff0a6;
    border-radius: 50%;
    background: linear-gradient(145deg, #3eaed7, #1a4075);
    box-shadow: 0 0 0 3px rgb(22 17 8 / 75%), 0 0.2rem 0.65rem rgb(0 0 0 / 55%);
    color: aliceblue;
    font-family: 'Orbitron';
    font-size: clamp(0.95rem, 2.2vh, 1.3rem);
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 1px 2px #281b08;
}
#profile_image{
    height: 15vh;
    width: 15vh;
    border-radius: 2vh;
    background: linear-gradient(
        135deg,
        hsl(21, 65%, 30%),
        hsl(30, 60%, 35%),
        hsl(34, 60%, 35%)
    );
    transform: rotate(45deg);
    position: fixed;
    top: 82vh;
    left: 2vw;
    border: 2px solid aliceblue;
    box-shadow: 0 0 5px white;
}
#profile_image img{
    height: 10.575vh;
    width: 10.575vh;
    position: relative;
    top: 0.2vh;
    transform: rotate(315deg);
    border: 0.0125vh solid aliceblue;
    border-radius: 2vh;
}