body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Verdana', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Three.js Background Container */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Behind everything */
    background-color: #000000;
    /* Fallback */
}

/* Layout Wrapper */
.layout-container {
    display: flex;
    width: 90%;
    max-width: 1100px;
    gap: 20px;
    align-items: flex-start;
    margin: 20px;
    z-index: 1;
    /* Above background */
}

/* Navigation Sidebar */
.nav-sidebar {
    background-color: #000000;
    border: 2px solid #ffffff;
    width: 200px;
    padding: 20px;
    box-shadow: 10px 10px 0px #ffffff;
    /* Classic shading */
    flex-shrink: 0;
    text-align: center;
}

.nav-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1em;
    text-transform: uppercase;
    border: 1px solid #ffffff;
    padding: 10px;
    background-color: #000;
    transition: all 0.2s;
}

.nav-link:last-child {
    margin-bottom: 0;
}

.nav-link:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px #888;
}

/* Main Content Box */
.main-content {
    background-color: #000000;
    border: 2px solid #ffffff;
    flex-grow: 1;
    min-height: 80vh;
    padding: 40px;
    box-shadow: 10px 10px 0px #ffffff;
    /* Classic shading */
    position: relative;
}

.about-container {
    overflow: hidden;
}

.profile-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 2px solid #ffffff;
    padding: 5px;
    margin-left: 30px;
    margin-bottom: 20px;
    float: right;
    box-shadow: 5px 5px 0px #444;
}

h1 {
    text-transform: uppercase;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 10px;
    margin-bottom: 30px;
    width: 100%;
    clear: both;
    letter-spacing: 2px;
    font-weight: normal;
}

p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 0.95em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
}

.project-button {
    display: block;
    border: 1px solid #ffffff;
    padding: 20px;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    transition: all 0.2s;
    position: relative;
}

.project-button:hover {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 5px 5px 0px #888;
    transform: translate(-2px, -2px);
}