@font-face {
    font-family: 'PixelFont';
    src: url('PressStart2P-Regular.ttf') format('truetype');
  }

* { 
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'PixelFont';
}


html, body, canvas, #experience-canvas, *, *:active, *:focus {
    cursor: none !important;
}




.content-wrapper::-webkit-scrollbar {
    display: none;
  }
  
  
  .content-wrapper {
    scrollbar-width: none;
  }
  
  
  .content-wrapper {
    -ms-overflow-style: none;
  }




/* Canvas */
#experience {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    
}

#experience-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: none; 
}

/*Cursor*/

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff2fd0;
    box-shadow: 0 0 12px 4px rgba(255, 47, 208, 0.8);
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: background 0.2s ease, box-shadow 0.2s ease, width 0.2s ease, height 0.2s ease;
}

#custom-cursor.hovering {
    width: 24px;
    height: 24px;
    background: #2fff7a;
    box-shadow: 0 0 18px 6px rgba(47, 255, 122, 0.8);
}

@media (pointer: fine) {
    html, body, canvas, #experience-canvas, * {
        cursor: none !important;
    }
    
    #custom-cursor {
        display: block; 
    }
}





/*Modal */
/*Modal */

.modal {
    z-index: 1000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; 
    max-width: 700px;
    background-color: #e99dedf2;
    border: 2px solid #ffffff;
    color: white;
    text-shadow: black 0.1em 0.1em 0.2em;
    font-size: 12px;
    line-height: 1.5;
}

.modal-wrapper {
    padding: 20px; 
    display: flex;
    flex-direction: column;
    gap: 16px; 
}


.modal-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: flex-start; 
}

.modal-title {
    font-size: 16px;
    padding-right: 25px; 
    line-height: 1.4;
}

.modal-exit-button {
    background: none;
    border: none;           
    cursor: none;    
    outline: none;
    color: white;
    font-size: 16px;
    padding: 0 4px;
    line-height: 1;
}

.modal-exit-button:hover {
    transform: scale(1.2);
    color: red;
}


.modal-project-description {
    font-size: 12px;
    color: #ffffff;
    margin-top: 1%;
}


.modal-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.modal-project-visit-button {
    display: inline-block;
    color: #ff2fd0; 
    background-color: white;
    padding: 8px 40px;
    text-decoration: none;
    border: 2px solid white;
    text-shadow: none; 
    font-size: 11px;
    transition: all 0.2s ease;
}

.modal-project-visit-button:hover {
    background-color: transparent;
    color: white;
    text-shadow: black 0.1em 0.1em 0.2em;
}







   


/* Usecases */

.hidden {
    display: none !important; 
}


/* Mobile */ 
#mobile-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 150px;
    height: 150px;
    z-index: 500;
    display: none;
}

@media (hover: none) and (pointer: coarse) {
    #mobile-controls { display: block; }
    #custom-cursor { display: none; } 
}

.dpad-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.6);
    border: 2px solid white;
    border-radius: 8px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}
.dpad-up    { top: 0;   left: 50px; }
.dpad-left  { top: 50px; left: 0; }
.dpad-right { top: 50px; left: 100px; }
.dpad-down  { top: 100px; left: 50px; }




/* Infos */

#menu-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 600; 
}

.menu-btn {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.6);
    border: 2px solid white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    cursor: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

#popup-menu {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px); 
border: 4px solid white;
border-radius: 6px;
padding: 20px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80vw;
height: 80vh;
position: fixed;
min-width: 150px;
z-index: 1001;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;

}

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: black;
}

.close-btn:hover {
    scale: 1.2;
    color: red;
    transition: ease-in-out 0.2s;
}





/* icon Leiste */
.tab-navigation {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
    margin-right: 40px; 
}


/* Icons */
.tab-btn {
    background: none;
    border: none;
    cursor: none;
    color: rgba(0, 0, 0, 0.4);
    padding: 8px;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: black;
    scale: 1.1;
}

.tab-btn.active {
    color: black;
    border-bottom: 2px solid black;
}

/* content */
.content-wrapper {
    flex-grow: 1;
    padding: 2%;
    overflow-y: auto;
    line-height: 1.4; 
    min-height: 0;
    height: 100%;
    width: 100%;
    font-size: 14px ;
    
}




/*Videos */
.video-container {
    display: flex;
    gap: 20px;               
    width: 100%;
    justify-content: space-between;
}

.video-box {
    flex: 1;                 
    min-width: 250px;        
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.video-box h4 {
    margin: 0;
    font-size: 14px;
    color: #333;
}


.wide {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;    
    text-align: center;    
    margin-top: 5%;       
    
    gap: 8px;
}

.image-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;    
    text-align: center;    
    margin-top: 5%;       
    
    gap: 8px;
}

.wide h4 {
    margin: 0;
    font-size: 14px;
    color: #333;
}


.gif-video-wide {
    width: 100%;
    max-width: 1100px;       
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: cover;
}


.gif-video {
    width: 100%;             
    max-width: 600px;        
    height: auto;            
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
    .video-container {
        flex-direction: column; 
        gap: 25px; 
    }

    .gif-video {
        max-width: 100%; 
    }
    .desktop {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .content-wrapper p {
        font-size: 10px;

    }
    .content-wrapper h2 {
        font-size: 12px;

    }
    .content-wrapper h4 {
        font-size: 10px;

    }

    /* Modal tafeln */
        .modal {
            width: 95%; 
            font-size: 10px;
        }
    
        .modal-wrapper {
            padding: 15px;
            gap: 12px;
        }
    
        .modal-title {
            font-size: 13.5px;
            padding-right: 0px;
        }
    
        .modal-project-description {
            font-size: 10px;
        }
    
        .modal-project-visit-button {
            padding: 8px 12px;
            font-size: 9px;
            width: 100%; 
            text-align: center;
        }


}



.desktop {
    display: block; 
}

.mobile {
    display: none; 
}


#welcome-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2); 
    backdrop-filter: blur(2px);    
    z-index: 9000;                 
    display: flex;
    justify-content: center;
    align-items: center;
}


.welcome-modal-content {
    background: #e99dedf2;
    border: 4px solid white;
    line-height: 1.4;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.welcome-modal-leiste {
    flex-direction: row-reverse;
    display: flex;
    width: 100%;
    justify-content: center; 
}


#welcome-close-btn {
    background: none;
    border: none;           
    cursor: none;    
    outline: none;
    color: white;
    font-size: 16px;
    padding: 0 4px;
    line-height: 1;
}

#welcome-close-btn:hover {
    transform: scale(1.2);
    color: red;
}




