*
{
    margin: 0;
    padding: 0;
}

html,
body
{
    overflow: hidden;
}

.webgl
{
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

/* personal professional tabs */


.project-tabs{
    position: relative;
    display: flex;
    margin-bottom: 50px;
    gap: 30px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn{
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    padding-left: 15px;
    width: 50%;
    text-align:start;
}

.tab-btn.active{
    color: var(--text-primary);
}

.tab-underline{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--text-primary);
    transition: all 0.35s cubic-bezier(.76,0,.24,1);
}
/* personal professional tabs ends */


/* frosted glass */
.glass {
  /* padding: 24px 40px;
  border-radius: 16px; */

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);

  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  text-align: center;
}

/* Loading Overlay Styles */
#loading-overlay {
    position: fixed; /* Fixes it to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Semi-transparent black background */
    color: white;
    display: flex; /* Use flexbox for centering */
    flex-direction: column; /* Stack text and progress bar vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    z-index: 9999; /* Ensure it's on top of everything */
    opacity: 1; /* Start visible */
    transition: opacity 1s ease-out; /* Smooth transition when fading out */
}

#loading-overlay.hidden {
    opacity: 0;
    pointer-events: none; /* Make it unclickable after fading out */
}

#loading-text {
    font-family: Arial, sans-serif;
    font-size: 1.5em;
    margin-bottom: 20px;
}

#progress-bar-container {
    width: 80%; /* Width of the progress bar background */
    height: 10px; /* Height of the progress bar */
    background-color: #333;
    border-radius: 10px;
    overflow: hidden; /* Hide anything outside the rounded corners */
}

#progress-bar {
    height: 100%;
    width: 0%; /* Starts empty */
    background-color: #4200dd; /* Blue fill for the progress */
    border-radius: 10px;
    transition: width 0.1s linear; /* Smooth transition for progress updates */
}

/* --- Constant Small Overlay Styles --- */
#constant-overlay {
    position: fixed; /* Stays in place relative to the viewport */
    top: 37%;    /* 15 pixels from the bottom edge */
    left: -13px;     /* 15 pixels from the right edge */
    /* background-color: transparent; The core "transparent background" */
    background-color: #331e1e31;
    color: rgb(103, 79, 79); /* Semi-transparent white text for good contrast */
    font-family: 'Segoe UI', 'Arial', sans-serif; /* Readable font */
    font-size: 0.85em; /* Small font size */
    padding: 10px 10px; /* Some padding around the text */
    padding-left: 20px;
    /* Optional: Add a subtle text shadow for readability on varying backgrounds */
    text-shadow: 0 0 3px rgba(0, 0, 0, 0);
    z-index: 10; /* Ensure it's above the Three.js canvas, but below other overlays */
    pointer-events: none; /* Make it non-clickable so it doesn't interfere with mouse events for the scene */
    text-align: center;
    border-radius: 10px;
}

#constant-overlay p {
    margin: 0; /* Remove default paragraph margin */
    font-weight: 600;
}
/* / */

#instructions-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(173, 216, 230, 0.5); /* Light blue with transparency */
    backdrop-filter: blur(8px); /* Frosted glass/ice effect */
    -webkit-backdrop-filter: blur(8px); /* For Safari support */
    color: #333; /* Darker text for readability on light background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9998; /* Below loading overlay, but above scene */
    opacity: 1; /* Start visible */
    transition: opacity 1s ease-out;
    font-family: 'Segoe UI', 'Arial', sans-serif; /* Modern, readable font */
}

#instructions-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

#instructions-content {
    background-color: rgba(255, 255, 255, 0.8); /* Slightly opaque white box for text */
    padding: 30px 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    text-align: center;
    max-width: 500px; /* Limit width for better readability */
    margin: 20px; /* Spacing from edges */
}

#instructions-content h1 {
    color: #0056b3; /* Darker blue for headings */
    margin-bottom: 25px;
    font-size: 2em;
}

#instructions-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

#instructions-content kbd {
    display: inline-block;
    padding: 3px 8px;
    font-family: monospace;
    font-size: 0.9em;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
    margin: 0 2px;
    color: #555;
}

#instructions-content h2 {
    color: #007bff;
    margin-top: 30px;
    font-size: 1.8em;
    animation: pulse 1.5s infinite alternate; /* Simple pulse animation */
}

/* Optional: Pulse animation for "Click to Enter" */
@keyframes pulse {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.05); opacity: 0.8; }
}

/*# sourceMappingURL=main.css.map*/