body {
    background-color: rgba(128, 128, 128, 0.181);
    min-height: 100vh;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slideIn {
    animation: slideIn 1s ease-out forwards;
}

.image-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Modified mobile styles */
@media (max-width: 768px) {
    .main-content {
        margin-top: 4rem;
        overflow-y: auto;
    }
    
    .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
    }

    /* New styles for mobile menu */
    #mobileMenu {
        background-color: rgba(255, 255, 255);
    }

    #mobileMenu .px-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }
}
/* Custom styles for overlapping card effect */
.project-image-card {
    position: absolute ;
    top: 50%;
    left: 50%;
    width: 85%;
    height: 85%;
    transform-origin: center;
    transition: transform 0.5s ease, z-index 0.5s ease;
}

.project-inactive {
transform: translate(-50%, -50%) scale(1.1) rotateX(45deg);
}

.project-next {
transform: translate(-50%, -50%) scale(1.15) rotateX(60deg);
}

.project-active {
transform: translate(-50%, -50%) scale(1) rotateY(0);
z-index: 10;
}
button{
    z-index: 11;
}
  