/* Import the pixelated font */
body {
    margin: 0;
    font-family: 'Press Start 2P', cursive;
    color: #00FF00; /* Neon green text */
    background: black;
}

/* Background Video */
#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    z-index: -1;
    opacity: 0.7; /* Slight transparency */
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh; /* Full viewport height */
    background: #000;
    z-index: 2;
    border-right: 2px solid #00FF00; /* Neon green border */
    overflow-y: auto; /* Enable vertical scrolling */
    scrollbar-width: thin; /* Thin scrollbar for better aesthetics */
    scrollbar-color: #00FF00 #000; /* Neon green scrollbar */
}

/* Styling for the scrollbar (for modern browsers) */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: #000; /* Black track */
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #00FF00; /* Neon green thumb */
    border-radius: 10px;
    border: 2px solid #000; /* Black border for separation */
}

.sidebar ul {
    list-style-type: none;
    padding: 20px;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 20px;
}

.sidebar ul li a {
    color: #00FF00;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.sidebar ul li a[target="_blank"]::after {
    content: " ↗"; /* Adds an arrow symbol */
    font-size: 0.8em;
    color: #FF00FF; /* Neon purple */
}

.sidebar ul li a img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

/* Container adjusts for sidebar */
.container {
    margin-left: 240px; /* Adjust based on sidebar width */
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hamburger-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 3;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    height: 4px;
    background-color: #00FF00; /* Neon green */
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Glitch Header */
.glitch-header h1 {
    font-size: 2em;
    text-align: center;
    position: relative;
    color: #00FF00;
    text-shadow: 0 0 5px #FF00FF, 0 0 10px #00FFFF;
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 0 red;
    }
    20% {
        text-shadow: -2px 0 blue;
    }
    40% {
        text-shadow: 2px 0 red;
    }
    60% {
        text-shadow: -2px 0 blue;
    }
    80% {
        text-shadow: 2px 0 red;
    }
    100% {
        text-shadow: -2px 0 blue;
    }
}

/* Main Content Section */
.main-content {
    text-align: center;
    margin: 40px 0;
}

/* Centering the Button Container */
.button-container {
    display: flex;
    justify-content: center; /* Horizontally center buttons */
    gap: 20px; /* Add spacing between buttons */
    margin-top: 20px;
}

/* Button Styling */
button {
    background-color: #000; /* Black background for retro feel */
    color: #00FF00; /* Neon green text */
    border: 2px solid #00FF00;
    border-radius: 5px;
    font-family: 'Press Start 2P', cursive; /* Retro pixel font */
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

button:hover {
    background-color: #00FF00;
    color: #000;
    transform: scale(1.1); /* Slight zoom effect */
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 50px;
    color: #00FF00;
}

/* Bio Section */
.bio-section {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid #00FF00;
    padding: 20px;
    margin-bottom: 20px;
}

.bio-section h2 {
    font-size: 1.5em;
    color: #FF00FF;
    text-shadow: 0 0 5px #00FFFF;
    margin-bottom: 10px;
    animation: glitch 1s infinite;
}

.bio-section p {
    font-size: 1em;
    line-height: 1.5;
}

/* Optional Image Styling */
.bio-image {
    display: block;
    margin: 20px auto;
    width: 200px;
    border: 2px solid #00FF00;
}

/* Styling for the video section */
.video-section {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    border: 2px solid #00FF00; /* Neon green border */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box; /* Ensures padding is included in width */
}

/* Styling for text below the video */
.video-footer {
    font-family: 'Press Start 2P', cursive; /* Retro pixel font */
    font-size: 1em;
    color: #00FF00; /* Neon green */
    margin-top: 20px;
    text-shadow: 0 0 5px #00FF00, 0 0 10px #00FF00; /* Glow effect */
}

.video-section h2 {
    font-size: 1.5em;
    color: #FF00FF;
    text-shadow: 0 0 5px #00FFFF;
    margin-bottom: 20px;
    animation: glitch 1.5s infinite;
}

/* Center the Video */
.center-video {
    display: block; /* Ensures it's treated as a block-level element */
    margin: 0 auto; /* Centers the block element horizontally */
    width: 80%; /* Adjust size as needed */
    max-width: 800px;
    border: 3px solid #00FF00;
    box-shadow: 0 0 15px #00FF00;
    border-radius: 10px;
}

/* New Section Styling */
.max-section {
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    border: 2px solid #00FF00; /* Neon green border */
    padding: 20px;
    margin: 40px 0;
    color: #00FF00; /* Neon green text */
    font-family: 'Press Start 2P', cursive; /* Retro pixel font */
    text-shadow: 0 0 5px #FF00FF, 0 0 10px #00FFFF; /* Glitch effect */
}

.max-section h2, .max-section h3 {
    color: #FF00FF; /* Neon purple headings */
    text-shadow: 0 0 5px #00FFFF, 0 0 10px #FF00FF; /* Glitch effect */
    margin-bottom: 10px;
}

.max-section p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.max-section ul {
    list-style-type: square; /* Retro list styling */
    margin-left: 20px;
    margin-bottom: 20px;
}

.max-section ul li {
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Glitch Animation */
@keyframes glitch {
    0% {
        text-shadow: 2px 0 red;
    }
    20% {
        text-shadow: -2px 0 blue;
    }
    40% {
        text-shadow: 2px 0 red;
    }
    60% {
        text-shadow: -2px 0 blue;
    }
    80% {
        text-shadow: 2px 0 red;
    }
    100% {
        text-shadow: -2px 0 blue;
    }
}

/* Optional Glitch Animation for Section Heading */
.max-section h2 {
    animation: glitch 1s infinite;
}


/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }


    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    .sidebar {
        display: none; /* Hide sidebar */
    }

/* Adjusted CSS for .sidebar.active */
.sidebar.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #000;
    z-index: 2;
    border-right: none;
    border-bottom: 2px solid #00FF00;
    padding-top: 70px; /* Adjust this value as needed */
}

    .sidebar ul {
        padding: 10px;
    }

    .sidebar ul li {
        margin-bottom: 10px;
    }

    .sidebar ul li a img {
        margin-right: 0; /* Remove extra spacing for compactness */
    }

    .container {
        margin-left: 70px; /* Adjust margin to match sidebar width */
        padding: 10px;
        margin-top: 10px;
    }

    .glitch-header h1 {
        font-size: 1.5em; /* Smaller font size for mobile */
    }

    .button-container {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
        gap: 10px;
    }

    .video-section {
        max-width: 100%; /* Use full width on mobile */
        margin: 20px auto;
        padding: 10px;
    }

    .center-video iframe {
        width: 100%; /* Make the video fill the width */
        height: auto; /* Maintain aspect ratio */
    }

    .video-footer {
        font-size: 0.8em; /* Adjust font size for smaller screens */
    }

    .footer {
        font-size: 0.8em;
        margin-top: 20px;
    }
    .container {
        margin-left: 0;
        margin-top: 80px; /* Space for the hamburger menu */
    }
}
