/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
/* Custom properties */
:root{
    --light-color: #e0e0e0;
    --light-color-alt: #000000;
    --primary-background: #e2e2e2;
    --secondary-background: #9c9c9c;

    --upper-section-primary-background: linear-gradient(135deg, #eee8e8 0%, #d9d2d2 50%, #efe8e8 100%);
    --upper-section-secondary-background: linear-gradient(135deg, #e9598c 0%, #ff1550 50%, #ffa280 100%);

    --hover-light-color: var(--light-color);
    --hover-dark-color: var(--primary-background);
    --transparent-light-color: rgba(255,255,255,.05);
    --transparent-dark-color: rgba(0,0,0,.75);

    --font-family: "Figtree", sans-serif;
    --font-size-xsm: 1.2rem;
    --font-size-sm: 1.6rem;
    --font-size-md: 2.4rem;
    --font-size-lg: 3rem;
    --font-size-xl: 4rem;
    --gap: 2rem;
    --margin-sm: 2rem;
    --margin-md: 3rem;

    --bar-background-color: white;
    --exp-color: lightblue;
    --fuel-color: var(--fuel-color-high);
    --durability-color: rgb(255, 147, 6);

    --fuel-color-high: rgb(22, 208, 22);
    --fuel-color-medium: rgb(255, 209, 5);
    --fuel-color-low: rgb(255, 113, 5);
    --fuel-color-very-low: rgb(234, 11, 11);
}
/* base styles */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
}

body{
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    color: var(--light-color-alt);
    background: var(--primary-background);
    letter-spacing: 1px;
}

ul{
    list-style: none;
}

.btn{
    cursor: pointer;
}

.btn:active {
        transform: translateY(.3rem);
    }

/* Upper-section */
.upper-section-container{
    display: flex;
    justify-content: space-between;
    padding: .5rem .5rem .5rem .5rem; /*top right bottom left*/
    z-index: 10;
    border-bottom: 3px lightgrey solid;
    background: var(--upper-section-primary-background);
    flex-shrink: 0;
}

.level-circle,
.level-rectangle{
    position: absolute;
    border: solid 2px lightgrey;
    text-align: center;
}

.level-circle{
    border-radius: 20px;
    padding: 1rem 1rem 1.3rem 1rem;
    z-index: 11;
    background: linear-gradient(135deg, #ffc7c7 0%, #ff1232 50%, #ffe3d8 100%);
    font-weight: bold;
    color: var(--light-color);
    min-width: 5.5rem;
    box-shadow: 0 1px .5rem #3d4445db;
}

.level-rectangle{
    text-transform: uppercase;
    font-size: 1.15rem;
    z-index: 20;
    background: linear-gradient(135deg, #ffffff 0%, #f9cb56 50%, #ffffff 100%);
    margin-top: 3rem;
    margin-left: 0rem;
    padding-left: 0.75rem;
    padding-right: 0.6rem;
    border-radius: 5px;
    box-shadow: 0 1px .5rem #282d2fa5;
}

.cargo-icons{
    margin-top: 7rem;
    margin-left: 1.35rem;
    font-size: 2.5rem;
}

.cargo-icon-full{
    display: none;
}

.stats-container{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 40%;
    margin-left: 1.2rem;

    border: solid 2px lightgrey;
    box-shadow: 0 1px .5rem #3d474c91;
    border-radius: 10px;
    padding: .5rem;

    background: var(--upper-section-secondary-background);
    color: var(--light-color);
}

.menu{
    width: 100%;
    max-width: 100%;
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;
    padding: 1.5rem;

    opacity: 0;
    transform: scale(0);
    transition: opacity .25s ease-in;

    z-index: 9999;
}

.list{
    display: flex;
    align-items: center;
    gap: var(--gap);
    margin-top: 20rem;
}

.list .btn{
    padding: .5rem;
    border-radius: 10px;
    font-size: var(--font-size-md);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
    z-index: 20;
    border: 0;
    border-bottom: 3px outset lightgrey;
    box-shadow: 0 1px .5rem #384145cc;
    color: rgba(45, 45, 45, 0.891);
}

.list .close-btn{
    margin-top: 5rem;
    font-size: var(--font-size-lg);
    padding-left: 3rem;
    padding-right: 3rem;
}

.menu > .list{
    flex-direction: column;
}

.menu-icon-toggle{
    font-size: 2.5rem;
    margin: auto 0;
    margin-right: .5rem;

    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;

    background: var(--upper-section-secondary-background);
    border: solid 2px lightgrey;
    box-shadow: 0 1px .5rem #cececec5;
    border-radius: 50px;
    color: var(--light-color);
}

.resetBtnYes,
.resetBtnNo{
    padding: .5rem;
    border-radius: 10px;
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
    z-index: 20;
    border: 0;
    border-bottom: 3px outset lightgrey;
    box-shadow: 0 1px .5rem #41494dcc;
    color: rgba(45, 45, 45, 0.891);
    margin-top: 5rem;
    font-size: var(--font-size-lg);
    padding-left: 3rem;
    padding-right: 3rem;
}

/* Help section */
.help-section{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    max-height: 100%;
    overflow: hidden;

    background: var(--upper-section-primary-background);
}

.help-container{
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 80%;
    margin-top: 5rem;

    box-shadow: 0 1px .5rem #114156cc;
    border-radius: 20px;
    padding: 1rem 1rem 1rem 1rem;
    background: linear-gradient(130deg, #b5e8ff 0%, #29a0d2 50%, #95d4ed 100%);
    color: rgba(255, 255, 255, 0.888);
}

.main-text-container{
    font-size: 1.8rem;
}

.main-text-container .title{
    text-align: center;
    padding: .5rem;
    margin-bottom: 1rem;
}

/* About section */
.about-section{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    max-height: 100%;
    overflow: hidden;

    background: var(--upper-section-primary-background);
}

.about-container{
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 80%;
    margin-top: .5rem;

    box-shadow: 0 1px .5rem #114156cc;
    border-radius: 20px;
    padding: 1rem 1rem 1rem 1rem;
    background: linear-gradient(130deg, #ee75ade8 0%, #c215a0 50%, #dc1863 100%);
    color: rgba(255, 255, 255, 0.888);
}

.about-main-text-container{
    font-size: 1.8rem;
}

.about-main-text-container .title{
    text-align: center;
    padding: .5rem;
    margin-bottom: 1rem;
}

.about-main-text-container a{
    color: inherit;
}

.copyright-notice{
    opacity: .7;
}

.social-media {
    display: flex;
    align-items: center;
    gap: var(--gap);
    margin-top: 5rem;
    justify-content: center;
    font-size: var(--font-size-xl)
}

.social-media a {
    text-decoration: none;
}

/* Progress Bars - Background */
.durabilityBar,
.expBar,
.fuelBar{
    background-color: var(--bar-background-color); /* Firefox background */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.expBar::-webkit-progress-bar{
    background-color: var(--bar-background-color);
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.expBar::-ms-progress-bar{
    background-color: var(--bar-background-color);
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.fuelBar::-webkit-progress-bar{
    background-color: var(--bar-background-color);
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.fuelBar::-ms-progress-bar{
    background-color: var(--bar-background-color);
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.durabilityBar::-webkit-progress-bar{
    background-color: var(--bar-background-color);
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.durabilityBar::-ms-progress-bar{
    background-color: var(--bar-background-color);
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

/* Progress Bar - Values */
.expBar::-webkit-progress-value{
    background-color: var(--exp-color); /* Chrome/Safari */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.expBar::-moz-progress-bar{
    background-color: var(--exp-color); /* Firefox */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.expBar::-ms-fill{
    background-color: var(--exp-color); /* Edge/IE */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.fuelBar::-webkit-progress-value{
    background-color: var(--fuel-color); /* Chrome/Safari */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.fuelBar::-moz-progress-bar{
    background-color: var(--fuel-color); /* Firefox */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.fuelBar::-ms-fill{
    background-color: var(--fuel-color); /* Edge/IE */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.durabilityBar::-webkit-progress-value{
    background-color: var(--durability-color); /* Chrome/Safari */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.durabilityBar::-moz-progress-bar{
    background-color: var(--durability-color); /* Firefox */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

.durabilityBar::-ms-fill{
    background-color: var(--durability-color); /* Edge/IE */
    border-radius: 20px;
    max-height: 1rem;
    margin-bottom: .25rem;
}

/* Upper section Javascript styles */
.menu.activated{
    box-shadow: 1px 1px 1rem var(--transparent-light-color);
    opacity: 1;
    transform: scale(.8);
    background: var(--upper-section-primary-background);
    border-radius: 20px;
    box-shadow: 0 1px .5rem #2d2d2deb;
}

.cargo-icon-toggle.activated .cargo-icon-empty{
    display: none;
}

.cargo-icon-toggle.activated .cargo-icon-full{
    display: block;
}

.reset-window{
    width: 100%;
    
    height: 35vh;

    margin: auto 0;
    margin-top: 20rem;

    text-align: center;

    position: fixed;
    top: 0;
    left: 0;
    padding: 1.5rem;

    opacity: 0;
    transform: scale(0);
    transition: opacity .25s ease-in;

    z-index: 10000;
}

.reset-window p{
    margin-top: 1rem;
}


.reset-window-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.reset-window.activated{
    box-shadow: 1px 1px 1rem var(--transparent-light-color);
    opacity: 1;
    transform: scale(.6);
    background: var(--upper-section-primary-background);
    border-radius: 20px;
    font-size: var(--font-size-lg);
    
    box-shadow: 0 1px .5rem #2d2d2deb;
}

.resetBtn-container{
    margin-bottom: 1rem;
}

/* Main section */
.game{
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.main-section-container{
    flex-grow: 1;
    overflow-y: auto;
}

/* Footer section */
.footer-section-container{
    bottom: 0rem;

    flex-shrink: 0;
    
    margin-bottom: .4rem;

    background: var(--upper-section-primary-background);
    width: 100%;
    border-top: lightgrey 2px solid;
    z-index: 10;
}

.footer-list{
    flex-direction: row;
    display: flex;  
    justify-content: center;
    gap: 2rem;
    padding: .5rem;
    z-index: 19;
}

.footer-list .btn{
    padding: .5rem;
    border-radius: 10px;
    box-shadow: 0 1px .5rem #000000cc;
    border: none;
    font-size: var(--font-size-sm);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
    z-index: 20;
}

.footer-list .btn.home{
    color: #e31246df;
    /* border: 4px outset #e31246df; */
}

.footer-list .btn.delivery{
    color: #1d7bbadd;
    /* border: 4px outset #1d7bbadd; */
}

.footer-list .btn.travel{
    color: #2b965adf;
    /* border: 4px outset #2b965adf; */
}

.footer-list .btn.inventory{
    color: #ca7402df;
    /* border: 4px outset #ca7402df; */
}
/* Home section */
.home-section{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    max-height: 100%;
    overflow: hidden;

    /* background: var(--upper-section-primary-background); */
    background-image: url('../assets/images/driving.webp');
    background-size: cover; /* or 'contain' if you prefer */
    background-position: center;
    background-repeat: no-repeat;
}

.location-container{
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 50%;
    margin-top: .5rem;

    box-shadow: 0 1px .5rem #114156cc;
    border-radius: 20px;
    padding: 1rem 1rem 1rem 1rem;
    background: linear-gradient(130deg, #b5e8ff 0%, #29a0d2 50%, #95d4ed 100%);
    color: rgba(255, 255, 255, 0.888);
}

.locationName{
    font-size: var(--font-size-md);
}

.location-number-container{
    position: absolute;
    right: 1rem;
    margin-right: .5rem;
    margin-top: 0rem;

    box-shadow: 0 1px .5rem #12400ccc;
    border-radius: 20px;
    padding: 1rem;
    background: linear-gradient(130deg, #a1fba7 0%, #11aa53e4 50%, #76c759 100%);
    font-weight: bold;
    font-size: var(--font-size-sm);
    opacity: .9;
}

.player-info{
    display: flex;
    flex-direction: column;
    text-align: center;
    min-width: 50%;
    max-width: 60%;
    margin: auto;
    margin-bottom: 1rem;
    gap: 1rem;

    border: solid 2px lightgrey;
    box-shadow: 0 1px .5rem #3d474c91;
    border-radius: 10px;
    padding: .5rem;
    background: var(--upper-section-secondary-background);
    color: var(--light-color);
}

.bottom-home-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* border: 3px solid #29a0d2; */
    box-shadow: 0 1px .5rem #1d7398ea; /* x-offset, y-offset, blur&spread*/
    background: linear-gradient(135deg, #dbfaff 0%, #fff9ec 50%, #e7d4ff 100%);
    border-radius: 20px;
    margin-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.service-status-container{
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1rem 1rem;
    gap: 1rem;
}

.service-info{
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1rem 1rem;
    gap: 1rem;
}

.locationRepairPrice,
.locationFuelPrice{
    color: gold;
    border: solid 2px lightgrey;
    box-shadow: 0 1px .5rem #363b3d8b;
    border-radius: 20px;
    padding: .3rem;
    background: var(--upper-section-secondary-background);
    font-weight: bold;
}

.carDealershipMessage{
    color: rgb(232, 247, 255);
    border: solid 2px lightgrey;
    box-shadow: 0 1px .5rem #4d585c8e;
    border-radius: 0px;
    padding: .3rem;
    background: linear-gradient(135deg, #37074c 0%, #b94db9e1 50%, #930c52 100%);
    font-style: italic;
    display: none;
}

.carDealershipStatus{
    color: white;
    font-weight: bold;
}

.garageStatus{
    color: white;
    font-weight: bold;
}

.gasStationStatus{
    color: white;
    font-weight: bold;
}
/* green, rgb(28, 176, 45) - red, rgb(233, 40, 40) */

/* Delivery */
.delivery-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-height: 100%;

    /* background: linear-gradient(130deg, #151517 0%, #262c47 50%, #0a1124 100%); */
    background-image: url('../assets/images/driving.webp');
    background-size: cover; /* or 'contain' if you prefer */
    background-position: center;
    background-repeat: no-repeat;
}

.orders-container{
    display: flex;
    flex-direction: column;
    gap: 5rem;
    max-width: 50%;
}

.orders-container .btn{
    padding: .5rem;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
}

.takeOrderBtn{
    color: #2281c0dd;
    border: 4px outset #81b7e1dd;
}

.deliverOrderBtn{
    color: #0f70b1dd;
    border: 4px outset #167dc2dd;
}

/* Take Order Section */
.takeOrder-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-height: 100%;

    background: linear-gradient(130deg, #151517 0%, #262c47 50%, #0a1124 100%);
}

.take-orders-container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 90%;
}

.take-orders-container .stat{
    padding: 1rem;
}

.take-orders-container .btn{
    padding: .5rem;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
}

.order1Btn{
    color: #443730;
    border: 4px outset #2dd8d0dd;
    display: block;
}

.order2Btn{
    color: #443730;
    border: 4px outset #69c774dd;
}

.order3Btn{
    color: #443730;
    border: 4px outset #baba15dd;
    display: block;
}

.order4Btn{
    color: #443b30;
    border: 4px outset #dd9c11dd;
    display: block;
}

.order5Btn{
    color: #443730;
    border: 4px outset #ba4f15dd;
    display: block;
}

.order6Btn{
    color: #875d46;
    border: 4px outset #ba1515dd;
    display: block;
}

/* Travel section */
.travel-section {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    max-height: 100%;

    background: linear-gradient(130deg, #deeab3 0%, #2eb04e 50%, #74fbc3 100%);
}

.previous-location-container{
    display: flex;
    flex-direction: column;
    gap: .3rem;
    text-align: center;
    margin-top: 8rem;
}

.next-location-container{
    display: flex;
    flex-direction: column;
    gap: .3rem;
    text-align: center;
}

.nextLocationBtn,
.previousLocationBtn{
    padding: .5rem;
    border-radius: 10px;
    box-shadow: 0 1px .5rem #000000cc;
    border: none;
    font-size: var(--font-size-sm);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
    color: rgba(45, 45, 45, 0.891);

    font-weight: bold;
    margin: 0 auto;
}

.previousLocationBtn{
    padding-right: 2rem;
}
.nextLocationBtn{
    padding-left: 2rem;
}

.destination-container{
    display: flex;
    gap: 5rem;
    margin-bottom: 5rem;
}

.destination-container .btn{
    padding: .5rem;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
}

.gasStationBtn{
    color: #e00210e8;
    border: 4px outset #e00210e8;
    display: block;
}

.garageBtn{
    color: #5c7380f5;
    border: 4px outset #5c7380b8;
    display: block;
}

.carDealershipBtn{
    color: #a05ccaed;
    border: 4px outset #aa68d3dd;
    display: block;
}

/* Traveling screen window */
.traveling-screen-container{
    width: 100%;
    max-width: 100%;
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;
    padding: 1.5rem;

    opacity: 0;
    transform: scale(0);
    transition: opacity .50s ease-in;

    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.91);
    font-size: var(--font-size-md);
    font-style: italic;
}

.traveling-screen-container.activated{
    box-shadow: 1px 1px 1rem var(--transparent-light-color);
    opacity: 1;
    transform: scale(1);
    transition: opacity .50s ease-out;
    background: linear-gradient(130deg, #ffffff 0%, #2eb04e 50%, #74fbc3 100%);
    background-size: 300% 300%;
    border-radius: 0px;
    box-shadow: 0 1px .5rem #2d2d2deb;

    animation: breatheBackground 3.5s ease-in-out infinite;
}
    
@keyframes breatheBackground {
    0%,
    100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.08);
    }
}
    



/* Gas Station */
.gas-station-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-height: 100%;

    background: linear-gradient(130deg, #ea0f1ee8 0%, #ffb2b2e8 50%, #4a6f7f 100%);
}

.gas-station-container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 50%;
    background: var(--upper-section-primary-background);
    border-radius: 10px;
    padding: 1rem;
}

.gas-station-container .btn{
    padding: .5rem;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
}

.refuelBtn{
    color: #e00210e8;
    border: 4px outset #e00210e8;
}

/* Garage Section */
.garage-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-height: 100%;

    background: linear-gradient(130deg, #98b0a4 0%, #6c90a7b8 50%, #2a414b 100%);
}

.garage-container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 50%;
    background: var(--upper-section-primary-background);
    border-radius: 10px;
    padding: 1rem;
}

.garage-container .btn{
    padding: .5rem;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
}

.repairBtn{
    color: #062334b8;
    border: 4px outset #031e23b8;
}

/* Car Dealership */
.car-dealership-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-height: 100%;

    background: linear-gradient(130deg, #ffe1f9 0%, #b932b2 50%, #f054aa 100%);
}

.car-dealership-container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 50%;
    background: var(--upper-section-primary-background);
    border-radius: 10px;
    padding: 1rem;
}

.car-dealership-container .btn{
    padding: .5rem;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
}

.upgradeBtn{
    color: #bd0536e8;
    border: 4px outset #ff3e65e8;
}

/* Inventory section */
.inventory-window{
    width: 100%;
    max-width: 100%;
    height: 100vh;

    text-align: center;

    font-size: var(--font-size-md);

    position: fixed;
    top: 0;
    left: 0;
    padding: 1.5rem;

    opacity: 0;
    transform: scale(0);
    transition: opacity .25s ease-in;

    z-index: 9999;
}

.inventory-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.close-inventory-btn-div{
    flex-direction: row;
    display: flex;  
    justify-content: center;
    gap: 2rem;
    padding: .5rem;
    z-index: 19;
}

.close-inventory-btn{
    padding: .5rem;
    border-radius: 10px;
    font-size: var(--font-size-md);
    background: linear-gradient(130deg, #ffffff 0%, #d6d6d6 50%, #ffffff 100%);
    font-weight: bold;
    z-index: 20;
    border: 0;

    box-shadow: 0 1px .5rem #41494dcc;
    color: rgba(45, 45, 45, 0.891);
}

/* Inventory section JavaScript styles */

.inventory-window.activated{
    box-shadow: 1px 1px 1rem var(--transparent-light-color);
    opacity: 1;
    transform: scale(.8);
    background: linear-gradient(135deg, #dc8f69 0%, #9c502a 50%, #5d290f 100%);
    border-radius: 20px;
    box-shadow: 0 1px .5rem #2d2d2deb;
}


/* Media */
@media screen and (min-width: 650px){
    .stats-container{
        min-width: 20%;
    }

    .location-container{
        display: flex;
        justify-content: center;
        margin: 0 auto;
        max-width: 33rem;
        margin-top: .5rem;

        box-shadow: 0 1px .5rem #114156cc;
        border-radius: 20px;
        padding: 1rem 1rem 1rem 1rem;
        background: linear-gradient(130deg, #b5e8ff 0%, #29a0d2 50%, #95d4ed 100%);
        color: rgba(255, 255, 255, 0.888);
    }

    .bottom-home-container{
        max-width: 63rem;
        margin: 0 auto;
        margin-bottom: 1rem;
    }

    .player-info{
        width: 52rem;
    }

    .inventory-window.activated{
        transform: scale(.7);
    }
}


/* Tablets in landscape, small laptops or netbooks */
@media screen and (min-width: 1024px){
    /* Upper section */

    .stats-container{
        margin: 0 auto;
        transform: translateX(-2rem);
    }

    .menu{
        position: absolute;
        padding: initial;
        background: initial;
        opacity: initial;
        transform: none;

        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        margin-top: 3.5rem;
        height: auto;

    }

    .menu-icon-toggle{
        display: none;
    }

    .list{
        display: flex;
        align-items: center;
        gap: var(--gap);
        margin-top: 20rem;
        margin-right: 1rem;
    }

    .list .btn{
        font-size: var(--font-size-sm);
    }

    .list .close-btn{
        display: none;
    }

    .menu > .list{
        flex-direction: row;
        margin-top: 1rem;
    }

    .player-info{
        min-width: 50rem;
        max-width: 60rem;
    }
}

@media screen and (min-width: 1200px){
    .stats-container{
        min-width: 22rem;
        max-width: 30rem;
    }
}