/* Basic styles for the 3D portfolio */

body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color 0.8s ease, color 0.8s ease;
}

#three-canvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

#ui-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Ensures UI elements don't block canvas interaction by default */
}

.glass-button {
    pointer-events: auto; /* Re-enable pointer events for the button */
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 1.2em;
    cursor: pointer;
    color: var(--text-color);
    transition: background 0.3s ease, color 0.3s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.2);
}
