body {
    background-color: black;
    color: #00FF00;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 100vh;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    overflow: auto;
    padding-bottom: 50px;
    position: relative;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.typing-effect {
    font-size: 2em;
    margin: 50px 0 25px 0;
    white-space: nowrap;
    overflow: hidden;
}

.cursor {
    display: inline-block;
    background-color: #00FF00;
    width: 0.6em;
    height: 1.2em;
    animation: blink 0.5s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.window, .inner-window {
    border: 2px solid #00FF00;
    padding: 10px;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.7);
}

.title-bar, .inner-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 51, 0, 0.7);
    color: #00FF00;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.window-controls, .inner-window-controls {
    display: flex;
    gap: 10px;
}

.window-control {
    cursor: pointer;
    font-size: 1.5em;
}

.project-container, .links-container {
    padding: 20px;
    text-align: center;
}

.project-content {
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-description {
    text-align: left;
    font-family: 'Courier New', Courier, monospace; /* Ensure font consistency */
}

.project-description p {
    margin-bottom: 10px;
}

.project-description ul {
    list-style-type: disc;
    padding-left: 20px;
}

.project-description ul li {
    margin-bottom: 10px;
    color: #00FF00; /* Ensure bullet points are green */
}

.project-description ul li ul {
    padding-left: 20px;
}

.project-link-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.project-link {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #00FF00;
    color: #00FF00;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.project-link:hover {
    background-color: #00FF00;
    color: black;
}

.loading-animation {
    font-size: 1em;
    margin-bottom: 10px;
}

.loader {
    display: inline-block;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.links-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.links-grid a {
    color: #00FF00;
    text-decoration: none;
}

.links-grid a:hover {
    text-decoration: underline;
}

.skill {
    display: flex;
    justify-content: center;
    align-items: center;

}

.skill img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 10px;
    padding: 20px 0;
}

footer {
    display: none; /* Hide the footer */
}

.credits {
    color: #00FF00;
    text-align: center;
    margin-top: 100px; /* Position 100px below the last window */
    font-size: 1em;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .skill img {
        width: 30px;
        height: 30px;
    }

    .typing-effect {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .skill img {
        width: 20px;
        height: 20px;
    }

    .window, .inner-window {
        padding: 10px;
    }

    .project-container {
        padding: 5px; /* Reduce padding on mobile */
    }

    .project-content {
        padding: 5px; /* Reduce padding on mobile */
    }

    .project-description {
        font-size: 14px; /* Reduce font size on mobile */
    }

    .title-text, .window-controls {
        font-size: 0.8em;
    }

    .typing-effect {
        font-size: 1.5em;
    }
}
