body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.portfolio-page {
    padding: 20px;
}

.content-container {
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; /* Center the container */
}

.portfolio-page h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #333;
    text-align: left; /* Ensure the text is left-aligned */
    user-select: none; /* Standard */
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
}

.project-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure space is distributed between elements */
    text-align: center; 
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    background-color: #fff; /* Optional: Add background color for better visibility */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and box-shadow */
}

.project-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    user-select: none; /* Standard */
}

.project-item:hover {
    transform: translateY(-10px) scale(1.05); /* Raise up and grow slightly */
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); /* Enhance the shadow */
}

.portfolio-page ul {
    list-style-type: none;
    padding: 0;
}

.portfolio-page li {
    margin-bottom: 20px;
}

.portfolio-page h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    user-select: none; /* Standard */
}

.portfolio-page p {
    margin-bottom: 10px;
    user-select: none; /* Standard */
}

.portfolio-page a {
    color: #007bff;
    text-decoration: none;
}

.portfolio-page a:hover {
    text-decoration: underline;
}

/* Style for the project link */
.project-link {
    margin-left: 20px; /* Add space to the left of the GitHub icon */
}

/* Style for the social icon */
.social-icon {
    font-size: 1.5em; /* Size of the icon */
    color: #333; /* Color of the icon */
    transition: color 0.3s ease; /* Smooth transition for color */
}

.social-icon:hover {
    color: #333; /* Darker color on hover */
}
/* Responsive styles for mobile devices */
@media (max-width: 480px) {
    .projects-container {
        grid-template-columns: 1fr; /* Single column layout for smaller screens */
    }

    .project-item {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .project-footer {
        flex-direction: column; /* Stack footer elements vertically on smaller screens */
        align-items: flex-start; /* Align items to the start */
    }

    .project-tags {
        margin-bottom: 10px; /* Add space below tags */
    }

    .project-link {
        margin-left: 0; /* Reset margin */
    }
}
/* Style for the tags container */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between tags */
    margin-bottom: 30px; /* Space below the tags container */
}

/* Style for individual tag links */
.tags a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #007bff; /* Background color for tags */
    color: white; /* Text color for tags */
    text-decoration: none; /* Remove underline from links */
    border-radius: 5px; /* Rounded corners */
    font-size: 0.9em; /* Font size for tags */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

/* Hover effect for tag links */
.tags a:hover {
    background-color: #0056b3; /* Darker background color on hover */
}

/* Active state for selected tag */
.tags a.active {
    background-color: #b37a00; /* Darker background color for active tag */
    font-weight: bold; /* Bold text for active tag */
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px; /* Add space above the footer */
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Space between tags */
}

.project-tags a {
    font-size: 0.8em; /* Decreased font size for project item tags */
    padding: 3px 8px; /* Adjust padding for smaller text */
    background-color: #007bff; /* Background color for tags */
    color: white; /* Text color for tags */
    text-decoration: none; /* Remove underline from links */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.project-link {
    margin-left: auto; /* Push the link to the right */
}