        @keyframes gradient {
            0% {background: rgb(19, 23, 42);} /* darker dominant color */
            20% {background: rgb(108, 109, 105);} /* darker first color from script output */
            40% {background: rgb(16, 20, 39);} /* darker second color from script output */
            60% {background: rgb(88, 91, 92);} /* darker third color from script output */
            80% {background: rgb(69, 70, 77);} /* darker fourth color from script output */
            100% {background: rgb(19, 23, 42);} /* back to darker dominant 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 */
        }
        
        :root {
            --profile-box-background: #000000;
            --profile-box-border: #1a1a1a;
        }
        
        :root {
            --profile-box-background: #ffffff;
            --profile-box-border: #ffffff;
        }
        
        #profile-box {
            position: relative;
            width: 300px;
            padding: 20px;
            border: 1px solid var(--profile-box-border);
            border-radius: 10px;
            box-shadow: 0 10px 20px rgb(255, 255, 255), 0 6px 6px rgb(255, 255, 255);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(51, 51, 51, 0.3));
            transition: transform 0.3s, border 0.3s;
            transform-style: preserve-3d;
            perspective: 1000px;
        }
        
        #profile-box-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: inherit;
            transition: opacity 0.3s;
            z-index: 1; /* New */
        }
        
        #profile-box > * {
            position: relative;
            z-index: 2; /* New */
        }
