/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Title Image */
.img-tittle {
    text-align: center;
}

/* Base */
body {
    margin: 0;
    width: 100%;

    background-color: #0f0f0f;
    background-image: radial-gradient(circle at top right, rgb(0, 0, 0), transparent),
        radial-gradient(circle at 20% 80%, rgb(0, 0, 0), transparent);
    display: flex;

    align-items: center;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
    color: #33ff33;
}

/* Navigation Sidebar */
.sidenav {
    height: 100%;
    width: 200px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111111;
    overflow-x: hidden;
    padding-top: 20px;
    transition: 0.3s;
}

/* Hamburguer icon */
.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 30px;
    cursor: pointer;
    /* Ensures the hamburger is above other elements */
    z-index: 2;
    color: #33ff33;
}

/* hamburger in other color when sidebar shown */
.hamburger.active {
    color: #111111;
}

/* Sidebar */
.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 15px;
    color: #111111;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #ffffff;
}

/* Sidebar styling */
.sidebar {
    position: fixed;
    top: 0;
    left: 0; /* Start from the left edge */
    width: 250px; /* Width of sidebar */
    height: 100%;
    background: #00ff00;
    transition: transform 0.3s ease; /* Animate the transform property */
    z-index: 1;
    transform: translateX(-250px); /* Start offscreen */
    padding-top: 60px;
}

/* Sidebar active state */
.sidebar.active {
    transform: translateX(0); /* Reset translation to show sidebar */
}

/* Main content (body div) */
.content {
    /* Ensures the text appears above the canvas */
    z-index: 1;
    /* Positioning */
    width: 80%;
}

/* Section syling */
section {
    padding: 20px;
    margin-top: 70px;
    border-bottom: 1px solid #314935;
}

/* Table Styling */
table {
    /* Center the table */
    margin: auto;
}

table, th, td {
    border: 1px solid #33ff33;
    /* Green borders for the table */
}

caption {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #33ff33;
    /* Caption color */
}

thead {
    background-color: #0a0a0a;
    /* Dark head background */
}

th, td {
    padding: 10px;
    text-align: left;
    color: #33ff33;
    /* Green text for th and td */
}

tbody tr:nth-child(odd) {
    background-color: #131313;
    /* Odd row background */
}

tbody tr:nth-child(even) {
    background-color: #191919;
    /* Even row background */
}

th {
    color: #33ff33;
    /* Header cell text color */
}

/* Header Styling */
header {
    /* Slightly lighter background for the header */
    padding: 20px;
    text-align: center;
}

/* Footer Styling */
footer {
    background-color: #ffffff; /* Footer background with opacity */
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    padding: 20px;
    gap: 20px; /* Creates a gap between items */
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allows items to wrap to the next line if space is insufficient */
}   

footer img {
    width:150px; /* Set a fixed width for all images */
    margin: auto; /* Additional centering for cross-browser compatibility */
}

/* Canva Styling */
canvas {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Colors */
section p {
    color: #8f8;
    text-align: justify;
}    

.header_p {
    color: #00ff00;
}    

strong {
    color: #9dff00;
}    

strong a {
    color: #00ffb3;
}    

p a {
    color: #00ffb3;
}    

header h1 {
    color: #0f0;
    margin-bottom: 10px;
}

h2 {
    color: #0f0;
}


/* Media Queries for Responsive Adjustments */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }    

    .sidenav a {
        font-size: 18px;
    }    
}    

@media screen and (max-width: 768px) {
    body {
        padding: 0 10px;
    }    

    .sidenav {
        width: 150px;
    }    

    .content {
        width: 80%;
    }    

    /* Adjust content width when sidebar changes */
    nav a {
        display: block;
        margin: 10px 0;
    }    
}    

