diff --git a/index.html b/index.html
index 8aa024b..e396fbd 100644
--- a/index.html
+++ b/index.html
@@ -15,21 +15,23 @@
box-sizing: border-box;
}
- /** NAV STYLING */
- header {
- background-color: #000;
+ .banner {
+ max-width: 60%;
+ margin: 0 auto;
padding: 1rem 0;
- position: sticky;
- top: 0;
- z-index: 999;
- }
-
- nav {
display: flex;
justify-content: space-between;
align-items: center;
}
+ /** NAV STYLING */
+ header {
+ background-color: #000;
+ position: sticky;
+ top: 0;
+ z-index: 999;
+ }
+
.logo {
font-size: 1.5rem;
font-weight: bold;
@@ -37,11 +39,7 @@
text-decoration: none;
}
- #navMenu {
- display: flex;
- list-style: none;
- gap: 2rem;
- }
+
.navLink {
color: #ffd700;
@@ -67,7 +65,7 @@
width: 25px;
height: 3px;
background-color: #ffd700;
- margin: 3 px 0;
+ margin: 3px 0;
transition: 0.3s;
}
@@ -80,9 +78,8 @@
}
main {
- max-width: 700px;
+ max-width: 60%;
margin: 3rem auto;
- padding: 0 20px;
}
section {
@@ -120,7 +117,18 @@
color: #ffd700;
text-align: center;
padding: 2rem 0;
- margin-top: 4rem;
+ margin-top: 4rem auto;
+ display: flex;
+ justify-content: space-between;
+ }
+
+ #footer-left {
+ width: 50%;
+ text-align: left;
+ }
+ #footer-right {
+ width: 50%;
+ text-align: right;
}
/** "skip link" for screen readers */
@@ -141,32 +149,37 @@
top: 6px;
}
- /** Desktop (defaul) styles */
- @media screen and (min-width: 769px) {
+ /** Desktop (default) styles */
+ @media screen and (min-width: 851px) {
+ nav {
+ display: flex;
+ flex-direction: row;
+ gap: 3rem;
+
+ list-style: none;
+ }
+
+ nav li {
+ display: inline;
+ }
+
h1 {
font-size: 3rem;
}
-
- nav, main {
- padding: 0 40px;
- }
-
- #navMenu {
- gap: 3rem;
- }
}
/* Mobile Styles */
- @media screen and (max-width: 768px) {
+ @media screen and (max-width: 850px) {
#hamburger {
display: flex;
}
- nav {
+ header {
padding: 0 15px;
}
- #navMenu {
+ nav {
+ display: flex;
position: fixed;
left: -100%;
top: 70px;
@@ -180,14 +193,10 @@
gap: 1rem;
}
- #navMenu.active {
+ nav.active {
left: 0;
}
- #navMenu li {
- margin: 1rem 0;
- }
-
/** Hamburger animation */
#hamburger.active span:nth-child(1) {
transform: rotate(-45deg) translate(-5px, 6px);
@@ -212,7 +221,7 @@
Skip to main content
@@ -247,26 +256,29 @@