/* Importing Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* Applying Poppins font globally */
}

/* Matrix Background Styling */
canvas#Matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Body Styling */
body {
    background-color: black;
    color: #fff;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    padding-top: 60px; /* To prevent overlap with navbar */
}

/* Container Styling */
.container {
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Layout for Main Content */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Section Styling for Education and Experience */
.col {
    width: 45%;
    margin-bottom: 20px;
}

/* Title Styling */
.title h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #0F0;
}

/* Box Styling for content areas */
.contents {
    background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent background */
    padding: 20px;
    border-radius: 8px;
}

/* Individual Box for each section */
.box {
    margin-bottom: 15px;
}

/* Date Styling */
.box h4 {
    font-size: 18px;
    color: #0F0;
    margin-bottom: 10px;
}

/* Heading Styling */
.box h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
}

/* Paragraph Styling */
.box p {
    font-size: 16px;
    line-height: 1.5;
    color: #ddd;
}

/* Navigation Bar Styling */
/* Navigation Bar Styling */
nav {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%); /* Center the navbar */
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6); /* Black with slight transparency */
    padding: 10px 20px; /* Add some padding for spacing */
    border-radius: 8px; /* Optional: add rounded corners */
}

.navbar {
    list-style-type: none;
    display: flex;
    gap: 20px;
    justify-content: center; /* Center the navbar items */
}

.navbar li {
    display: inline-block;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #0F0; /* Green color on hover */
}


/* Responsive Layout for Small Screens */
@media only screen and (max-width: 767px) {
    .hamburg {
        display: block;
    }

    .dropdown {
        width: 100%;
    }

    .nav-container .links {
        display: none;
    }

    .dropdown .links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
