/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body & General */
body {
    background: linear-gradient(135deg, #121212, #1f1f1f);
    color: #e0e0e0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 2rem 0;
}

/* Header */
.site-header {
    text-align: center;
    padding: 4rem 0 2rem 0;
}

.site-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.site-header p {
    font-size: 1.2rem;
    color: #81c784;
}

/* Main Content */
.card, .project-card {
    background-color: #2c2c2c;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* Profile Photo */
.profile-photo {
    width: 150px;
    border-radius: 50%;
    margin: 1rem 0;
}

/* Project Images */
.project-image {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    margin: 1rem 0;
}

/* Skills List */
.skills-list {
    list-style: none;
    padding-left: 0;
}

.skills-list li {
    background-color: #444;
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border-radius: 20px;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #76c7c0;
    color: white;
    padding: 0.8rem 2rem;
    margin-top: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #65b0ad;
}

/* Forms */
.contact-form label {
    display: block;
    margin: 1rem 0 0.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.contact-form button {
    width: 100%;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem 0;
    background-color: #1a1a1a;
    color: #ccc;
    margin-top: 2rem;
}

/* Fade-in Animation */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header h1 {
        font-size: 2rem;
    }

    .project-image, video {
        width: 100%;
    }
}
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #76c7c0;
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* hidden by default */
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}

#backToTop:hover {
    background-color: #65b0ad;
}
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind everything */
    background: transparent;
}
