diff --git a/index.html b/index.html index d3c16e2..fc7a4d3 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ - + Mini Minds ☰ @@ -84,7 +84,7 @@ Where Learning is made practical - + diff --git a/script.js b/script.js index 47e8ba3..097ab5a 100644 --- a/script.js +++ b/script.js @@ -74,7 +74,7 @@ gsap.utils.toArray('.fade-in-up-target').forEach(el => { duration: 2, scrollTrigger: { trigger: el, - start: 'top 90%', + start: 'top 95%', end: 'bottom 10%', scrub: true } @@ -91,8 +91,8 @@ gsap.utils.toArray('.fade-in-left-target').forEach(el => { duration: 2, scrollTrigger: { trigger: el, - start: 'top 90%', - end: 'bottom 1s0%', + start: 'top 95%', + end: 'bottom 10%', scrub: true } } @@ -107,8 +107,8 @@ gsap.utils.toArray('.fade-in-right-target').forEach(el => { duration: 2, scrollTrigger: { trigger: el, - start: 'top 80%', - end: 'bottom 20%', + start: 'top 95%', + end: 'bottom 10%', scrub: true } } @@ -173,4 +173,3 @@ function signUp() { }); /*Loader Animation*/ - diff --git a/styles.css b/styles.css index 125d2ee..0b8b240 100644 --- a/styles.css +++ b/styles.css @@ -148,7 +148,7 @@ nav ul.active { font-size: 3vh; margin-top: 35vh; position: relative; - z-index: 100; + z-index: 1000; } body.night .hero-content { @@ -545,7 +545,7 @@ body.day nav ul { left: 0; transform: translate(-50%, -50%); border-radius: 50%; - z-index: 101; + z-index: 100000; pointer-events: none; } @@ -855,7 +855,7 @@ body.day .box { color: var(--moon-color); border: 2px solid var(--moon-color); border-radius: 15px; - padding: 10px 90px; + padding: 10px 110px; left: 50%; margin-top: 15px; font-family: "Anek Devanagari", sans-serif; @@ -940,7 +940,7 @@ body.day .sign-in:hover { } .hero-content button { - width: 90%; + width: 100%; box-sizing: border-box; } @@ -1270,13 +1270,17 @@ dialog { border-radius: 50%; padding: 9px 16px 7px 16px; position: fixed; - top: 85%; - right: 5%; + top: 88%; + right: 8%; font-size: 2vh; transition: 0.4s ease; } .back-to-top:hover { background-color: var(--main-white); - color: #008000; + color: var(--main-green); + } + + .navbar { + position: sticky; } \ No newline at end of file