body {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
body.page-loaded {
    opacity: 1;
}
/* Floating Animation */
@keyframes floatAnimation {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
100% {
transform: translateY(0);
}
}

/* Styling for each project card */
.project-card {
background-color: #fff;
border-radius: 8px;
padding: 20px;
margin: 15px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
animation: floatAnimation 3s ease-in-out infinite;  /* Apply the floating animation */
}

.project-card img.project-image {
width: 100%;
height: auto;
border-radius: 5px;
}

.project-card .project-title {
font-size: 1.5em;
font-weight: bold;
margin: 10px 0;
}

.project-card .project-description {
font-size: 1em;
color: #555;
}

/* Optional: Adding hover effect to make the card more interactive */
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

