@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500&display=swap');

@keyframes spaceMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20px;
    background: radial-gradient(circle, rgba(24, 36, 56, 1) 20%, rgba(5, 11, 26, 1) 100%);
    animation: spaceMove 15s linear infinite;
    background-size: 150% 150%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto; 
    height: auto;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none; 
}

.view-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 18px;
    color: #00ffff;
    text-decoration: none;
    border: 2px solid #00ffff;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.view-btn:hover {
    background-color: #00ffff;
    color: #051b31;
    box-shadow: 0 0 20px rgba(0, 255, 255, 1), 0 0 40px rgba(0, 255, 255, 0.8), 0 0 60px rgba(0, 255, 255, 0.6);
    transform: scale(1.05);
}

button {
transition: all 0.001s ease-in-out;
}

.profile-pic {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.about-btn {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px); 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-pic {
    transition: transform 0.3s ease-in-out;
}

.container:hover .profile-pic {
    transform: scale(1.05); 
}

.profile-pic:hover {
    transform: scale(1.1);
}

.logo-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
}

.logo-container h1 {
    margin-left: 10px;
    font-size: 24px;
}

.social-links img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
    box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.7);
}

.social-links img:hover {
    box-shadow: 0px 0px 20px 8px rgba(255, 255, 255, 0.9); 
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    margin-top: 15px;
    transition: 0.5s ease-in-out;
    box-shadow: 0px 0px 40px rgba(0, 255, 255, 0.6);
}

.project-card:hover {
    box-shadow: 0px 0px 80px rgba(0, 255, 255, 0.9);
    transform: translateY(-10px);
    background: rgba(0, 255, 255, 0.2);
}

.projects {
    margin-top: 30px;
}

.container {
    width: 100%;
    padding: 40px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2)); 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 900px; 
    margin: 50px auto; 
}

.welcome-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 25px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px; /* Space between title and subtitle */
}

.subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem; 
    font-weight: 400;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.projects-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 3.2rem; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #3e96a0, #64d6e7);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); 
    padding: 10px 0;
    margin-bottom: 15px;
    text-align: center; 
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.container p {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-top: 20px;
    letter-spacing: 1px;
}

.github-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 0px 12px 4px rgba(255, 255, 255, 0.6);
}

.github-icon:hover {
    box-shadow: 0px 0px 18px 6px rgba(255, 255, 255, 0.8);
}

.container p {
    font-size: 22px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    animation: glowingText 2s ease-in-out infinite alternate;
}

.project-card {
    position: relative; 
}

.lang-logo {
    position: absolute;
    bottom: 10px;  
    right: 10px; 
    width: 50px; 
    height: auto;
    opacity: 0;  
    transition: opacity 0.3s ease-in-out; 
    z-index: 10; 
}

.project-card:hover .lang-logo {
    opacity: 1; 
}


.project-card:hover {
    cursor: pointer; 
}

h4 {
    margin-top: 0;       
    margin-bottom: 20px; 
    font-size: 20px;     
    color: #3fe0ef;      
    font-style: italic;  
    letter-spacing: 1px; 
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease; 
    display: inline-block;  
}

h4:hover {
    color: #2979FF;  
    text-shadow: 2px 2px 10px rgba(41, 121, 255, 0.7); 
    transform: scale(1.05); 
    transform-origin: center;
}


h4::after {
    content: '👆';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 30px;
    animation: moveCursor 5s infinite alternate;
}

.logo {
    width: 200px;  
    height: auto;
}

@keyframes moveCursor {
    0% {
        top: -10px;
        left: -10px; 
    }
    25% {
        top: -10px;
        left: 100%;
    }
    50% {
        top: 100%; 
        left: 100%;
    }
    75% {
        top: 100%;
        left: -10px;
    }
    100% {
        top: -10px;
        left: -10px;
    }
}