/* Projects page styles */
body {
    padding: 20px;
    align-items: center;
}

h1 {
    color: #00ff00;
    margin-bottom: 20px;
}

#projects-container {
    position: relative;
    top: 50px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
}


.project-item {
    display: flex;
    flex-direction: row;
    padding: 15px;
    border-radius: 5px;
    align-items: center;
    height: 40px;
     transition: transform 0.5s ease;
}

.project-item:hover {
    transform: scale(1.05);
    cursor: pointer;
    transition: transform 0.5s ease;
}

.project-title {
    margin-top: 0;
    color: #000000;
    font-size: 40px;
}

.project-tags{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.project-tag{
    color: #5f5f5f;
    border-radius: 3px;
    text-align: center;
    font-size: 10px;
}

.project-images{
    height: 40px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-left: 20px;
}

.project-image{
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 600px) {

    body{
        padding: none;
    }

    #main{
        padding: none;
    }

    #projects-container {
        top: 20px;
        gap: 10px;
        padding-bottom: 100px; /* Add space for buttons at bottom */
    }
    .project-item {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 10px;
    }

    .project-item:hover {
    transform: none;
    cursor: pointer;
    transition: transform 0s ease;
    }

    .project-title {
        font-size: 50px;
    }
    .project-images{
        height: 60px;
        margin-left: 0;
    }
    .project-image{
        height: 100%;
    }

    .project-tags{
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
        width: 100%;
        font-size: 10px;
        gap: 5px;
        justify-content: space-around;
    }
    
}