:root {

    --border-color: rgb(2, 221, 2);
    --bg-color: rgb(0, 14, 0);
    --text-color: rgb(2, 221, 2);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Courier New, monospace;
    color: var(--text-color);
}

html,
body {
    width: 100%;
    height: 100%;
}


body {

    margin: 0;
    height: 100vh;

    background-color: var(--bg-color);

    background-image:
        linear-gradient(rgba(252, 252, 252, 0.044) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 251, 251, 0.037) 1px, transparent 1px);

    background-size: 10px 10px;

}


body {
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-areas:
        "nav main";
    gap: 5px;
}



nav {
    grid-area: nav;
}

main {
    grid-area: main;
}

nav {
    /* width: 150px; */
    height: 100vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    padding: 10px;
    row-gap: 30px;
    position: fixed;
    /* left: 0; */
    /* top: 0; */

}


nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 30px;

}

nav ul li {

    /* border: 1px solid; */
    width: fit-content;
    height: fit-content;

}

nav ul a {
    text-decoration: none;
    border-radius: 2px;
    border: 1px solid;
    width: 100%;
    padding: 5px 5px;
    outline: var(--border-color);
    font-size: 14px;
    text-transform: lowercase;

}

nav ul li::before {
    content: './';
}

nav ul a:hover {
    /* background-color: rgb(3, 41, 3); */
    background-color: var(--text-color);

    li {
        color: black;

    }

}


#logo {
    text-decoration: none;
    text-transform: lowercase;
    font-size: 18px;
    font-weight: 600;

    /* border-left: 3px solid;
        border-right: 3px solid; */
    border-radius: 5px;
    text-align: center;
    padding: 0 4px;
    width: 100%;

}

#logo::before {
    content: '>_ ';
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

#logo::after {
    content: '_ ';
    animation: blink 1s infinite linear;
    font-weight: 100;
}

@media (max-width:620px) {
    body {
        display: fle;
        grid-template-columns: auto;
        grid-template-rows: 1fr;
        grid-template-areas:
            "main"
            "nav ";
        gap: 0;
    }

    nav {
        width: 100%;
        padding: 20px 10px;
        height: fit-content;
        bottom: 0;
        top: auto;
        position: fixed;
    }

    nav ul {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
        overflow-x: scroll;
        scrollbar-width: none;

    }

    nav ul li {

        /* border: 1px solid; */
        width: fit-content;
        height: fit-content;


    }

    nav ul a {
        border: 1px solid;
        width: 100%;
        padding: 5px;
    }

    #logo {
        display: none;

    }



}


/* -----------------------------------NAV BAR COMPLETED------------------------------- */



/* ----------------------------------------MAIN STARTS-------------------------------- */

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid;
    width: 100%;
    height: 100%;
    padding: 20px;
}

main .content {
    border: 1px solid green;
    height: fit-content ;
    width:100%;
    max-width: 700px;
    align-items: center;
    padding: 20px;
    margin-bottom: 100px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    box-shadow: 0px 0px 8px rgba(0, 155, 0, 0.579);

}

.projects {
    width: 100%;
    /* border: 1px solid; */    
    display: flex;
     
    flex-wrap: wrap;
    gap: 30px;
    row-gap: 30PX;
    margin-bottom: 100px;
    justify-content: space-evenly;
    padding: 10px;

}
 .project  {
    width: 100%;
    max-width: 400px;
    min-width: 300px;
    max-height: 200px;
    display: flex;
    /* justify-content: space-between; */
    row-gap: 10px;
    flex-direction: column;
    border: 1px solid;
    border: 1px solid var(--text-color); 
    
    box-shadow: 0px 0px 8px rgba(0, 155, 0, 0.579);
    border-radius: 5px;
    padding: 10px ;
    
    
    
}
 .project img{
    
    border: 1px solid var(--text-color);
    width: 100px;
    height: 120px;
    object-fit:cover;
    border-radius: 2px;
    
    filter: grayscale(1) sepia(1) hue-rotate(70deg) ;
}


.terminal-head {
    width: 100%;
    /* border: 1px solid; */
    padding: 10px 0;
    border-bottom: 1px solid rgba(1, 143, 1, 0.604);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    p{
        font-size: 12px;
        font-weight: bold;
        letter-spacing: 1px;
    }
}

.ter-color {
    /* border: 1px solid; */
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ter-color:nth-child(1) {

    background-color: red;
}
.ter-color:nth-child(2) {

    background-color: orange;
}
.ter-color:nth-child(3) {

    background-color: green;
}


.console{
    /* border: 1px solid; */
    width: 100%;
    text-transform:lowercase;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.console-i{
    border-left: 2px solid rgb(255, 0, 0);
    border-radius: 5px;
    padding-left: 5px;
    height: fit-content;
    background-color: rgba(255, 0, 0, 0.09);
    color: red;

}
.console-o{
    border-left: 2px solid var(--text-color);
    border-radius: 5px;
    padding-left: 5px;
    height: fit-content;
    background-color: rgba(26, 255, 0, 0.056);
    color: var(--text-color);
}
.console-i::before{
    content: '+ ';
    font-weight:bold;
}
.console-o::before{
    content: '- ';
    font-weight:bold;
}


.links {
    display: flex;
    flex-direction: row;
    gap: 20px;

    a {
        border: 1px solid;
        padding: 5px;
        font-size: 12px;
        text-decoration: none;
        border-radius: 2px;
        outline: none;
        font-weight: bold;

        p {
            font-weight: 100;
        }

    }

    a::before {
        content: '>> ';
    }

    a:hover {
        background-color: rgba(39, 255, 1, 0.10);
    }
}



.p-title{
    font-size: 16px;
    font-weight: bold;
}
.p-desc{
    text-align: justify;
}
.top img{
    width: 100%;
    height: 200px;
    
    border-radius: 2px;
    object-fit: fill;
    filter:none ;
}

.mid{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    padding: 0 10px;
}
.p-reqs {
    display: flex;
    gap: 10px;
}
.p-reqs a{
    border:1px  solid ;
    padding: 2px 5px;
    text-decoration: none;
    font-size: 12px;
}
@media (max-width:620px) {


}