├── design ├── mobile-menu.jpg ├── active-states.jpg ├── desktop-design.jpg ├── desktop-preview.jpg └── mobile-design.jpg ├── images ├── favicon-32x32.png ├── icon-arrow-dark.svg ├── icon-arrow-light.svg ├── icon-hamburger.svg ├── icon-close.svg ├── bg-pattern-circles.svg ├── bg-pattern-intro-desktop.svg ├── bg-pattern-intro-mobile.svg ├── illustration-editor-mobile.svg ├── illustration-editor-desktop.svg ├── illustration-laptop-desktop.svg ├── illustration-laptop-mobile.svg ├── logo.svg └── illustration-phones.svg ├── script.js ├── .gitignore ├── LICENSE ├── style-guide.md ├── README.md ├── index.html └── style.css /design/mobile-menu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/mobile-menu.jpg -------------------------------------------------------------------------------- /design/active-states.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/active-states.jpg -------------------------------------------------------------------------------- /design/desktop-design.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/desktop-design.jpg -------------------------------------------------------------------------------- /design/desktop-preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/desktop-preview.jpg -------------------------------------------------------------------------------- /design/mobile-design.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/design/mobile-design.jpg -------------------------------------------------------------------------------- /images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Blogr-landing-page_frontend_project/HEAD/images/favicon-32x32.png -------------------------------------------------------------------------------- /images/icon-arrow-dark.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon-arrow-light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon-hamburger.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon-close.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-pattern-circles.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script.js: -------------------------------------------------------------------------------- 1 | var btn = document.getElementById("mobilemenu"); 2 | var mobilenav = document.getElementById("mobilenav"); 3 | 4 | mobilenav.style.left = "-100%"; 5 | 6 | btn.onclick = function(){ 7 | if(mobilenav.style.left == "-100%"){ 8 | mobilenav.style.left = "50%"; 9 | btn.src = "images/icon-close.svg"; 10 | } 11 | 12 | else{ 13 | mobilenav.style.left = "-100%"; 14 | btn.src = "images/icon-hamburger.svg"; 15 | } 16 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Avoid accidental upload of the Sketch and Figma design files 2 | ##################################################### 3 | ## Please do not remove lines 5 and 6 - thanks! 🙂 ## 4 | ##################################################### 5 | *.sketch 6 | *.fig 7 | 8 | # Avoid accidental XD upload if you convert the design file 9 | ############################################### 10 | ## Please do not remove line 12 - thanks! 🙂 ## 11 | ############################################### 12 | *.xd 13 | 14 | # Avoid your project being littered with annoying .DS_Store files! 15 | .DS_Store 16 | .prettierignore -------------------------------------------------------------------------------- /images/bg-pattern-intro-desktop.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Sarthak Sachdev 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /images/bg-pattern-intro-mobile.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /style-guide.md: -------------------------------------------------------------------------------- 1 | # Front-end Style Guide 2 | 3 | ## Layout 4 | 5 | The designs were created to the following widths: 6 | 7 | - Mobile: 375px 8 | - Desktop: 1440px 9 | 10 | ## Colors 11 | 12 | ### Primary 13 | 14 | - Light red (CTA text): hsl(356, 100%, 66%) 15 | - Very light red (CTA hover background): hsl(355, 100%, 74%) 16 | - Very dark blue (headings): hsl(208, 49%, 24%) 17 | 18 | ### Neutral 19 | 20 | - White (text): hsl(0, 0%, 100%) 21 | - Grayish blue (footer text): hsl(240, 2%, 79%) 22 | - Very dark grayish blue (body copy): hsl(207, 13%, 34%) 23 | - Very dark black blue (footer background): hsl(240, 10%, 16%) 24 | 25 | ### Gradient 26 | 27 | Background gradient - Intro/CTA mobile nav: 28 | 29 | - Very light red: hsl(13, 100%, 72%) 30 | - Light red: hsl(353, 100%, 62%) 31 | 32 | Background gradient - body: 33 | 34 | - Very dark gray blue: hsl(237, 17%, 21%) 35 | - Very dark desaturated blue: hsl(237, 23%, 32%) 36 | 37 | ## Typography 38 | 39 | ### Body Copy 40 | 41 | - Font size: 16px 42 | 43 | ### Fonts 44 | 45 | - Family: [Overpass](https://fonts.google.com/specimen/Overpass?preview.text_type=custom) 46 | - Weights: 300, 600 47 | 48 | - Family: [Ubuntu](https://fonts.google.com/specimen/Ubuntu?preview.text_type=custom) 49 | - Weights: 400, 500, 700 50 | -------------------------------------------------------------------------------- /images/illustration-editor-mobile.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/illustration-editor-desktop.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/illustration-laptop-desktop.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/illustration-laptop-mobile.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Blogr Landing Page 2 | 3 | ## Welcome! 👋 4 | 5 | ## Table of contents 6 | 7 | - [Overview](#overview) 8 | - [The challenge](#the-challenge) 9 | - [How to setup the project](#how-to-setup-the-project) 10 | - [Screenshot](#screenshot) 11 | - [Links](#links) 12 | - [My process](#my-process) 13 | - [Built with](#built-with) 14 | - [What I learned](#what-i-learned) 15 | - [Continued development](#continued-development) 16 | - [Useful resources](#useful-resources) 17 | - [Author](#author) 18 | - [Acknowledgments](#acknowledgments) 19 | 20 | ## Overview 21 | 22 | ### The challenge 23 | 24 | Users should be able to: 25 | 26 | - View the optimal layout for the site depending on their device's screen size 27 | - See hover states for all interactive elements on the page 28 | 29 | ### How to setup the project 30 | 31 | To set up the project locally, follow these steps: 32 | 33 | 1. Clone the repository using GitHub Desktop or Git Bash: 34 | ```bash 35 | git clone https://github.com/SartHak-0-Sach/Blogr-landing-page_frontend_project.git 36 | ``` 37 | 2. Open the project folder in your code editor. 38 | 3. Run the project using a live server extension or deploy it using Netlify, Vercel, or another web hosting and deployment service. 39 | 40 | ### Screenshot 41 | 42 | ![Design Preview](./design/active-states.jpg) 43 | 44 | ### Links 45 | 46 | - Solution URL: [GitHub Repository](https://github.com/SartHak-0-Sach/Blogr-landing-page_frontend_project) 47 | - Live Site URL: [Live Site](https://blogr-app-frontend.netlify.app/) 48 | 49 | ## My process 50 | 51 | ### Built with 52 | 53 | - HTML5 54 | - CSS3 55 | 56 | You will find all the required assets in the `/images` folder. The assets are already optimized. 57 | 58 | There is also a `style-guide.md` file containing the information you'll need, such as color palette and fonts. 59 | 60 | ### What I learned 61 | 62 | In this project I prepared a whole landing page of a website using HTML and CSS which really taught me how to structure all elements into a single page and place them according to view height so it gets easier for user to navigate. 63 | 64 | JS code for mobile navigation to increase responsiveness 65 | ``` 66 | var btn = document.getElementById("mobilemenu"); 67 | var mobilenav = document.getElementById("mobilenav"); 68 | 69 | mobilenav.style.left = "-100%"; 70 | 71 | btn.onclick = function(){ 72 | if(mobilenav.style.left == "-100%"){ 73 | mobilenav.style.left = "50%"; 74 | btn.src = "images/icon-close.svg"; 75 | } 76 | 77 | else{ 78 | mobilenav.style.left = "-100%"; 79 | btn.src = "images/icon-hamburger.svg"; 80 | } 81 | } 82 | ``` 83 | 84 | ### Continued development 85 | 86 | The continuously learning journey of a programmer never ends. This project made me realize that there are many concepts that I need to work upon including fundamentals like flex-box and its properties, to more complex concepts like working with fetch and async await in javascript. These areas are some that I think I need to work more upon in the upcoming future as they highlight some of the most significant regions of web development that are important for every developer to know of. 87 | 88 | These key points mentioned here will help me grow accountable and consistent towards improving at writing good quality code and be a successful full stack developer one day. 89 | 90 | ### Useful resources 91 | 92 | - [Harkirat Singh course notes](https://github.com/SartHak-0-Sach/harkirat-singh-course_code_and_notes) - I have added notes of all lectures along with code and lecture insights of all weeks along with bonus lectures to help you all as much as I can. 93 | - [My development code and notes](https://github.com/SartHak-0-Sach/cwh-web-dev-playlist_code_and_notes) - These are my notes that I made while working on my development skills in initial days and did these courses. Make sure to star the repository if you like it.✨💫 94 | - [mdn documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) - This is an amazing article which helped me finally understand promises, async and await syntax. I'd recommend it to anyone still learning this concept. 95 | 96 | ## Author 97 | 98 | Sarthak Sachdev 99 | - Website - [Sarthak Sachdev](https://itsmesarthak.netlify.app/) 100 | - LeetCode - [@sarthak_sachdev](https://leetcode.com/u/sarthak_sachdev/) 101 | - Twitter - [@sarthak_sach69](https://www.twitter.com/sarthak_sach69) 102 | 103 | ## Acknowledgments 104 | 105 | I feel like the solutions provided on the website and the continuous doubt solving by industry experts on discord for free is something that is unmatched by anyone else and need to be acknowledged for their efforts in improving me as a developer by suggesting the best practices in your respective tech stack. 106 | 107 | ## Got feedback for me? 108 | 109 | I love receiving feedback! I am always looking to improve my code and take up new innovative ideas to work upon. So if you have anything you'd like to mention, please email 'hi' at saarsaach30[at]gmail[dot]com. 110 | 111 | If you liked this project make sure to spread the word and share it with all your friends. 112 | 113 | **Happy coding!** ☺️🚀 -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Blogr landing page 11 | 12 | 13 | 14 | 15 |
16 | 60 | 61 |
62 |

A modern publishing platform

63 |

Grow your audience and build your online brand

64 | 68 |
69 |
70 | 71 | 72 |
73 | 122 |
123 | 124 | 125 |
126 |

Designed for the future

127 |
128 |
129 |

Introducing an extensible editor

130 |

Blogr features an exceedingly intuitive interface which lets you focus on one thing: creating content. 131 | The editor supports management of multiple blogs and allows easy manipulation of embeds such as images, 132 | videos, and Markdown. Extensibility with plugins and themes provide easy ways to add functionality or 133 | change the looks of a blog 134 |

135 |

Robust content management

136 |

Flexible content management enables users to easily move through posts. Increase the usability of your blog 137 | by adding customized categories, sections, format, or flow. With this functionality, you’re in full control. 138 |

139 |
140 |
141 | editor illustration 142 | editor illustration 143 |
144 |
145 |
146 | 147 | 148 |
149 |
150 | phone illustration 151 | circle pattern 152 |
153 |
154 |

State of the Art Infrastructure

155 |

With reliability and speed in mind, worldwide data centers provide the backbone for ultra-fast connectivity. 156 | This ensures your site will load instantly, no matter where your readers are, keeping your site competitive. 157 |

158 |
159 |
160 | 161 | 162 |
163 |
164 | laptop illustration 165 | laptop illustration 166 |
167 |
168 |
Free, open, simple
169 |

Blogr is a free and open source application backed by a large community of helpful developers. It supports 170 | features such as code syntax highlighting, RSS feeds, social media integration, third-party commenting tools, 171 | and works seamlessly with Google Analytics. The architecture is clean and is relatively easy to learn. 172 |

173 |
Powerful tooling
174 |

Batteries included. We built a simple and straightforward CLI tool that makes customization and deployment a breeze, but 175 | capable of producing even the most complicated sites. 176 |

177 |
178 |
179 | 180 | 181 | 217 | 218 | 219 | 220 | 221 | -------------------------------------------------------------------------------- /images/illustration-phones.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | font-size: 16px; 6 | } 7 | 8 | body, 9 | html { 10 | overflow-x: hidden; 11 | background: hsl(0, 26%, 96%); 12 | } 13 | 14 | /** Header starts here **/ 15 | 16 | .header { 17 | width: 100%; 18 | height: 100vh; 19 | position: relative; 20 | background: url(images/bg-pattern-intro.svg); 21 | background-position: center; 22 | background-size: 150%; 23 | padding: 4rem 10rem; 24 | border-bottom-left-radius: 6rem; 25 | background-repeat: no-repeat; 26 | background-color: hsl(353, 100%, 62%); 27 | } 28 | 29 | .header .navigation { 30 | display: flex; 31 | align-items: center; 32 | } 33 | 34 | .header .navigation .site-nav { 35 | flex: 1; 36 | margin-left: 3.5rem; 37 | display: flex; 38 | align-items: center; 39 | } 40 | 41 | .header .navigation .site-nav li { 42 | margin-right: 1.5rem; 43 | list-style: none; 44 | position: relative; 45 | } 46 | 47 | .header .navigation .site-nav li a { 48 | text-decoration: none; 49 | color: hsl(0, 0%, 100%); 50 | cursor: pointer; 51 | transition: 1s; 52 | font-family: 'Ubuntu', sans-serif; 53 | } 54 | 55 | .header .navigation .site-nav li a:hover { 56 | text-decoration: underline; 57 | } 58 | 59 | .header .navigation .site-nav li img { 60 | margin-left: .5rem; 61 | transition: .5s; 62 | } 63 | 64 | .header .navigation .site-nav li:hover img { 65 | transform: rotate(-180deg); 66 | } 67 | 68 | .header .navigation .site-nav li .dropdown-menu { 69 | display: none; 70 | transition: .5s; 71 | z-index: 10; 72 | } 73 | 74 | .header .navigation .site-nav li:hover .dropdown-menu { 75 | display: block; 76 | } 77 | 78 | .header .navigation .site-nav li .dropdown-menu ul { 79 | position: absolute; 80 | margin-top: .2rem; 81 | margin-left: -2rem; 82 | background: hsl(0, 0%, 100%); 83 | padding: 1.5rem; 84 | text-align: left; 85 | border-radius: 5px; 86 | box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.4); 87 | } 88 | 89 | .header .navigation .site-nav li .dropdown-menu ul li { 90 | display: block; 91 | margin-bottom: 1rem; 92 | } 93 | 94 | .header .navigation .site-nav li .dropdown-menu ul li:last-child { 95 | margin-bottom: 0; 96 | } 97 | 98 | .header .navigation .site-nav li .dropdown-menu ul li a { 99 | color: hsl(240, 0%, 56%); 100 | transition: .5s; 101 | cursor: pointer; 102 | text-decoration: none; 103 | } 104 | 105 | .header .navigation .site-nav li .dropdown-menu ul li a:hover { 106 | color: hsl(0, 0%, 5%); 107 | } 108 | 109 | .header .navigation .register { 110 | display: flex; 111 | align-items: center; 112 | } 113 | 114 | .header .navigation .register li { 115 | margin-left: 2rem; 116 | list-style: none; 117 | } 118 | 119 | .header .navigation .register li a { 120 | text-decoration: none; 121 | color: hsl(0, 0%, 100%); 122 | cursor: pointer; 123 | font-weight: 700; 124 | font-size: 0.9rem; 125 | font-family: 'Ubuntu', sans-serif; 126 | } 127 | 128 | .header .navigation .register li .signup { 129 | padding: .8rem 2.5rem; 130 | background: hsl(0, 0%, 100%); 131 | color: hsl(356, 100%, 66%); 132 | border: none; 133 | border-radius: 2rem; 134 | transition: .5s; 135 | } 136 | 137 | .header .navigation .register li .signup:hover { 138 | background: hsl(355, 100%, 74%); 139 | color: hsl(0, 0%, 100%); 140 | } 141 | 142 | .header .navigation #mobilemenu { 143 | display: none; 144 | } 145 | 146 | .header .header-content { 147 | position: absolute; 148 | top: 50%; 149 | left: 50%; 150 | transform: translate(-50%, -50%); 151 | text-align: center; 152 | width: 100%; 153 | } 154 | 155 | .header .header-content h1 { 156 | font-size: 3.5rem; 157 | color: hsl(0, 0%, 100%); 158 | margin-bottom: 1rem; 159 | font-family: 'Overpass', sans-serif; 160 | } 161 | 162 | .header .header-content p { 163 | font-size: 1.2rem; 164 | color: hsl(0, 0%, 100%); 165 | margin-bottom: 3rem; 166 | font-family: 'Ubuntu', sans-serif; 167 | font-weight: 400; 168 | } 169 | 170 | .header .header-content .header-content-links { 171 | display: flex; 172 | align-items: center; 173 | justify-content: center; 174 | } 175 | 176 | .header .header-content .header-content-links li { 177 | list-style: none; 178 | margin: 0 .5rem; 179 | } 180 | 181 | .header .header-content .header-content-links li a { 182 | text-decoration: none; 183 | padding: .7rem 1.5rem; 184 | cursor: pointer; 185 | font-size: .9rem; 186 | font-weight: 700; 187 | font-family: 'Ubuntu', sans-serif; 188 | } 189 | 190 | .header .header-content .header-content-links li .start { 191 | background: hsl(0, 0%, 100%); 192 | color: hsl(353, 100%, 62%); 193 | border-radius: 2rem; 194 | transition: .5s; 195 | } 196 | 197 | .header .header-content .header-content-links li .start:hover { 198 | background: hsl(355, 100%, 74%); 199 | color: hsl(0, 0%, 100%); 200 | } 201 | 202 | .header .header-content .header-content-links li .learn { 203 | background: transparent; 204 | color: hsl(0, 0%, 100%); 205 | border-radius: 2rem; 206 | transition: .5s; 207 | border: 1px solid hsl(0, 0%, 100%); 208 | } 209 | 210 | .header .header-content .header-content-links li .learn:hover { 211 | background: hsl(0, 0%, 100%); 212 | color: hsl(355, 100%, 74%); 213 | } 214 | 215 | .mobilenav { 216 | display: none; 217 | } 218 | 219 | /** Blogr Description starts here **/ 220 | 221 | .description { 222 | width: 100%; 223 | min-height: 100vh; 224 | position: relative; 225 | padding: 10rem 0 3rem 10rem; 226 | background: hsl(0, 26%, 96%); 227 | z-index: 2; 228 | } 229 | 230 | .description h2 { 231 | font-size: 2.5rem; 232 | color: hsl(208, 49%, 24%); 233 | text-align: center; 234 | margin-bottom: -4rem; 235 | font-family: 'Overpass', sans-serif; 236 | font-weight: 700; 237 | } 238 | 239 | .description .description-content { 240 | width: 100%; 241 | display: flex; 242 | align-items: center; 243 | position: relative; 244 | } 245 | 246 | .description .description-content .description-content-leftcolumn { 247 | flex-basis: 50%; 248 | } 249 | 250 | .description .description-content .description-content-leftcolumn h3 { 251 | font-size: 1.8rem; 252 | color: hsl(208, 49%, 24%); 253 | margin-bottom: 2.5rem; 254 | font-family: 'Overpass', sans-serif; 255 | font-weight: 700; 256 | } 257 | 258 | .description .description-content .description-content-leftcolumn p { 259 | font-size: 1.2rem; 260 | margin-bottom: 3rem; 261 | font-family: 'Overpass', sans-serif; 262 | font-weight: 300; 263 | } 264 | 265 | .description .description-content .description-content-rightcolumn { 266 | position: relative; 267 | flex-basis: 50%; 268 | } 269 | 270 | .description .description-content .description-content-rightcolumn .desktop-editor { 271 | width: 150%; 272 | position: relative; 273 | } 274 | 275 | .description .description-content .description-content-rightcolumn .mobile-editor { 276 | display: none; 277 | } 278 | 279 | /** Services starts here **/ 280 | 281 | .services { 282 | width: 100%; 283 | padding: 8rem 10rem; 284 | position: relative; 285 | background: hsl(237, 17%, 21%); 286 | display: flex; 287 | align-items: center; 288 | justify-content: space-between; 289 | border-top-right-radius: 6rem; 290 | border-bottom-left-radius: 6rem; 291 | } 292 | 293 | .services .services-rightcolumn { 294 | flex-basis: 50%; 295 | } 296 | 297 | .services .services-rightcolumn h4 { 298 | font-size: 2.3rem; 299 | color: hsl(0, 0%, 100%); 300 | margin-bottom: 2rem; 301 | font-family: 'Overpass', sans-serif; 302 | font-weight: 600; 303 | } 304 | 305 | .services .services-rightcolumn p { 306 | font-size: 1.1rem; 307 | color: hsl(0, 0%, 100%); 308 | font-family: 'Overpass', sans-serif; 309 | font-weight: 300; 310 | line-height: 1.9rem; 311 | } 312 | 313 | .services .services-leftcolumn { 314 | flex-basis: 40%; 315 | position: relative; 316 | background-image: url(images/illustration-phones.svg); 317 | background-position: center; 318 | background-size: cover; 319 | } 320 | 321 | .services .services-leftcolumn .phone { 322 | position: absolute; 323 | left: -5rem; 324 | top: -16rem; 325 | z-index: 3; 326 | } 327 | 328 | .services .services-leftcolumn .circle-pattern { 329 | position: absolute; 330 | left: -25rem; 331 | top: -50rem; 332 | z-index: 1; 333 | width: 250%; 334 | } 335 | 336 | /** Features starts here **/ 337 | 338 | .features { 339 | width: 100%; 340 | position: relative; 341 | padding: 15rem 10rem 15rem 0; 342 | display: flex; 343 | align-items: center; 344 | justify-content: space-between; 345 | background: hsl(0, 26%, 96%); 346 | z-index: 2; 347 | } 348 | 349 | .features .features-leftcolumn { 350 | flex-basis: 50%; 351 | position: relative; 352 | } 353 | 354 | .features .features-leftcolumn .desktop-illustration { 355 | width: 150%; 356 | position: absolute; 357 | top: 50%; 358 | transform: translateY(-50%); 359 | left: -16rem; 360 | } 361 | 362 | .features .features-leftcolumn .mobile-illustration { 363 | display: none; 364 | } 365 | 366 | .features .features-rightcolumn { 367 | flex-basis: 40%; 368 | position: relative; 369 | } 370 | 371 | .features .features-rightcolumn h5 { 372 | font-size: 1.8rem; 373 | color: hsl(208, 49%, 24%); 374 | margin-bottom: 1.5rem; 375 | font-family: 'Overpass', sans-serif; 376 | font-weight: 700; 377 | } 378 | 379 | .features .features-rightcolumn p { 380 | font-size: .95rem; 381 | color: hsl(208, 49%, 24%); 382 | margin-bottom: 3rem; 383 | font-family: 'Overpass', sans-serif; 384 | font-weight: 300; 385 | line-height: 2.1rem; 386 | } 387 | 388 | /** Footer starts here **/ 389 | 390 | footer { 391 | width: 100%; 392 | padding: 4rem 10rem 6rem; 393 | background: hsl(240, 10%, 16%); 394 | display: flex; 395 | justify-content: space-between; 396 | position: relative; 397 | border-top-right-radius: 6rem; 398 | } 399 | 400 | footer .footer-box { 401 | flex-basis: 20%; 402 | } 403 | 404 | footer .footer-box h6 { 405 | font-size: 1rem; 406 | color: hsl(0, 0%, 100%); 407 | margin-bottom: 2rem; 408 | font-family: 'Ubuntu', sans-serif; 409 | font-weight: 500; 410 | } 411 | 412 | footer .footer-box ul li { 413 | list-style: none; 414 | margin-bottom: 1rem; 415 | } 416 | 417 | footer .footer-box ul li a { 418 | text-decoration: none; 419 | color: hsl(240, 2%, 79%); 420 | font-size: 1rem; 421 | transition: .5s; 422 | cursor: pointer; 423 | font-family: 'Ubuntu', sans-serif; 424 | font-weight: 400; 425 | } 426 | 427 | footer .footer-box ul li a:hover { 428 | text-decoration: underline; 429 | } 430 | 431 | footer .attribution { 432 | position: absolute; 433 | bottom: 3rem; 434 | left: 50%; 435 | transform: translateX(-50%); 436 | color: hsl(240, 2%, 79%); 437 | font-family: 'Ubuntu', sans-serif; 438 | font-weight: 400; 439 | } 440 | 441 | footer .attribution a { 442 | text-decoration: none; 443 | color: hsl(0, 0%, 100%); 444 | font-family: 'Ubuntu', sans-serif; 445 | font-weight: 400; 446 | } 447 | 448 | /** Responsive Design starts here **/ 449 | 450 | @media (max-width: 991px) { 451 | .header { 452 | background: url(images/bg-pattern-intro.svg); 453 | background-position: center; 454 | background-size: 400%; 455 | padding: 4rem 1.5rem; 456 | background-color: hsl(353, 100%, 62%); 457 | } 458 | 459 | .header .navigation { 460 | justify-content: space-between; 461 | } 462 | 463 | .header .navigation .site-nav { 464 | display: none; 465 | } 466 | 467 | .header .navigation .register { 468 | display: none; 469 | } 470 | 471 | .header .header-content .header-content-links li .start { 472 | padding: 1rem; 473 | font-size: .8rem; 474 | display: block; 475 | } 476 | 477 | .header .header-content .header-content-links li .learn { 478 | padding: 1rem; 479 | font-size: .8rem; 480 | display: block; 481 | } 482 | 483 | .header .navigation #mobilemenu { 484 | display: block; 485 | } 486 | 487 | .header .header-content { 488 | padding: 0 1.5rem; 489 | } 490 | 491 | .header .header-content h1 { 492 | font-size: 2.3rem; 493 | } 494 | 495 | .header .header-content p { 496 | margin-bottom: 4rem; 497 | } 498 | 499 | .header .header-content .header-content-links li a { 500 | padding: 1.2rem 1.5rem; 501 | font-size: 1rem; 502 | } 503 | 504 | .description { 505 | padding: 4rem 2rem 8rem; 506 | } 507 | 508 | .description h2 { 509 | font-size: 1.8rem; 510 | margin-bottom: 2rem; 511 | } 512 | 513 | .description .description-content { 514 | flex-wrap: wrap; 515 | } 516 | 517 | .description .description-content .description-content-rightcolumn { 518 | position: relative; 519 | flex-basis: 100%; 520 | order: 1; 521 | display: flex; 522 | align-items: center; 523 | justify-content: center; 524 | } 525 | 526 | .description .description-content .description-content-rightcolumn .desktop-editor { 527 | display: none; 528 | } 529 | 530 | .description .description-content .description-content-rightcolumn .mobile-editor { 531 | display: block; 532 | width: 110%; 533 | margin-bottom: 1.5rem; 534 | } 535 | 536 | .description .description-content .description-content-leftcolumn { 537 | flex-basis: 100%; 538 | order: 2; 539 | text-align: center; 540 | margin-bottom: 3rem; 541 | } 542 | 543 | .description .description-content .description-content-leftcolumn h3 { 544 | margin-bottom: 1rem; 545 | } 546 | 547 | .description .description-content .description-content-leftcolumn p { 548 | font-size: 1.1rem; 549 | margin-bottom: 3rem; 550 | } 551 | 552 | .services { 553 | padding: 8rem 2rem; 554 | flex-wrap: wrap; 555 | justify-content: space-between; 556 | } 557 | 558 | .services .services-rightcolumn { 559 | flex-basis: 100%; 560 | text-align: center; 561 | margin-top: 6rem; 562 | } 563 | 564 | .services .services-leftcolumn .phone { 565 | position: absolute; 566 | left: 125%; 567 | transform: translateX(-50%); 568 | top: -19rem; 569 | z-index: 3; 570 | width: 375px; 571 | } 572 | 573 | .features { 574 | padding: 4rem 2rem; 575 | flex-wrap: wrap; 576 | } 577 | 578 | .features .features-leftcolumn { 579 | flex-basis: 100%; 580 | display: flex; 581 | align-items: center; 582 | justify-content: center; 583 | } 584 | 585 | .features .features-leftcolumn .desktop-illustration { 586 | display: none; 587 | } 588 | 589 | .features .features-leftcolumn .mobile-illustration { 590 | display: block; 591 | width: 130%; 592 | margin-bottom: 1.5rem; 593 | } 594 | 595 | .features .features-rightcolumn { 596 | flex-basis: 100%; 597 | text-align: center; 598 | } 599 | 600 | .features .features-rightcolumn h5 { 601 | font-size: 1.7rem; 602 | } 603 | 604 | footer { 605 | padding: 4rem 0 6rem; 606 | flex-wrap: wrap; 607 | } 608 | 609 | footer .footer-box { 610 | flex-basis: 100%; 611 | text-align: center; 612 | margin-bottom: 3rem; 613 | } 614 | 615 | footer .attribution { 616 | font-size: .9rem; 617 | } 618 | 619 | footer .attribution a { 620 | font-size: .9rem; 621 | } 622 | 623 | #mobilenav { 624 | display: block; 625 | position: absolute; 626 | top: 8.5rem; 627 | left: 50%; 628 | transform: translateX(-50%); 629 | width: 85%; 630 | padding: 2rem 1.5rem; 631 | background: hsl(0, 0%, 100%); 632 | box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.3); 633 | text-align: center; 634 | border: none; 635 | border-radius: .5rem; 636 | z-index: 10; 637 | transition: .5s; 638 | } 639 | 640 | .mobilenav ul li { 641 | list-style: none; 642 | margin-bottom: 2rem; 643 | display: flex; 644 | align-items: center; 645 | justify-content: center; 646 | } 647 | 648 | .mobilenav ul li a { 649 | text-decoration: none; 650 | color: hsl(240, 10%, 16%); 651 | font-size: 1.2rem; 652 | font-weight: 300; 653 | font-family: 'Ubuntu', sans-serif; 654 | font-weight: 400; 655 | } 656 | 657 | .mobilenav ul li img { 658 | margin-left: .5rem; 659 | transition: .5s; 660 | } 661 | 662 | .mobilenav ul li:nth-child(3) { 663 | position: relative; 664 | } 665 | 666 | .mobilenav ul li:hover img { 667 | transform: rotate(-180deg); 668 | } 669 | 670 | .mobilenav ul .connect { 671 | display: flex; 672 | flex-direction: column; 673 | align-items: center; 674 | } 675 | 676 | .mobilenav ul .connect .connect-text { 677 | display: flex; 678 | align-items: center; 679 | } 680 | 681 | .mobilenav ul .connect .dropdown-menu-mobile { 682 | background: hsl(0, 10%, 92%); 683 | padding: 1.5rem 0; 684 | width: 100%; 685 | border-radius: .5rem; 686 | display: none; 687 | transition: 2s; 688 | } 689 | 690 | .mobilenav ul .connect:hover .dropdown-menu-mobile { 691 | display: block; 692 | } 693 | 694 | .mobilenav ul .connect .dropdown-menu-mobile li:last-child { 695 | margin-bottom: 0; 696 | } 697 | 698 | .mobilenav ul hr { 699 | display: block; 700 | border: none; 701 | border-top: 1px solid hsl(0, 4%, 85%); 702 | margin: 2rem auto 2rem; 703 | width: 100%; 704 | } 705 | 706 | .mobilenav ul .signup { 707 | margin-bottom: 0; 708 | } 709 | 710 | .mobilenav ul .signup a { 711 | padding: .8rem 2.5rem; 712 | background: linear-gradient(90deg, hsl(13, 100%, 72%), hsl(353, 100%, 62%)); 713 | color: hsl(0, 0%, 100%); 714 | border-radius: 2rem; 715 | transition: .5s; 716 | font-family: 'Ubuntu', sans-serif; 717 | font-weight: 400; 718 | } 719 | 720 | .mobilenav ul .signup a:hover { 721 | background: linear-gradient(90deg, hsl(353, 100%, 62%), hsl(13, 100%, 72%)); 722 | } 723 | } 724 | 725 | @media (max-width: 320px) { 726 | .header .header-content h1 { 727 | font-size: 1.9rem; 728 | } 729 | 730 | .header .header-content .header-content-links li .start { 731 | padding: 1rem; 732 | font-size: .8rem; 733 | } 734 | 735 | .header .header-content .header-content-links li .learn { 736 | padding: 1rem; 737 | font-size: .8rem; 738 | } 739 | 740 | .description h2 { 741 | font-size: 1.5rem; 742 | } 743 | 744 | .description .description-content .description-content-leftcolumn h3 { 745 | font-size: 1.5rem; 746 | } 747 | 748 | .services .services-leftcolumn .phone { 749 | width: 320px; 750 | } 751 | 752 | .services .services-rightcolumn { 753 | margin-top: 2rem; 754 | } 755 | 756 | .services .services-rightcolumn h4 { 757 | font-size: 2.1rem; 758 | } 759 | 760 | footer .attribution { 761 | font-size: .7rem; 762 | } 763 | 764 | footer .attribution a { 765 | font-size: .7rem; 766 | } 767 | } --------------------------------------------------------------------------------