*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html, body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
    width: 100px;
    height: 100px;
    font-size: 12px;
    margin: 0em;
    
}
.canvas{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}



#instructionButton {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: background-color 0.3s;
}

#instructionButton:hover {
    background-color: rgba(41, 41, 41, 0.758);
}

#reminder{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: background-color 0.3s;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 200px;
    height: auto;
    animation: pulse 2s infinite;
    margin-bottom: 20px;
}

.welcome-sign {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin-top: 20px;

}

.loading-progress {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin-top: 20px;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
       }
    50% {
         transform: scale(1.1);
         opacity: 1;
        }
     0% {
         transform: scale(1);
         opacity: 0.5;
        }
}

#homeButton {
    position: fixed;
   padding: 10px 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: background 0.3s;   top: 20px;
    right: 20px;
  
}

#homeButton:hover {
    background: rgba(0, 0, 0, 0.9);
}

#exhibit-ui {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    z-index: 5;
    display: none;
    pointer-events: auto;
}

#exhibit-title {
    color: white;
    margin-bottom: 10px;
    font-size: 24px;
}

#exhibit-description {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

#close-exhibit {
    background-color: #444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

#close-exhibit:hover {
    background-color: #555;
}


        
#video-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001;
}
        
#video-close-btn:hover {
    background-color: #555;
}
        
.video-info {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    max-width: 800px;
}
        
#video-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
        
#video-description {
    font-size: 1.2rem;
    line-height: 1.5;
}
        
#youtube-iframe {
    border: none;
    width: 80%;
    height: 60%;
    max-width: 1200px;
}
        
@media (max-width: 768px) {
            #youtube-iframe {
                width: 95% !important;
                height: 20% !important;
            }
            
            #video-title {
                font-size: 1.5rem;
            }
            
            #video-description {
                font-size: 1rem;
            }            
        }

#close-instructions{
   margin-top: 15px;
            padding: 8px 16px;
            background-color: #555;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
}

#instruction-content{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    z-index: 10000;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
}

/* Hide mobile instructions by default on desktop */
@media (min-width: 768px) {
    #for-mobile { display: none; }

}

/* Hide desktop instructions by default on mobile */
@media (max-width: 767px) {
    #for-desktop { display: none; }

    #reminder { display: none; }
}


