.project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start with a slight downward offset */
    animation: fadeInUp 0.6s forwards; /* Apply animation */
    animation-delay: calc(var(--project-index) * 0.2s); /* Stagger animation */
    margin-bottom: 20px;
    margin-top: -10px;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.05); /* Pop out effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    margin-top: 10px;
    color: #ff729f;
}

.project-card p {
    color: #666;
}

.project-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    position: absolute; /* Absolute positioning for the icons */
    right: 15px; /* Align to the right */
    top: 2px; /* Adjust this value to move the icons up */
}

.project-link {
    color: #ff729f;
    text-decoration: none;
    font-size: 1.8em;
    transition: color 0.3s, transform 0.3s; /* Smooth scaling effect */
    cursor: url('../static/cursor.cur'), auto; /* Custom cursor for clickable elements */
}

.project-link:hover {
    color: #fff;
    transform: scale(1.1); /* Slightly enlarge on hover */
    cursor: url('../static/cursor.cur'), auto; /* Custom cursor for YouTube and GitHub logos */
}

.tech-tag {
    display: inline-block;
    background: #ffccd5;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px 5px 0 0;
    font-size: 0.9em;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    margin-bottom: -15px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffccd5; /* Adjusted to match the header color */
    padding: 5px; /* Adjusted padding to make the footer less tall */
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

#project-list li {
    list-style: none;
    margin: 10px 0;
}

#project-list li a {
    color: #ff729f;
    text-decoration: none;
    font-weight: bold;
}

#project-list li a:hover {
    text-decoration: underline;
}


.project-card {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px;
}

.project-image {
    margin-top: -15px;
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: url('../static/cursor.cur'), auto; /* Custom cursor */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for smooth animation */
}

.project-image:hover {
    transform: scale(1.1); /* Scale the image up on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow effect */
}

.image-caption {
    text-align: center;
    font-size: 0.9em;
    color: #555;
}

.project-info {
    text-align: center;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1000;
}

#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

#lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

#lightbox-caption {
    color: white;
    text-align: center;
    margin-bottom: 10px; /* Adjust margin as needed */
}

#left-arrow, #right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: url('../static/cursor.cur'), auto; /* Custom cursor */
    user-select: none;
}

#left-arrow {
    left: 20px;
}

#right-arrow {
    right: 20px;
}

#left-arrow:hover, #right-arrow:hover {
    color: #ccc;
    cursor: url('../static/cursor.cur'), auto; /* Custom cursor */
}