@font-face {
font-family: 'Space Grotesk';
src: url("../fonts/SpaceGrotesk.woff2") format("woff2"),
    url("../fonts/SpaceGrotesk.woff") format("woff");
font-weight: 200 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Press Start 2P';
src: url("../fonts/PressStart2P.woff2") format("woff2"),
    url("../fonts/PressStart2P.woff") format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}


:root {
    --bg-color: rgba(255, 255, 255, 0.5);
    --contrast-color: #d9407d;
    --black: #121212;
    --white: #FAFAFA;
    --text-color1: #121212;
    --text-color2: #FAFAFA;
    --text-color-t: rgba(255, 255, 255, 0.5);
    --text-color2-t: rgba(0, 0, 0, 0.5);
    --contrast-color-t: rgba(255, 255, 255, 0.5);
    --bg-color-t: rgba(0, 0, 0, 0.5);
    --wrapper-size: min(80vw, 80vh);

}

img {
    /* Default: Let modern browsers handle it */
    image-rendering: pixelated;
    }




body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Space Grotesk', 'Press Start 2P', cursive;
    justify-self: center;
    align-self: center;
    width: 100%;
    margin: 0;
    max-width: 2200px;

}

    
    

header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5% 32px;
    box-sizing: border-box;
    z-index: 500;
    background-color: transparent !important;
}

header h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(16px, 2vw, 32px);
    cursor: cell;
    color: var(--contrast-color);
    vertical-align: middle;
}

header nav ul {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    font-family: 'Space Grotesk';
    text-decoration: none;
    color: var(--text-color);
    font-size: 1em;
    cursor: cell;
    padding: 4px;
}

header nav ul li a:hover {
    color: var(--contrast-color);
    font-weight: bolder;
}

.user-info {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    max-width: 15vw;
    position: relative;
}

.user-info > div {
    position: relative;
    display: flex;
    align-items: center;
}

.user-info img {
    width: 40px;
    height: 40px;
}

.user-info span.tooltip-text {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    top: 40px; /* Ensure tooltips have the same bottom distance */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--contrast-color);
    font-family: 'Space Grotesk';
    font-size: 0.8em;
}

.user-info div:hover span.tooltip-text {
    visibility: visible;
    opacity: 1;
}

.notification-icon {
    margin-right: 10px;
    align-self: center;
    position: relative;
    cursor: cell;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    border: 2px solid var(--text-color);
    background-color: var(--text-color2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: 'Space Grotesk', 'Press Start 2P', cursive !important;
    transition: transform 0.3s ease;

}

.notification-icon .notification-count {
    color: var(--text-color);
    font-family: 'Space Grotesk', 'Press Start 2P', cursive !important;
    font-size: 0.7em;
}

.notification-icon:hover .notification-count {
    transition: transform 0.3s ease;

    transform: scale(1.1);
    color: var(--contrast-color);

}

.notification-icon:hover {

    transform: scale(1.2);
    border: 2px solid var(--contrast-color);

}



.notification-icon span.tooltip-text{
    top: 36px;
}


/* Base state */
.notification-image-link {
    display: inline-block;
    cursor: cell;
}

/* Base state of the image with transition */
.notification-image-link .notification-image {
    transition: transform 0.3s ease-in-out; /* Transition is applied here */
}

/* Hover state */
.notification-image-link:hover .notification-image {
    transform: scale(1.3);
}


.profile-group {
    display: flex;
    align-items: flex-end;
    cursor: cell;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.profile-group a {
    cursor: cell;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    text-align: end;
    gap: 10px;
}

.profile-group a:hover {
    color: var(--contrast-color);
}

.profile-group:hover {
    transform: scale(1.1);
}

.profile-group img.profile-picture {
    width: 28px;
    height: 28px;
    image-rendering: pixelated;
    border-radius: 4px;
}

.credits-group {
    display: flex;
    align-items: center;
    cursor: cell;
    transition: transform 0.3s ease;
    font-size: 1em;
    font-family: 'Press Start 2P';
    text-decoration: none;
}

.credits-group a {
    cursor: cell;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.credits-group a:hover {
    color: var(--contrast-color);
}

.credits-group:hover {
    transform: scale(1.1);
}

.credits-group img {
    width: 36px;
    height: 36px;
    margin-right: -5px;
    image-rendering: pixelated;
}

.credits-group span.credit-count {
    visibility: visible;
    opacity: 1;
    margin-left: 5px;
}

.saved-icon {
    display: flex;
    align-items: center;
    cursor: cell;
    transition: transform 0.3s ease;
}

.saved-icon:hover {
    transform: scale(1.2);
}

.saved-icon a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.saved-icon img {
    width: 32px;
    height: 32px;
    cursor: cell;
    image-rendering: pixelated;
}



.saved-icon.scale-up {
    transform: scale(1.6);
    transition: transform 0.2s ease;

}

.saved-icon.scale-down {
    transform: scale(1);
    transition: transform 0.1s ease;

}

form, .user-info {
    text-align: center;
}

input[type="submit"], button {
    padding: 10px 20px;
    font-size: 0.7em;
    font-weight: bolder;
    font-family: 'Space Grotesk';
    line-height: 120%;
    cursor: cell;
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

input[type="submit"]:hover, button:hover {
    color: var(--bg-color);
    border-color: var(--text-color);
    background-color: var(--text-color);
}

main {
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
}





.hamburger {
    display: none;
    position: absolute;
    right: 20px;
    top: 16px;
    
    cursor: cell;
    border: none;
    z-index: 1001;
    gap: 3px;
    background-color: transparent;
    grid-template-columns: repeat(3, 10px);
    grid-template-rows: repeat(3, 10px);
    transition: transform 0.3s ease;
    pointer-events: auto; /* Ensure the button captures all click events */

}

button.hamburger {
    padding:0 !important;
}

.hamburger .snake {
    background-color: var(--contrast-color) !important;
}

.hamburger div {
    width: 10px;
    height: 10px;
    background-color: var(--text-color);
    transition: transform 0.3s linear;

}

.hamburger:hover {
    background-color: transparent;

}

.hamburger:hover div {
    background-color: var(--contrast-color-t);

}

.hamburger.active:hover div {
    background-color: var(--contrast-color);

}

.hamburger.active,
.hamburger.inactive {
    background-color: transparent;
}

.hamburger.active div:nth-child(2),
.hamburger.active div:nth-child(4),
.hamburger.active div:nth-child(6),
.hamburger.active div:nth-child(8) {
    background-color: var(--contrast-color);
}
.hamburger.active div:nth-child(1) { /* Top Center */
    transform: translate(3px, 3px);
}
.hamburger.active div:nth-child(2) { /* Top Center */
    transform: translateY(13px);
}
.hamburger.active div:nth-child(3) { /* Top Center */
    transform: translate(-3px, 3px);
}

.hamburger.active div:nth-child(4) { /* Middle Left */
    transform: translateX(13px);
}


.hamburger.active div:nth-child(6) { /* Middle Right */
    transform: translateX(-13px);
}
.hamburger.active div:nth-child(7) { /* Top Center */
    transform: translate(3px, -3px);
}

.hamburger.active div:nth-child(8) { /* Bottom Center */
    transform: translateY(-13px);
}

.hamburger.active div:nth-child(9) { /* Top Center */
    transform: translate(-3px, -3px);
}

/* Reset transforms when not active */
.hamburger div {
    transform: translate(0, 0);
}

.hamburger-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;

}

.hamburger-menu.active {
    display: flex;


}

.hamburger-menu nav ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    margin-top: 60px;
}

.hamburger-menu nav ul li {
    margin: 14px 0;
}

.hamburger-menu nav ul li a {
    color: var(--text-color);
    cursor: cell;
    font-size: 1.3em;
    line-height: 1.7em;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.hamburger-menu nav ul li a:hover {
    transform: scale(1.2);
    color: var(--contrast-color);
}

.hamburger-menu a {
    text-decoration: none;
}

.hamburger-menu .profile-group {
    position: relative;
    flex-direction: column;
    align-items: center;
}

/* Profile actions styling for mobile, always visible and without hover */
.hamburger-menu .profile-actions {
    display: flex;
    flex-direction: row; /* Arrange buttons in a row */
    justify-content: center; /* Center align the buttons */
    gap: 32px; /* Space between buttons */
    margin-top: 20px; /* Space between username and buttons */
    padding: 10px; /* Padding for better appearance */
    width: 90%; /* Full width */
    visibility: visible; /* Always visible */
    opacity: 1; /* No transparency */
    flex-wrap: wrap;
}

.hamburger-menu .profile-actions button {
    background: none; /* Visible background */
    color: var(--text-color);
    border: solid 2px var(--text-color);
    padding: 8px 12px;
    cursor: cell;
    border-radius: 5px; /* Slight rounding for better appearance */
    flex: 1; /* Ensure even spacing */
    height: 48px;
}

.hamburger-menu .profile-actions button:hover {
    color: var(--contrast-color);
    background: none;
    border: solid 2px var(--contrast-color);

}

.hamburger-menu .profile-group img {
    width: 64px;
    height: auto;
    margin-bottom: 8px; /* Space below profile picture */
    border-radius: 8px;
    image-rendering: pixelated;

}

@media (max-width: 768px) {
    .hamburger-menu .profile-actions {
        position: relative;
        bottom: 0; /* Ensure it stays at the bottom of the menu */
    }

    .profile-group .profile-actions {
        visibility: visible;
        opacity: 1;
        position: static; /* No hover, keep them in normal flow */
    }

    /* Remove hover styles on mobile for profile-actions */
    .profile-group .profile-actions:hover {
        visibility: visible;
        opacity: 1;
    }
}




.hamburger-menu .menu-icons {
    display: flex;
    position: fixed;
    top: 18px;
    left: 0;
    gap:20px;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

.hamburger-menu .menu-icons .notification-icon,
.hamburger-menu .menu-icons .saved-icon,
.hamburger-menu .menu-icons .credits-group {
    display: flex;
    align-items: center;
    cursor: cell;
    transition: transform 0.3s ease;
}

.hamburger-menu .menu-icons .notification-icon:hover,
.hamburger-menu .menu-icons .saved-icon:hover,
.hamburger-menu .menu-icons .credits-group:hover {
    transform: scale(1.1);
}

.hamburger-menu .menu-icons img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

.hamburger-menu .menu-icons .tooltip-text {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--contrast-color);
    font-family: 'Space Grotesk';
    font-size: 0.8em;
}

.hamburger-menu .menu-icons div:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}







.notification-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 32px;
    border: 4px solid var(--contrast-color);
    z-index: 5000;
    max-width: 500px;
    height: 80vh;
    overflow-y: auto !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    box-sizing: content-box !important;

}

.notification-modal::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
    }
.notification-item.read {
    border-bottom: 2px solid var(--text-color3-t); /* Use gray for read notifications */
}

.notification-item.read .notification-time {
    color: var(--text-color3-t); /* Use gray for read notification timestamps */
}


.notification-modal.active {
    display: block;
}

.notification-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-modal-header h2 {
    margin: 0;
}

.notification-modal-close {
    position: absolute;
    cursor: cell;
    top: 15px;
    right: 10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 25px;
}

.notification-modal-close:hover {
    color: var(--contrast-color);
    cursor: cell;

}

.user-info-container {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.user-profile {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 8px;
}

.user-details {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 20px;
}

.user-details h3 {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    align-items: flex-end;
    font-size: 13px;
    font-family: 'Press Start 2P', cursive;
    line-height: 1.5; /* Adjust line height (multiplier of font size) */
    margin-bottom: 10px; /* Margin bottom for name and level */
    margin-left: 10px;
}


.user-details .level-number {
    color: var(--contrast-color);
    margin-left: 10px; /* Add space between name and level number */
}

.user-details .lvl-text {
    font-size: 0.7em; /* Smaller font size for "lvl" */
    margin-left: 20px; /* Add space between level number and "lvl" */
    transform: translateY(-2px);
}

.user-details p {
    margin: 5px 0;
}

.experience-bar {
    position: relative;
    width: 85%; /* 80% of left space */
    height: 20px;
    background-color: var(--contrast-color-t);
    border-radius: 10px;
    overflow: hidden;
}

.experience-bar-inner {
    height: 100%;
    background-color: var(--contrast-color);
    border-radius: 10px;
}

.user-profile img {
    width: 13%;
    height: auto;
    image-rendering: pixelated;
    border-radius: 4px;
}

.user-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.user-stats .stat-cell {
    flex: 1;
    text-align: center;
}

.stat-cell p {
    margin: 5px 0;
}

.unread-count {
    font-weight: bold;
}




.notification-modal.active {
    display: block;
}

.notification-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-modal-header h2 {
    margin: 0;
}

.notification-modal-close {
    cursor: cell;
}

.user-info-container {
    margin-bottom: 20px;
}

.notification-list {
    margin-top: 20px;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 2px solid var(--contrast-color);
}

.notification-item img.notification-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;

    margin-right: 10px;
    border-radius: 4px;
}

.notification-item .notification-message {
    flex: 1;
    margin-left: 20px; /* Bigger left margin */
}

.notification-item .notification-time {
    font-size: 0.7em; /* Much smaller */
    color: var(--contrast-color);
}

.notification-item img.profile-picture {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated; /* Use nearest method for pixel art */
    border-radius: 4px;
}

.notification-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 4999;

    overflow: hidden; /* Prevent scrolling on the backdrop */

}

.notification-backdrop.active {
    display: block;
}

.notification-item a.profile-link {
    display: inline-block;
    transition: transform 1s ease;
}

.notification-item a.profile-link:hover {
    transform: scale(2);
}





.haus-container {
    display: inline-block;
    cursor: cell;
    transform: translateY(-3px);
    box-sizing: content-box;

    
}

/* Handle autofill (WebKit browsers) */
input:-webkit-autofill {
    background-color: transparent !important; /* Ensure background matches the intended color */
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important; /* Remove default autofill background */
    -webkit-text-fill-color: var(--text-color) !important; /* Ensure text has the desired contrast color */
    transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill:focus {
    background-color: transparent !important; /* Retain same background color on focus */
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: var(--text-color) !important;
}


.profile-group {
    position: relative;
    transition: transform 0.3s ease; /* Smooth transition for scale effect */
}

.profile-group:hover {
    transform: scale(1); /* Scale up the profile group on hover */
}

.profile-group img.profile-picture:hover {
    transform: scale(1.2); /* Scale up the profile group on hover */
    transition: transform 0.3s ease; /* Smooth transition for scale effect */

}
/* No scale effect for the tooltip itself, it will just appear */
.profile-group .profile-actions {
    display: flex; /* Flex layout */
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    background-color: var(--text-color2-t);
    padding: 20px;
    gap: 10px;
    justify-content: center;
    visibility: hidden; /* Initially hidden */
    opacity: 0; /* Initially transparent */
    z-index: 1000;
    border-radius: 8px;
    border: 2px solid var(--contrast-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    width: 300%;


}

/* Show tooltip while hovering over profile-group */
.profile-group:hover .profile-actions,
.profile-group .profile-actions:hover {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s; /* No delay when showing */
}

/* Delay the hiding effect when not hovering */
.profile-group .profile-actions {
    transition-delay: 0.5s; /* Tooltip will disappear 1 second after hover ends */
}

.profile-actions button {
    background-color: transparent;
    color: var(--text-color);
    border: none;
    padding: 5px 10px;
    cursor: cell;
    font-family: 'Space Grotesk', cursive;
}

.profile-actions button:hover {
    color: var(--contrast-color);
    border-color: var(--contrast-color);
}

.profile-picture {
    cursor: cell;
}

.alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    padding: 40px;
    border-radius: 10px;
    z-index: 15000;
    display: none;
    font-family: 'Press Start 2P', cursive;
    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);
}


.lootbox-square {
    width: 40px;
    height: 40px;
    background-color: var(--contrast-color);
    position: relative;
    margin: 20px auto;
    cursor: cell;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px 6px var(--contrast-color);
    box-sizing: border-box;
    z-index: 1;
}

.lootbox-square::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-color: var(--contrast-color);
    opacity: 0.4;
    animation: radiate 2s infinite ease-in-out;
    pointer-events: none;
    box-sizing: border-box;
}

.lootbox-square .lootbox-message {
    display: none; /* Initially hidden */
    position: absolute;
    left: 60px; /* Position it to the right of the square */
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--background-color);
    color: var(--text-color); /* Use text-color for the message */
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7em;
    padding: 5px;
    border-radius: 5px;
    z-index: 2;
    white-space: normal; /* Allow text to wrap */
    max-width: 150px; /* Adjust the width to allow wrapping */
    word-wrap: break-word; /* Ensure long words break correctly */
}

/* Style for the lootbox-count */
.lootbox-square .lootbox-message .lootbox-count {
    font-size: 3em; /* Larger font size for the count */
    color: var(--contrast-color); /* Use contrast-color for the count */
}

/* Show the message (including the count) on hover */
.lootbox-square:hover .lootbox-message {
    display: block;
}


/* Confirmation Modal Styles */
.confirmation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--text-color2-t);
    color: var(--text-color);
    font-size: 20px;
    padding: 20px 30px;
    border: 4px solid var(--contrast-color);
    z-index: 16000; /* Higher than existing alerts */
    display: none;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 30%;
}

@media (max-width: 1080px) {

    .confirmation {
        top: 28%;

        width: auto;
    }
}

.confirmation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.confirmation-buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.confirmation-buttons button {
    padding: 10px 20px;
    font-size: 0.8em;
    font-family: 'Space Grotesk';
    cursor: cell;
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.confirmation-buttons button:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Differentiate Confirm and Cancel buttons */
#confirmation-confirm {
    border-color: var(--contrast-color);
    color: var(--contrast-color);
}

#confirmation-confirm:hover {
    background-color: var(--contrast-color);
    color: var(--bg-color);
}

/* Optional: Style for Cancel button can remain default or be customized further */


@keyframes radiate {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

.lootbox-square:hover {
    animation: shake 0.8s infinite;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}







@media (max-width: 1080px) {

    body {
        width: 100vw; /* Reset to default */
    }

    header {
        
        width: 100vw;
        padding: 8px 16px;
        box-sizing: border-box;
        
    }
    


    #desktop-nav,
    #desktop-user-info {
        display: none !important;
    }

    

    

    .hamburger {
        display: grid;
    }

    .hamburger-menu .profile-group span.tooltip-text {
        font-family: 'Press Start 2P', cursive;
        font-size: 16px;
        color: var(--contrast-color);
    }

    .profile-group {
        margin-top: 5vh;
    }

    .notification-modal {
        height: 80vh;
        top: 0%;
        left: 0%;
        transform: translate(0, 0);
    }

    .experience-bar {
        position: relative;
        width: 80%; /* 80% of left space */
        height: 10px;
        background-color: var(--contrast-color-t);
        border-radius: 10px;
        overflow: hidden;
    }

    .user-details h3 {

        display: flex;
        align-items: flex-end;
        margin: 0;
        font-size: 0.7em;
        font-family: 'Press Start 2P', cursive;
        margin-bottom: 10px; /* Margin bottom for name and level */
    }
    
    
    .user-details .level-number {
        color: var(--contrast-color);
        margin-left: 10px; /* Add space between name and level number */
    }
    
    .user-details .lvl-text {
        font-size: 0.7em; /* Smaller font size for "lvl" */
        margin-left: 20px; /* Add space between level number and "lvl" */
        transform: translateY(-2px);
    }

    .login {
        margin-top: 32px;
    }

    .menu-icons{
        margin-left: 16px;
    }

}