diff --git a/index.html b/index.html index b190c63..adaba4f 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,9 @@ #root { flex: 1; } - + .h1 { + font-size: 40px; + } .follow-us { -ms-flex-align: center; display: flex; @@ -166,10 +168,7 @@ /* Darker shade on hover */ } - .nav-link:hover{ - color: green !important; - } - + /* Responsive design */ @media (max-width: 768px) { .container { @@ -177,36 +176,107 @@ /* Adjust padding on smaller screens */ } } + .navbar { + position: relative; + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem; + } + .nav-list { + list-style: none; + display: flex; + gap: 20px; + } + .nav-link { + text-decoration: none; + color: white; + padding: 10px; + } + .nav-link:hover, + .nav-link.active { + background-color: rgba(255, 255, 255, 0.1); + border-radius: 5px; + } + .dropdown { + display: none; + position: absolute; + background-color: rgba(0, 0, 0, 0.8); + list-style: none; + padding: 10px; + } + li:hover .dropdown { + display: block; + } + .menu-toggle { + display: none; + cursor: pointer; + } + + /* Mobile styles */ + @media (max-width: 768px) { + .nav-list { + display: none; + flex-direction: column; + width: 100%; + position: absolute; + top: 60px; + left: 0; + background-color: rgba(0, 0, 0, 0.9); + } + .nav-list.active { + display: flex; + } + .menu-toggle { + display: flex; + } + } - - + + + + + + @@ -1134,4 +1204,4 @@

Follow Us

- \ No newline at end of file +