/* developed in house by higgzy */

html, body {
    height: 100%;
    margin: 0;
    background-color: #0d0d0d;
    font-family: 'Inconsolata', monospace;
    color: azure;
    font-size: 16px;
    line-height: 1.5;
}

@font-face {
    font-family: 'Inconsolata';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inconsolata/v37/BjAYBlHtW3CJxDcjzrnZyWvZL32fSFt6sZg.woff2') format('woff2');
}

header {
    background-image: url("images/banner_background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 20vh;
    width: 100%;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header p {
    margin: 0;
}

.banner_name {
    font-family: 'Inconsolata', monospace;
    color: azure;
    font-size: 60px;
}

.banner_txt {
    font-family: 'Inconsolata', monospace;
    color: azure;
    font-size: 25px;
}

nav {
    font-family: 'Inconsolata', monospace;
    font-size: 20px;
    background-color: black;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 50px;
}

nav a {
    font-size: 20px;
    color: azure;
    text-decoration: none;
    padding: 8px 25px;
    background: transparent;
    border-right: 2px solid gray;
}

nav a:hover {
    background: green;
    color: azure;
    box-shadow: 0 0 10px green;
}

nav a:last-child {
    border-right: none;
}


main {
    padding: 30px;
}

section {
    margin-bottom: 50px;
}

h1 {
    font-size: 32px;
    margin-bottom: 15px;
    border-bottom: 2px solid green;
    display: inline-block;
}

h2 {
    font-size: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid green;
    display: inline-block;
}

p {
    font-size: 20px;
    font-family: 'Inconsolata', monospace;
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0,255,0,0.3);
    transition: transform 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px green;
}


@media (max-width: 900px) {
    .banner_name {
        font-size: 10vw;
    }
    .banner_txt {
        font-size: 5vw;
    }
}

@media (max-width: 600px) {
    .banner_name {
        font-size: 10vw; 
    }
    .banner_txt {
        font-size: 5vw;
    }

    nav {
        flex-direction: column;
        height: auto;
        align-items: flex-start;
        padding: 10px;
    }

    nav a {
        display: block;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid gray;
        padding: 10px 0;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        font-size: 16px;
    }
}


@media (max-width: 400px) {
    main {
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 14px;
    }

    p {
        font-size: 18px;
    }
}
