@font-face {
    font-family: 'Pixel';
    src: url('./Fonts/Pokemon_Pixel_Font/Pokemon-Pixel-Font.woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pixel';
}

html, body, * {
    font-family: 'Pixel';
    
}
*, *::before, *::after {
    cursor: url('./Pictures/default-dark.svg') 0 0, auto !important;
}

:is(a, button, select, input, [role="button"], .music, .track-item, .info-icon, .quit-btn, .modal-trigger-btn),
[onclick],
[style*="cursor: pointer"],
[style*="cursor:pointer"] {
    cursor: url('./Pictures/pointer-dark.svg') 12 0, pointer !important;
}


body {
    background-color: #ebe9c2;
    overflow: hidden;
    min-height: 100vh;
}

#loading-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1d384d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-gif {
    width: 500px;
    height: auto;
}

.loading-page-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.topbar {
    width: 100%;
    height: 60px;
    background-color: #1a3449;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.info-icon {
    font-size: 24px;
    color: #ffffff;
    user-select: none;
}

.info-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.info-popup.active {
    opacity: 1;
    visibility: visible;
}

.info-popup-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    position: relative; 
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.retro-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #e06654;
    border: 3px solid #1a1a1a;
    box-shadow: inset 0 -4px 0 0 #b03a2e;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.retro-close-btn::before,
.retro-close-btn::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 4px;
    background-color: #ffffff;
}

.retro-close-btn::before {
    transform: rotate(45deg);
}

.retro-close-btn::after {
    transform: rotate(-45deg);
}

.retro-close-btn:active {
    box-shadow: none;
    transform: translateY(2px);
}

.avatar-container {
    position: absolute;
    left: 40px; 
    top: 90px;   
    height: calc(100vh - 130px); 
    width: 420px; 
    display: flex;
    flex-direction: column;
}

.avatar-tabs {
    display: flex;
    width: 100%;
    z-index: 2;
}

.tab-btn {
    flex: 1; 
    background-color: #bfae8a; 
    color: #1a1a1a;
    border: 3px solid #1a1a1a;
    border-bottom: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 10px 0;
    font-family: 'Pixel';
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.1s ease;
}

.tab-btn:hover {
    background-color: #cdbe9a;
}

.tab-btn.active {
    background-color: #d3d1ab; 
    padding-top: 12px;
    margin-bottom: -3px; 
}

.avatar-display-box {
    background-color: #d3d1ab;
    width: 100%;
    flex: 1; 
    border: 3px solid #1a1a1a;
    border-radius: 12px;
    border-top-left-radius: 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.15); 
    z-index: 1;
}

#current-avatar {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: pixelated; 
    transform: scale(1.5);
}

.naming-container {
    position: absolute;
    right: 40px; 
    top: 90px;  
    left: 500px;
    height: calc(100vh - 130px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.naming-title {
    font-family: 'Pixel';
    letter-spacing: 1.5px;
    color: #7da5bf;
    font-size: 52px; 
    margin-bottom: 15px;
    width: 100%;
    max-width: 750px;
    text-align: left;
}

.name-display {
    display: flex;
    gap: 16px; 
    margin-bottom: 25px;
    height: 50px;
    align-items: flex-end;
    width: 100%;
    max-width: 750px;
}

.letter-slot {
    width: 42px; 
    height: 45px;
    border-bottom: 6px solid #7da5bf;
    font-family: 'Pixel';
    letter-spacing: 1.5px;
    font-size: 46px; 
    font-weight: bold;
    color: #7da5bf;
    text-align: center;
    line-height: 38px;
    display: inline-block;
}

.letter-slot.pop-animate {
    animation: slotPop 0.15s ease-out;
}

@keyframes slotPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.retro-keyboard-layout {
    display: flex;
    gap: 24px; 
    width: 100%;
    max-width: 750px;
    flex: 1;
    max-height: 480px;
}

.letter-grid-box {
    background-color: #7da5bf;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    padding: 35px 30px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.letter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
}

.grid-item {
    background: none;
    border: 3px solid transparent;
    color: #ffffff;
    font-family: 'Pixel';
    letter-spacing: 1.5px;
    font-size: 52px; 
    font-weight: bold;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.dynamic-key {
    width: 55px; 
    height: 55px;
    text-shadow: 2px 2px 0px #4d6d85;
}

.grid-gap {
    width: 60px;
}

.side-control-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 160px; 
}

.action-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    color: #ffffff;
    text-shadow: 1px 1px 0px #1a1a1a;
    transition: transform 0.1s ease, box-shadow 0.1s ease; 
}

.back-ui {
    background-color: #c4be6b;
    box-shadow: inset 0 -5px 0 #9c964a, 0 4px 0 #1a1a1a;
}

.ok-ui {
    background-color: #ccd152;
    box-shadow: inset 0 -5px 0 #9ca132, 0 4px 0 #1a1a1a;
}

.back-ui:active, .back-ui.pressed-active {
    box-shadow: inset 0 2px 0 #9c964a;
    transform: translateY(4px);
}

.ok-ui:active, .ok-ui.pressed-active {
    box-shadow: inset 0 2px 0 #9ca132;
    transform: translateY(4px);
}

.grid-item.focused-node {
    border: 3px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.action-button.focused-node {
    border: 3px solid #ffffff;
}

.action-heading {
    font-size: 22px; 
    font-weight: bold;
}



.footer {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    letter-spacing: 1.5px;
    color: #f0823e; 
    
    font-size: 20px;
    z-index: 1000;
}

.screen-hidden {
    display: none !important;
}

/*#game-screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111111;
}*/

.game-topbar {
    width: 100%;
    height: 60px;
    background-color: #2c3e50;
    border-bottom: 4px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
}

.player-badge {
    color: #f1c40f;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;}
.game-title-center {
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 1.5px;}
.room-info{
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 1.5px;

}
.quit-btn {background-color: #e74c3c;
    color: white;
    border: 3px solid #1a1a1a;
    padding: 4px 12px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: inset 0 -3px 0 #c0392b;}
.quit-btn:active {
    box-shadow: none;
    transform: translateY(2px);}
#game-screen {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-color: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.room-viewport {
    position: absolute;
    top: -90px;
    left: 30px;
    width: 2150px;
    height: 900px;
    background-image: url('./Pictures/room.png');
    background-size: 2150px 900px;
    background-repeat: no-repeat;
    transform: scale(01.0);
    transform-origin: top left;
}
.game-frame-wrapper {
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 12%;
    right: 12%;
    background-color: #5393bd;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(69, 243, 255, 0.4);
    box-sizing: border-box;
    overflow: hidden;
}





.objects {
    position: absolute; 
    top: 0;
    left: 0;
    width: 2150px;
    height: 900px;
    pointer-events: none; 
}

.objects img {
    position: absolute;
    top: 0;
    left: 0;
    width: 2150px;
    height: 900px;
    object-fit: fill;
}



#player-sprite {
    position: absolute;
    width: 256px;
    height: 256px;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    image-rendering: pixelated;
    z-index: 1000;
}


.player-walk-cycle {
    animation: stepFrames 0.8s steps(8) infinite;
}

@keyframes stepFrames {
    from { background-position-x: 0px; }
    to { background-position-x: -2048px; }
}
.interactive-pin-group {
    position: absolute;
    z-index: 15;
    --line-height: 40px; 
}

.board-action-pin {
    position: relative; 
    z-index: 2;         
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #f1c40f; 
    border: 3px solid #1a1a1a;
    box-shadow: 0 4px 0 #bfae8a; 
    outline: none;
    cursor: pointer;
    transition: transform 0.05s ease, box-shadow 0.05s ease;
    display: block;     
}

.connector-line {
    position: absolute;
    left: calc(50% - 1.5px); 
    top: 7px;               
    width: 3px;
    height: var(--line-height); 
    background-color: #2c3e50; 
    border-left: 1px solid #1a1a1a;
    pointer-events: none;
    z-index: 1;             
}

.board-action-pin:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #bfae8a;
}

.board-action-pin:hover {
    background-color: #f39c12;
    animation: pinPulse 1.2s infinite ease-in-out;
}

@keyframes pinPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
.pop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(29, 56, 77, 0.65);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.pop-overlay.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.pop-wrap {
    position: relative;
    width: 850px;
    height: 600px;
    max-width: 90%;
    max-height: 80%;
    margin: auto;
}

.projects-card {
    background-color: #d2e7f7;
    border: 3.5px solid #39528e;
    border-radius: 16px;
    padding: 24px;
    color: #1a1a1a;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: block;
}

.pop-close-btn {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 2100;
    width: 36px;
    height: 36px;
    background-color: #e74c3c;
    border: 3px solid #1a1a1a;
    border-radius: 6px;
    box-shadow: 0 4px 0 #962d22;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.05s ease, box-shadow 0.05s ease;
}

.pop-close-btn::before,
.pop-close-btn::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
}

.pop-close-btn::before {
    transform: rotate(45deg);
}

.pop-close-btn::after {
    transform: rotate(-45deg);
}

.pop-close-btn:active {
    transform: translate(0px, 2px);
    box-shadow: 0 2px 0 #962d22;
}

.pop-close-btn:hover {
    background-color: #ff6b6b;
}

#projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    padding-right: 4px;
}

#projects-grid::-webkit-scrollbar {
    width: 12px;
}

#projects-grid::-webkit-scrollbar-track {
    background: #e4dfd3;
    border-left: 3px solid #1a1a1a;
}

#projects-grid::-webkit-scrollbar-thumb {
    background-color: #7990b5;
    border: 3px solid #1a1a1a;
    border-radius: 4px;
}

.project-button-item {
    background-color: #192541;
    
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #7da5bf;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 4px 0 #1a1a1a;
    user-select: none;
    box-sizing: border-box;
    height: 220px;
    width: 100%;
    max-width: 280px; 
    margin: 0 auto;
}

.project-button-item:hover {
    background-color:  #364e87;
    color: #b7d6ea;
    transform: scale(1.02);
}

.project-button-item:active {
    transform: translateY(4px);
    box-shadow: none;
}

.project-preview-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 3px solid #1a1a1a;
    border-radius: 4px;
    image-rendering: pixelated;
    background-color: #ffffff;
}

.project-label-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 8px;
    text-align: center;
    letter-spacing: 1px;
}

.project-tabs-row {
    display: flex;
    width: 100%;
    gap: 8px;
    margin-bottom: 12px;
    flex-shrink: 0;
}


.proj-tab-btn {
    background-color: #192541;
    color: #5393bd;    
    border-bottom: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;    
    padding: 10px 16px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.proj-tab-btn.active {
    background-color: #09286f;
    color: #408bbd;
    padding-bottom: 13px;
    margin-bottom: -3px;
}
.proj-tab-btn:hover{
    background-color: #244186;
    color: #6bbbf1; 

}
.project-tab-content-box {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
    color: #192541;
    contain: content;
    padding-right: 8px;
}



.project-tab-content-box::-webkit-scrollbar {
    width: 12px;
}

.project-tab-content-box::-webkit-scrollbar-track {
    background: #e4dfd3;
    border-left: 3px solid #39528e;
}

.project-tab-content-box::-webkit-scrollbar-thumb {
    background-color: #7990b5;
    border: 3px solid #39528e;
    border-radius: 4px;
}

.tab-pane {
    display: none;
    width: 100%;
    height: 100%;
    color: #1a1a1a;
    font-size: 22px;
}

.tab-pane.active {
    display: block;
}

.log-item-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px dashed #39528e;
}

.log-preview-img {
    width: 100%;
    max-width: 400px;
    max-height: 240px;
    object-fit: cover;
    border: 3px solid #39528e;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.project-live-link {
    display: inline-block;
    color: #39528e;
    text-decoration: underline;
    margin-bottom: 12px;
    cursor: pointer;
}

.overview-main-img {
    width: 50%;
    align-self:center;
    max-height: 320px;
    object-fit: cover;
    border: 3.5px solid #39528e;
    border-radius: 8px;
    image-rendering: pixelated;
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.overview-text-content {
    font-size: 22px;
    line-height: 1.6;
    color: #192541;
    white-space: pre-wrap;
}

.log-item-card p {
    font-size: 20px;
    line-height: 1.5;
    color: #192541;
    margin-top: 8px;
    white-space: pre-wrap;
}

#project-detail-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative; 
}
.tab-pane {
    display: none;
    width: 100%;
}

.tab-pane.active {
    display: flex; 
    flex-direction: column;
    min-height: 100%; 
    height: max-content; 

}


.link-img {
    display: none;
    position: fixed;
    bottom: 120px;
    right: 347px;
    z-index: 99999999;
    pointer-events: none;
}

.links-corner-sprite {
    width: 380px;
    height: auto;
    image-rendering: pixelated;
    display: block;
}
.my-projects-heading {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Pixel';
    font-size: 20px;
    color: #39528e;
    letter-spacing: 1.5px;
    text-align: center;
    pointer-events: none;
    user-select: none;
    z-index: 999;
}

.my-projects-heading.screen-hidden {
    display: none !important;
}
.art-info {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Pixel';
    font-size: 16px;
    color: #39528e;
    letter-spacing: 1.5px;
    text-align: center;
    pointer-events: none;
    user-select: none;
    z-index: 999;
}

.art-info.screen-hidden {
    display: none !important;
}
.projects-card {
    background-color: #d2e7f7;
    background-image: 
        linear-gradient(rgba(17, 75, 233, 0.17) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 75, 233, 0.17) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: center;
}

#art-pop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#art-pop-overlay.screen-hidden {
    display: none !important;
}

#art-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    height: calc(100% - 60px);
    overflow-y: auto;
    margin-top: 20px;
    box-sizing: border-box;
    padding: 10px;
}
.art-card-item {
    display: flex;
    flex-direction: column;
    width: 280px;
    height: auto;
    box-sizing: border-box;
    position: relative;
}

.art-image-frame {
    position: relative;
    width: 280px;
    height: 280px;
    background-color: #ffffff;
    border: 5px solid #1c3d52;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.actual-art-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.heart-badge-btn {
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 50px;
    height: 60px;
    background-color: #243b4a;
    border: 5px solid #1c3d52;
    border-top: none;
    border-right: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 0;
    z-index: 10;
}

.art-image-frame::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 55px;
    height: 65px;
    background-color: #243b4a;
    border: 5px solid #1c3d52;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    z-index: 5;
}

/* Base Heart Outline Configuration */
.heart-icon-svg {
    width: 22px;
    height: 22px;
}

.heart-outline-path {
    fill: none;
    stroke: #e2714c;
    stroke-width: 3;
    stroke-linejoin: round;
}

/* Filled Active State Configuration */
.heart-badge-btn.active .heart-outline-path {
    fill: #e2714c;
    stroke: #e2714c;
}

.heart-counter-text {
    font-family: 'Pixel';
    font-size: 14px;
    color: #e2714c;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Completely hides layout node spacing if string evaluates empty */
.heart-counter-text:empty {
    display: none;
}

.art-metadata-box {
    margin-top: 10px;
    margin-left: auto;
    width: 220px;
    height: 65px;
    background-color: #243b4a;
    border: 5px solid #1c3d52;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
}

.art-title-text {
    font-family: 'Pixel';
    font-size: 18px;
    color: #e2714c;
    letter-spacing: 1px;
}

.art-date-text {
    font-family: 'Pixel';
    font-size: 14px;
    color: #e2714c;
    letter-spacing: 0.5px;
}
.art-medium-text {
    font-family: 'Pixel';
    font-size: 14px;
    color: #e2714c;
    letter-spacing: 0.5px;
}

#global-art-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(36, 59, 74, 0.85);
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 12px;
}

#global-art-overlay.screen-hidden {
    display: none !important;
}

#global-zoomed-img {
    height: 80%;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    image-rendering: pixelated;
    border: 5px solid #1c3d52;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

#global-zoom-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 60;
}

#art-gallery-grid::-webkit-scrollbar {
    width: 12px;
}

#art-gallery-grid::-webkit-scrollbar-track {
    background: #e4dfd3;
    border-left: 3px solid #1a1a1a;
}

#art-gallery-grid::-webkit-scrollbar-thumb {
    background-color: #7990b5;
    border: 3px solid #1a1a1a;
    border-radius: 4px;
}

#study-pop-overlay {
   position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
}

#study-pop-overlay.screen-hidden {
    display: none !important;
}
.education-content-split {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.education-left-panel {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.pixel-bullet-list {
    text-align: left;
    max-width: 450px;
}
.study-bullet-list{
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 2;
    
    font-style: italic;
    word-spacing: 4px;
}
.earth{
    width:15%;
    height: 15%;
    z-index: 99999;
    position: relative;
    left: 260px;
    top: -160px;
    
}
[data-typewrite] {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    white-space: normal;
    display: block;
    width: 100%;
}

.note-workspace-container{
    display:flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}

.note-control-side{
    display: flex;
    flex-direction: column;
    width: 200px;
    gap: 12px;
}
.custom-color-btn{
    width: 100%;
    height: 44px;
    background-color: #192541;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.custom-color-btn:hover{
    transform: translateY(-5px);
    background-color: #2e4475;
    color: #6195f8;
}

.custom-color-label{
    size: 14px;
    color: #192541;
    text-align: center;
    margin-bottom: 4px;
}
.panel-row-split{
    display: flex;
    gap: 16px;
    width: 100%;
}
.panel-undo{
    flex: 1;
    background-color: #192541;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 0px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.panel-undo:hover{
    transform: translateY(-5px);
    background-color: #2e4475;
    color: #6195f8;
}
.panel-adj-box {
    background-color: #0c1524;
    border: 3px solid #1a1a1a;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.panel-adj-box .stepper-label {
    font-family: 'Pixel', sans-serif;
    font-size: 14px;
    color: #e4dfd3;
}

.panel-adj-box input[type="number"] {
    background: transparent;
    border: none;
    color: #e4dfd3;
    font-family: 'Pixel', sans-serif;
    font-size: 24px;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    outline: none;
}
.panel-action-btn {
    background-color: #0c1524;
    border: 3px solid #1a1a1a;
    color: #e4dfd3;
    font-family: 'Pixel', sans-serif;
    font-size: 16px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    transition: 0.3s ease-in-out;
}
.panel-action-btn:hover{
    transform: translateY(-5px);
    background-color: #2e4475;
    color: #6195f8;
}



.canvas-note-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    flex: 1;
}

.drawing-wrapper {
    background-color: #000000;
    border: 4px solid #1a1a1a;
    border-radius: 60px;
    overflow: hidden;
    width: 550px;
    height: 420px;
}

#note-drawing-area {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}
.send-action-row {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.send-btn {
    background-color: #0c1524;
    border: 3px solid #1a1a1a;
    border-radius: 12px;
    color: #e4dfd3;
    font-family: 'Pixel', sans-serif;
    font-size: 18px;
    padding: 12px 28px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.send-btn:hover{
    transform: translateY(-5px);
    background-color: #2e4475;
    color: #6195f8;
}
#contact-pop-overlay #contact-tab-canvas.tab-pane.active {
    display: block !important;
    width: 100% !important;
}

#contact-pop-overlay .note-workspace-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 10px !important;
    gap: 3px;
}
#contact-pop-overlay .tree {
    width: 102px;
    height: 102px;
    background-color: transparent;
    border: none;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 30px auto 0 auto;
    transform: scale(1.5) translateY(-25px);
    transform-origin: center top;
}

#contact-pop-overlay .tree img {
    width: auto;
    height: 102px;
    max-height: 102px;
    object-fit: none;
    object-position: 0px 0px;
    image-rendering: pixelated;
    transform: none !important;
}

#contact-pop-overlay .tree img.animate-tree {
    animation: playTreeSprite 1s steps(8) 1 forwards;
}

@keyframes playTreeSprite {
    from { object-position: 0px 0px; }
    to { object-position: -816px 0px; }
}
#contact-pop-overlay .canvas-note-side {
    position: relative;
}

#contact-pop-overlay .canvas-decor-gif {
    position: absolute;
    bottom: -10px;
    left: 90px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

#contact-pop-overlay .canvas-decor-gif img {
    width: 500%;
    height: 500%;
    object-fit: contain;
    image-rendering: pixelated;
}
#contact-pop-overlay .my-projects-heading {
    transform: translateY(-540px) !important;
}
#contact-pop-overlay {
   position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(29, 56, 77, 0.65);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#global-popup-tint {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5) !important;
    pointer-events: none;
    z-index: 9996;
    display: none;
}

#global-popup-tint.active {
    display: block;
}

#global-popup-particles {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10 !important;
    filter: brightness(0.4) saturate(5.9) !important;
    mix-blend-mode: screen !important;
}


#global-popup-particles.active {
    display: block;
}
#contact-pop-overlay, 
#projects-pop-overlay, 
#art-pop-overlay {
    z-index: 9999 !important;
}

#global-popup-particles {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 19 !important;
}

#contact-pop-overlay .pop-wrap,
#projects-pop-overlay .pop-wrap,
#art-pop-overlay .pop-wrap {
    position: relative !important;
    z-index: 20 !important;
}
#music-dropdown-panel {
    position: absolute;
    top: 130% !important;
    left: 0;
    background-color: #2d0127;
    border: 4px solid #1a1a1a;
    border-radius: 12px;
    padding: 12px;
    width: 180px;
    z-index: 10005;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2);
}

#music-dropdown-panel.dropdown-hidden {
    display: none !important;
}



.music-track-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.track-item {
    background-color: #68065b;
    border: 3px solid #1a1a1a;
    border-radius: 6px;
    padding: 8px;
    font-family: 'Pixel', sans-serif;
    color: #ffe368;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
    text-align: center;
    transition: 0.2s ease-in-out;
}

.track-item:hover, .track-item.playing-active {
    background-color: #ffe368;
    color: #68065b;
    transform: translateY(-5px);
}
@media (max-width: 768px) {
    #landing-page-container,
    .landing-screen,
    .main-portfolio-landing {
        padding: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100vw !important;
        box-sizing: border-box !important;
    }

    .room-viewport,
    .room-viewport-container,
    .isometric-room-frame {
        width: 100vw !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        overflow: hidden !important;
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .room-viewport .objects{
        transform: scale(0.6) !important;
        transform-origin: center center !important;
        width: 1000px !important;
        height: 600px !important;
    }

    .interactive-pin-group {
        transform: scale(0.85) !important;
        pointer-events: auto !important;
    }

    #contact-pop-overlay .pop-wrap,
    #projects-pop-overlay .pop-wrap,
    #art-pop-overlay .pop-wrap,
    #study-pop-overlay .pop-wrap {
        width: 92% !important;
        max-width: 380px !important;
        padding: 14px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
    }
}

[data-tooltip]{
    position:relative !important;
    
}
[data-tooltip] {
    position: relative !important;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 24px !important;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #68065b;
    font-weight: bolder;
    border-radius: 6px;
    color: #e4dfd3;
    font-family: 'Pixel', sans-serif;
    font-size: 16px;
    letter-spacing: 2.5px;
    padding: 8px 12px;
    width: max-content !important;
    min-width: 140px !important;
    max-width: 220px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    }

.rrom-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rrom-nav.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    position: relative; 
    text-align: center;
    width: 90%;
    color: #000000;
    max-width: 400px;
}

.retro-close-btnn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #e06654;
    border: 3px solid #1a1a1a;
    box-shadow: inset 0 -4px 0 0 #b03a2e;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    }

.retro-close-btnn::before,
.retro-close-btnn::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 4px;
    background-color: #ffffff;
}

.retro-close-btnn::before {
    transform: rotate(45deg);
}

.retro-close-btnn::after {
    transform: rotate(-45deg);
}
#video-pop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
}
#video-pop-overlay{
    opacity: 1;
    visibility: visible;
}
    

#video-pop-overlay:not(.screen-hidden) {
    display: flex !important;
}

.video-card-wrap {
    width: 90vw !important;
    max-width: 430px !important;
    height: auto !important;
    max-height: 85vh !important;
    display: flex;
    flex-direction: column;
}

.video-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.video-frame-container {
    width: 100%;
    aspect-ratio: 1210 / 1712 !important;
    background-color: #1a1a1a;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.retro-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

@media (max-width: 768px) {
    .video-card-wrap {
        max-width: 310px !important;
        max-height: 75vh !important;
    }
}
