@@ -248,7 +248,7 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
248
248
249
249
< div id ="phenoAgeResult " class ="bioageform " data-aos ="fade " data-aos-duration ="700 " data-aos-delay ="400 "> </ div >
250
250
251
- < div class ="options-container " data-aos ="fade " data-aos-duration ="700 " data-aos-delay ="450 ">
251
+ < div class ="options-container " data-aos ="fade " data-aos-duration ="700 " data-aos-delay ="400 ">
252
252
< button id ="continueButton " class ="option-button already-have " onclick ="proceedToNextPage() ">
253
253
Next < i class ="fas fa-arrow-right "> </ i >
254
254
</ button >
@@ -414,7 +414,6 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
414
414
resultElement . style . maxWidth = '580px' ; // Set max width to match the form
415
415
resultElement . style . padding = '1.5rem' ;
416
416
417
- resultElement . style . backgroundColor = 'var(--background-color)' ; // Match the page background
418
417
resultElement . style . color = 'var(--dark-text-color)' ; // Standard dark gray
419
418
resultElement . style . border = '1px solid var(--primary-color)' ; // Cyan border matching the button
420
419
resultElement . style . boxShadow = '0 0 10px rgba(0, 188, 212, 0.15)' ; // Faint cyan shadow for emphasis
@@ -427,10 +426,10 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
427
426
// Setting up the animated counter effect
428
427
let displayAge = 0 ;
429
428
resultElement . innerHTML = `
430
- <div style="font-size: 1rem; color: #2c3e50; text-align: center;">Your biological age is:</div>
431
- <div style="font-size: 2.5rem; color: #4CAF50; font-weight: bold; text-align: center;"><span id="animatedAge">0</span></div>
432
- <div id="yearsText" style="font-size: 1rem; color: #2c3e50; text-align: center;">years</div>
433
- ` ;
429
+ <div style="font-size: 1rem; color: #2c3e50; text-align: center;">Your biological age is:</div>
430
+ <div style="font-size: 2.5rem; color: #4CAF50; font-weight: bold; text-align: center;"><span id="animatedAge">0</span></div>
431
+ <div id="yearsText" style="font-size: 1rem; color: #2c3e50; text-align: center;">years</div>
432
+ ` ;
434
433
435
434
if ( isFirstTimeAnimation ) {
436
435
// Set the flag to false after the first run
0 commit comments