/* Existing CSS */

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: url('/ccc.svg') no-repeat center center fixed; 
    background-size: cover;
    background-color: #000;
    text-align: center;
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.wrapper {
    padding-top: 80px; /* Added to prevent content hiding behind navbar */
    text-align: center;
    color: #fff;
}

h1 {
    margin-top: -10px;
    font-size: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
}

h2 {
    color: #ddd;
    font-size: 18px;
    font-weight: normal;
    text-shadow: 1px 1px 2px black;
}

.profile-img img {
    margin-top: -45px;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
}

.bio {
    margin-top: -50px;
    color: #ddd;
    margin: 0px auto;
    padding: 10px;
    max-width: 800px;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    font-variant: small-caps;
}

a {
    color: inherit; /* Makes the link color the same as the surrounding text */
    text-decoration: underline; /* Removes the underline */
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

h3 a {
    text-decoration: underline;
}

canvas {
    display: block;
    width: 50%;
    height: 50%;
    cursor: pointer; 
}

/* New CSS for Navigation Bar */

/* Reset some default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Navigation Bar */
.navbar {
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.0);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

/* Hamburger Icon */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 21px;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
}

.nav-menu.active {
    display: flex;
    transform: translateX(0);
}

.nav-item {
    margin: 20px 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ddd;
}

/* Links for Desktop View */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links .nav-link {
    font-size: 16px;
    color: #fff;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* Animate hamburger to 'X' when active */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Optional: Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

.micro-5-regular {
  font-family: "Micro 5", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 80px;
}

.share-tech-mono-regular {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.micro-5-regular a {
    text-decoration: none; /* Removes the underline */
}

.share-tech-mono-regular a {
    text-decoration: none; /* Removes the underline */
}

footer {
    color: #ddd;
    text-align: center;
    padding: 20px;
    width: 100%;
}

/* Form Styling */
.contact-form {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
    color: #fff;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #111;
    color: #fff;
}

.contact-form input[type="submit"] {
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.contact-form input[type="submit"]:hover {
    background-color: #555;
}
