/* header.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

a, button {
    padding: 10px 15px;
    font-size: 14px;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

/* Icons and Links */
.home-icon {
    display: flex;
    align-items: center;
    position: relative;
    bottom: -5px;
}
.home-icon a{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #edf0f1;
}

.home-icon img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.home-icon img:hover {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.github-link, .itch-link {
    display: flex;
    align-items: center;
    margin: 0 -10px;
}

.github-link a, .itch-link a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #edf0f1;
}

.github-link img, .itch-link img {
    height: 32px;
    width: 32px;
    transition: transform 0.3s, opacity 0.3s;
}

.github-link img:hover, .itch-link img:hover {
    transform: scale(1.15);
    opacity: 0.8;
}


/* Navigation Links */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}


.nav-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav_links {
    display: flex;
    list-style: none;
    background-color: #333;
    border-radius: 25px;
    padding: 5px;
    margin: 0;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
}

.nav_links li {
    display: flex;
    align-items: center;
    position: relative;
}


.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.nav_links li:not(:last-child)::after {
    content: '';
    height: 60%;
    width: 1px;
    background-color: #555;
    margin-left: 10px;
    align-self: center;
}


.nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.075);
}




/* Size Adjust For Small Screens */
@media (max-width: 768px) {
    .top-bar {
        padding: 10px 15px;
    }
    
    .nav_links {
        background-color: #333;
        border-radius: 25px;
        padding: 5px;
        gap: 10px;
        box-sizing: border-box;
        width: 100%;
        justify-content: center;
    }

    .home-body {
        max-width: 100%;
        margin: 10px;
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .modal-content {
        width: 90%;
        margin: 5% auto;
    }
}

/* Size Adjust For Extra Small Screens */
@media (max-width: 480px) {
    .home-body {
        padding: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }

    .home-icon img {
        width: 54px;
        height: 32px;
    }

    .github-link img, .itch-link img{
        height: 32px;
        width: 32px;
    }

    .modal-content {
        width: 95%;
    }

    .nav_links {
        flex-direction: column;
        width: 100%;
        background-color: #333;
        padding: 8px;
        gap: 8px;
    }

    .nav_links li {
        position: relative;
        width: 100%;
        margin: 0;
    }

    .nav_links li:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: -10%;
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.2);
    }
}
