/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Tahoma, sans-serif;
}

body {
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1e581e;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 10px;
}

nav li {
    margin: 0 20px;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
}

section {
    padding: 170px 0; /* Adjusted padding for blank space */
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

section.active {
    opacity: 1;
    transform: translateY(0);
}

h1, h2, p {
    font-family: "Fira Code", monospace;
}

#home {
    background-color: #1e581e;
}

#projects {
    background-color: #3a914d;
}

#contact {
    background-color: #1d5725;
}

/* Add animations on scroll */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    visibility: visible !important;
}

#home.animated,
#projects.animated,
#contact.animated {
    animation-name: fadeInUp;
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Teal color for specific links */
#contact a,
#projects a {
    color: #00ff84;
}
