/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #f4f4f4;
}

/* index-header {
    background: linear-gradient(135deg, #f8e0e0, #c8e6c9);
    text-align: center;
    padding: 20px 0;
} */

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    25% { background-position: 40% 30%; }
    50% { background-position: 100% 70%; }
    75% { background-position: 60% 20%; }
    100% { background-position: 0% 50%; }
}
index-header, footer {
    position: relative;
    background: linear-gradient(90deg, #355070, #6d597a, #b56576, #e56b6f);
    background-size: 300% 300%;
    animation: gradientAnimation 8s ease infinite;
    color: #f6f4d2;
    padding: 20px;
    text-align: center;
    overflow: hidden; /* Prevents noise layer from overflowing */
}

/* Noise Overlay */
index-header::after, footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Assets/noise.png'); /* Add your noise image */
    opacity: 0.15; /* Adjust transparency */
    pointer-events: none; /* Ensures it doesn't interfere with clicks */
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: swirl 1.5s linear infinite;
    pointer-events: none;
    transform-origin: center;
}

/* Particle animation to swirl and fade */
@keyframes swirl {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1.5) rotate(360deg);
        opacity: 0;
    }
}

.full-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #f6f4d2;
    text-align: center;
    position: relative;
    padding: 0 20px;
  }
  
  nav {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  nav ul li {
    display: inline;
  }
  
  nav ul li a {
    color: #f6f4d2;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
  }
  
  .index-header-content {
    text-align: center;
  }
  
  .index-header-content h1 {
    font-size: 3.75em;
  }
  
  .index-header-content p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.625em;
  }
  
  .about-me {
    display: flex;
    flex-direction: column; /* Stack the elements vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    margin-top: 30px;
    width: 100%; /* Ensure it takes up full width */
    max-width: 1000px; /* Limit the width if needed */
    margin-left: auto;
    margin-right: auto; /* Horizontally center */
  }
  
  .about-me h2 {
    font-size: 2.5em;
  }
  
  .about-me p {
    font-family: 'Montserrat';
    font-style: normal;
    font-size: 1.375em;
    line-height: 1.5;
  }
  
  @media (max-width: 768px) {
    .index-header-content {
      text-align: center;
    }
  
    nav {
      top: 10px;
      right: 10px;
    }
  }
#three-container-about img {
    max-width: 300px;
    height: auto;
}

/* Video Section */
.video-container {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

main {
    padding-top: 10px; /* Adjust the padding value as needed */
    /* Add any other main element styles here */
}

/* Footer */
/* footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8e0e0, #c8e6c9);
    color: #333;
} */

footer a {
    color: #E0FFFF;
    text-decoration: none;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    transition: 0.3s;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
    color: #f6f4d2; /* Adjust color if needed */
}

/* Style the button with a down arrow image */
.down-button {
    background: transparent;
    border: none;
    cursor: pointer;
    transform: translateY(70%);
    padding: 50px;
    transition: transform 0.3s ease;
    z-index: 10;
}

.down-button img {
    width: 50px;  /* Adjust size of the arrow */
    height: auto;
}

/* Optional: Add a smooth transition effect for scrolling */
html {
    scroll-behavior: smooth;
}

.down-button:hover {
    transform: translateY(20%);
}


/* Project Cards Layout */
#game-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

h1.dark{
    color: #333;
}
.project {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.project img {
    width: 100%;
    aspect-ratio: 4068 / 2836;
    height: auto;
    object-fit: cover;
}

.project-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.project-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.keywords {

    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.keyword, .keyword-role, .keyword-topic {
    background: linear-gradient(to right, #6ec3f4, #b9beff);
    -webkit-background-clip: text; 
    color: transparent;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: white;
}

.keyword {
    background: #6d597a; /* Blue tone */
}

.keyword-role {
    background: #b56576; /* Red tone */
}

.keyword-topic {
    /*background: #0077b5; /* Red tone */
    background: #6d597a; /* Blue tone */

}

.this-word {
    position: relative;
    display: inline-block;
    transition: font-size 0.1s ease-out;
}

#animated-navbar {
    position: relative;
    align-items: center;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#animated-navbar.hidden {
    display: flex;
    opacity: 0;
}

#animated-navbar .word {
    font-size: 16px;
}




.filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

.filter-button {
    background-color: #f0f0f0;
    color: #333;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
  }

.filter-button.active {
    background: linear-gradient(90deg, #355070, #6d597a, #b56576, #e56b6f);
background: #6d597a;
    color: white;
  }

.project.hidden {
    display: none;
  }