diff --git a/index.html b/index.html index 0277550a..fdee50b6 100644 --- a/index.html +++ b/index.html @@ -327,6 +327,22 @@

Welcome window.open('Html-files/menu.html', '_blank'); }); + + + + +
diff --git a/style.css b/style.css index 148eadd4..eea0b372 100644 --- a/style.css +++ b/style.css @@ -15,9 +15,14 @@ body { } .navbar { + background-color: transparent; /* Initial transparent background */ + transition: background-color 1s ease-in-out, backdrop-filter 0.3s, color 0.3s; /* Smooth transition for color change*/ padding: 8px 0px; - height: 60px; - transition: background-color 0.3s, backdrop-filter 0.3s, color 0.3s; /* Added transitions for smooth color change */ + position: fixed; /* Keep it at the top */ + top: 0; + width: 100%; + z-index: 1000; /* Ensure it stays above other elements */ + height: 80px; backdrop-filter: blur(0); /* Initially no blur */ }