Introducing Karma
+Bring WiFi with you, everywhere you go!
+ +Everyone needs a little Karma.
+Internet for all devices
+Boost your productivity
+Pay as You Go
+
+ Wherever I am, I just don't worry about my connection anymore!
+ +diff --git a/css/style.css b/css/style.css index 5cb025cef..fbeeccfb6 100755 --- a/css/style.css +++ b/css/style.css @@ -1,9 +1,15 @@ +/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ - /* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ +* { + box-sizing: border-box; +} body { - font-family: 'Roboto', sans-serif; - -webkit-font-smoothing: antialiased; + font-family: "Roboto", sans-serif; + -webkit-font-smoothing: antialiased; + padding: 0; + margin: 0; + background-color: whitesmoke; } /** @@ -15,5 +21,259 @@ body { * * - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex' */ +/* Navigation bar */ +.nav-bar { + display: flex; + justify-content: space-between; + margin-right: 100px; +} +.logo { + margin-left: 50px; + margin-top: 10px; +} +.nav-links { + display: flex; + align-items: center; +} +.nav-links ul { + display: flex; + flex-direction: row; + justify-content: space-between; +} +li { + list-style: none; +} +.nav-links a { + text-decoration: none; + display: block; + padding: 1rem; + color: rgb(56, 55, 55); +} +.nav-links li a:hover { + color: rgb(214, 99, 57); +} +.hamburgermenu { + position: absolute; + display: none; + flex-direction: column; + justify-content: space-between; + top: 1rem; + right: 1rem; + height: 30px; + width: 35px; +} +.hamburgermenu .bar { + background-color: rgb(56, 55, 55); + width: 100%; + height: 5px; + border-radius: 10px; + cursor: pointer; +} + +/* Main (hero section) */ +.herosvg { + height: 100px; + width: 100px; +} +.hero { + /* display: grid; + place-items: center; */ + height: 500px; + max-width: 100%; + background-position: center center; + background-repeat: no-repeat; + background-size: cover; + text-align: center; +} +.hero-heading { + display: grid; + place-items: center; + margin-bottom: 10px; + font-size: 1.9rem; + color: azure; + letter-spacing: 5px; + padding-top: 170px; + font-weight: lighter; +} +.hero-info { + color: azure; + /* margin-bottom: 50px; */ + font-size: 1.2rem; + font-weight: lighter; + letter-spacing: 2px; +} +.hero-button { + color: white; + background-color: rgb(219, 108, 68); + height: 40px; + width: 120px; + border: 1px solid rgb(219, 108, 68); + border-radius: 4px; + margin-top: 20px; +} +/* Main (karma section) */ +.karma-heading { + margin-top: 100px; + font-size: 1.7rem; + font-weight: lighter; + place-items: center; + letter-spacing: 3px; + margin-bottom: 10px; + text-align: center; +} +.products { + display: flex; + flex-wrap: wrap; + justify-content: space-around; + margin: 50px; +} +.svg-container { + flex: 1 1 360px; + display: grid; + place-items: center; +} +/* Addition-features */ +.additional-features { + display: grid; + grid-template-columns: 1fr 1fr 1fr; + margin-bottom: 50px; +} +.additional-info { + display: grid; + place-items: center; + grid-column: 2/4; + background-color: rgb(238, 233, 232); + height: auto; + max-width: 100%; +} +.lady-image { + display: block; + max-width: 100%; + height: auto; +} +.additional-info p { + font-size: 1.8rem; + font-weight: lighter; + text-align: center; + padding-left: 80px; + padding-right: 80px; + padding-top: 50px; +} +.get-karma { + color: white; + background-color: rgb(219, 108, 68); + height: 40px; + width: 180px; + border: 1px solid rgb(219, 108, 68); + border-radius: 4px; + margin-bottom: 50px; +} +/* horizontal line */ +hr { + opacity: 0.2; + width: 60%; + margin: auto; +} +/* footer */ +footer { + display: grid; + place-items: center; + text-align: center; +} +.footersvg { + height: 40px; + width: 40px; + border: rgb(224, 223, 223) solid 1px; + border-radius: 50%; + padding: 5px; +} +.copyright { + opacity: 0.3; +} + +/* @media queries */ +@media screen and (max-width: 550px) { + .nav-links { + display: none; + } + .hamburgermenu { + position: absolute; + display: flex; + flex-direction: column; + justify-content: space-between; + top: 1rem; + right: 1rem; + height: 30px; + width: 35px; + } + + #refillsvg { + margin-left: 40px; + } + .hero { + height: 100%; + width: 100%; + margin: auto; + background-position: center center; + background-repeat: no-repeat; + background-size: cover; + text-align: center; + } + .hero-heading { + display: grid; + place-items: center; + margin: 20px 40px; + font-size: 1.9rem; + color: azure; + letter-spacing: 5px; + padding-top: 80px; + font-weight: lighter; + } + .hero-info { + display: grid; + place-items: center; + color: azure; + font-size: 1.2rem; + font-weight: lighter; + letter-spacing: 2px; + width: 100%; + margin: auto; + } + .hero-button { + margin-bottom: 80px; + } + .additional-features { + display: flex; + flex-direction: column; + margin-bottom: 50px; + } + .additional-info { + display: flex; + flex-direction: column; + max-width: 100%; + height: auto; + } +} +@media screen and (max-width: 400px) { + .lady-image { + max-width: 100%; + height: auto; + } + .additional-features { + display: flex; + flex-direction: column; + /* max-width: 100%; */ + } + .additional-info p { + font-size: 1.2rem; + font-weight: lighter; + text-align: center; + } +} +@media screen and (max-width: 800px) { + .additional-features { + display: none; + } +} diff --git a/index.html b/index.html index 3e742ef04..9d6531945 100755 --- a/index.html +++ b/index.html @@ -1,19 +1,195 @@ -
- - + + + +Introducing Karma
+Bring WiFi with you, everywhere you go!
+ +Everyone needs a little Karma.
+Internet for all devices
+Boost your productivity
+Pay as You Go
+
+ Wherever I am, I just don't worry about my connection anymore!
+ +