/* General Styling */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    font-family: 'Arial', sans-serif;
}

/* Canvas */
canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* Full width of the viewport */
    height: 100vh; /* Full height of the viewport */
}

/* Title with Blue Pulse */
#title-pulse-blue {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4em; /* Base font size for desktop */
    font-family: Arial, sans-serif;
    color: #fff;
    text-align: center;
    border-bottom: 2px solid transparent; /* Start with transparent border */
    animation: pulse-blue 1.5s infinite alternate; /* Pulsating animation */
}

/* Sidebar */
#sidebar {
    position: fixed;
    top: 0;
    left: -200px; /* Hide initially */
    width: 200px;
    height: 100%;
    background-color: #333;
    transition: left 0.3s ease;
    z-index: 1;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3); /* Add subtle shadow for depth */
}
#sidebar.open {
    left: 0; /* Show when opened */
}
#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
#sidebar ul li {
    padding: 15px 20px; /* Increased padding for a more spacious look */
    border-bottom: 1px solid #555;
    color: #fff;
    font-size: 1.2em;
    transition: background-color 0.3s ease, padding-left 0.3s ease; /* Smooth transition for hover effects */
}
#sidebar ul li:hover {
    background-color: #555;
    cursor: pointer;
    padding-left: 30px; /* Slightly expand left padding on hover for interactivity */
}
#sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}
#sidebar a:hover {
    color: #1E90FF; /* Change color on hover */
}

/* Sidebar Icon */
#sidebar-icon {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

/* Blue Pulse Animation */
@keyframes pulse-blue {
    0% {
        border-color: transparent;
    }
    100% {
        border-color: blue; /* Blue border color */
    }
}

/* --- Media Queries for Responsive Design --- */
/* Small Devices (phones, <600px) */
@media (max-width: 600px) {
    #title-pulse-blue {
        font-size: 2em; /* Smaller text for mobile */
    }

    #sidebar {
        width: 150px; /* Smaller sidebar */
    }

    #sidebar ul li {
        font-size: 1em; /* Smaller font size in sidebar */
    }

    #sidebar-icon {
        font-size: 20px; /* Adjust icon size for mobile */
        top: 15px;
        left: 15px;
    }
}

/* Medium Devices (tablets, 600px - 1024px) */
@media (min-width: 600px) and (max-width: 1024px) {
    #title-pulse-blue {
        font-size: 3em; /* Adjust font size for tablets */
    }

    #sidebar {
        width: 180px; /* Slightly smaller sidebar */
    }

    #sidebar ul li {
        font-size: 1.1em;
    }

    #sidebar-icon {
        font-size: 22px;
        top: 18px;
        left: 18px;
    }
}

/* Large Devices (desktops, >1024px) */
@media (min-width: 1024px) {
    #title-pulse-blue {
        font-size: 4em; /* Larger font size for desktop */
    }

    #sidebar {
        width: 200px;
    }

    #sidebar ul li {
        font-size: 1.2em;
    }
}
