        @keyframes gradient {
            0% {background: rgb(99, 91, 136);} /* dominant color */
            20% {background: rgb(92, 84, 129);} 
            40% {background: rgb(160, 157, 173);} 
            60% {background: rgb(30, 26, 45);} 
            80% {background: rgb(138, 129, 163);} 
            100% {background: rgb(47, 47, 75);} /* last color */
        }
    
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }
    
        body {
            font-family: 'Montserrat', sans-serif;
            margin: 0;
            overflow: hidden;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            transition: background 2s ease-in-out;
            /* Apply the gradient animation to the body */
            animation: gradient 10s ease infinite;
            user-select: none; /* Add this line */

        }

    
        #header {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            z-index: 5;
        }
    
        #header h1 {
            margin: 0;
            color: rgb(255, 255, 255);
            animation: pulse 2s infinite;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            letter-spacing: 1.2px;
            line-height: 1.6;
        }
    
        #header a {
            margin-right: 10px;
            transition: color 0.3s ease;
            color: rgb(255, 255, 255);
            text-decoration: none;
        }
    
        #header a:hover {
            color: rgb(255, 255, 255);
        }
    
        #header #avatar {
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 50%;
            margin-bottom: 10px;
        }
        
        #quote {
            font-style: italic;
            color: rgb(255, 255, 255);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            letter-spacing: 1.1px;
            line-height: 1.5;
        }

        #socials a .icon {
            display: inline-block;
            transition: transform 0.3s ease;
            width: 1.4em;
            height: 1.4em;
            object-fit: cover;
            border-radius: 0%;
        }
        
        #socials a:hover .icon {
            transform: rotate(360deg);
        }

        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .back-button {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 10px 20px;
            background-color: rgba(255, 255, 255, 0); /* Make the button transparent */
            color: #fff;
            text-decoration: none;
            border: 1px solid #fff; /* Add a border so the button is still visible */
            border-radius: 5px;
            transition: background-color 0.3s ease;
            z-index: 6;
        }
        
        .back-button:hover {
            background-color: rgba(255, 255, 255, 0.1); /* Add a slight background color on hover */
        }
