|
| 1 | +* { |
| 2 | + margin: 0; |
| 3 | + padding: 0; |
| 4 | + box-sizing: border-box; |
| 5 | + font-family: 'Montserrat', 'Poppins'; |
| 6 | + scroll-behavior: smooth; |
| 7 | +} |
| 8 | + |
| 9 | +body { |
| 10 | + line-height: 24px; |
| 11 | +} |
| 12 | + |
| 13 | +.highlight { |
| 14 | + text-decoration-skip-ink: none; |
| 15 | + text-decoration: underline; |
| 16 | + text-decoration-color: #f47d26; |
| 17 | + text-decoration-thickness: 10px; |
| 18 | + text-underline-offset: -4px; |
| 19 | +} |
| 20 | + |
| 21 | +/* Nav-bar */ |
| 22 | +.header { |
| 23 | + display: flex; |
| 24 | + justify-content: space-between; |
| 25 | + align-items: center; |
| 26 | + position: fixed; |
| 27 | + padding: 16px 52px; |
| 28 | + background-color: white; |
| 29 | + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); |
| 30 | + width: 100%; |
| 31 | + z-index: 10; |
| 32 | +} |
| 33 | + |
| 34 | +.header-logo img { |
| 35 | + height: 70px; |
| 36 | +} |
| 37 | + |
| 38 | +.header-top-menu { |
| 39 | + display: flex; |
| 40 | + list-style: none; |
| 41 | +} |
| 42 | + |
| 43 | +.header-top-menu li { |
| 44 | + margin: 0 15px; |
| 45 | +} |
| 46 | + |
| 47 | +.header-top-menu li:first-child { |
| 48 | + text-decoration: underline; |
| 49 | + text-decoration-color: #f47d26; |
| 50 | + text-underline-offset: 8px; |
| 51 | +} |
| 52 | + |
| 53 | +.header-top-menu a { |
| 54 | + color: #444; |
| 55 | + text-decoration: none; |
| 56 | + font-family: 'Poppins'; |
| 57 | + font-weight: bold; |
| 58 | +} |
| 59 | + |
| 60 | +.header-top-menu li:first-child { |
| 61 | + text-transform: uppercase; |
| 62 | +} |
| 63 | + |
| 64 | +.header-cta .sign-up-button { |
| 65 | + background-color: rgb(255, 128, 0); |
| 66 | + color: white; |
| 67 | + padding: 8px 16px; |
| 68 | + border-radius: 4px; |
| 69 | + text-decoration: none; |
| 70 | + font-weight: 500; |
| 71 | + font-family: 'Poppins'; |
| 72 | +} |
| 73 | + |
| 74 | +.header-cta .sign-up-button:hover { |
| 75 | + background-color: rgb(251, 148, 44); |
| 76 | + transition-duration: 0.5s; |
| 77 | +} |
| 78 | + |
| 79 | +/* Hero section */ |
| 80 | + |
| 81 | +.hero-section { |
| 82 | + position: relative; |
| 83 | + display: flex; |
| 84 | + background-image: linear-gradient(rgba(0, 0, 0, 0.239), |
| 85 | + rgba(0, 0, 0, 0.239)), |
| 86 | + url("hero.jpg"); |
| 87 | + background-size: cover; |
| 88 | + background-attachment: fixed; |
| 89 | + background-position: center; |
| 90 | + background-repeat: no-repeat; |
| 91 | + height: 97%; |
| 92 | + color: white; |
| 93 | + align-items: center; |
| 94 | + justify-content: center; |
| 95 | + text-align: center; |
| 96 | + min-width: 30%; |
| 97 | + z-index: 0; |
| 98 | + background-position-y: 50px; |
| 99 | + padding-top: 80px; |
| 100 | +} |
| 101 | + |
| 102 | +.hero-content { |
| 103 | + margin-top: 0%; |
| 104 | + padding-top: 100px; |
| 105 | + padding-right: 250px; |
| 106 | + text-align: left; |
| 107 | + line-height: 5px; |
| 108 | +} |
| 109 | + |
| 110 | +.hero-title { |
| 111 | + font-size: 3em; |
| 112 | + padding-right: 20px; |
| 113 | + font-weight: bolder; |
| 114 | + margin-bottom: 20px; |
| 115 | + margin-right: 20%; |
| 116 | + line-height: 1.2em; |
| 117 | +} |
| 118 | + |
| 119 | +.hero-title .highlight { |
| 120 | + font-style: normal; |
| 121 | +} |
| 122 | + |
| 123 | +.hero-text { |
| 124 | + position: relative; |
| 125 | + margin-bottom: 35px; |
| 126 | + font-size: 18px; |
| 127 | + line-height: 24px; |
| 128 | + padding: 38px 130px 40px 180px; |
| 129 | + font-weight: 400; |
| 130 | + font-family: 'Poppins', sans-serif; |
| 131 | + font-size: 19px; |
| 132 | + margin: 0 22% 7% 0; |
| 133 | +} |
| 134 | + |
| 135 | +.hero-content div { |
| 136 | + background: #243e90; |
| 137 | +} |
| 138 | + |
| 139 | + |
| 140 | +.hero-text span { |
| 141 | + color: rgb(255, 128, 0); |
| 142 | + font-weight: bold; |
| 143 | +} |
| 144 | + |
| 145 | +/* Programs section */ |
| 146 | +.programs { |
| 147 | + display: grid; |
| 148 | + grid-template-columns: 1fr 1fr; |
| 149 | + /* Two columns */ |
| 150 | + gap: 20px; |
| 151 | + max-width: fit-content; |
| 152 | +} |
| 153 | + |
| 154 | +.programs-section { |
| 155 | + padding: 160px; |
| 156 | + margin-left: 60px; |
| 157 | + font-size: 25px; |
| 158 | + color: #444; |
| 159 | +} |
| 160 | + |
| 161 | +.programs-section h2 { |
| 162 | + font-weight: 900; |
| 163 | + margin-bottom: 70px; |
| 164 | +} |
| 165 | + |
| 166 | +.programs-section h2 .highlight { |
| 167 | + font-style: normal; |
| 168 | +} |
| 169 | + |
| 170 | +.programs-section li { |
| 171 | + list-style: none; |
| 172 | +} |
| 173 | + |
| 174 | +.programs li h3 { |
| 175 | + margin-bottom: 40px; |
| 176 | + font-size: 22px; |
| 177 | +} |
| 178 | + |
| 179 | +.programs li p { |
| 180 | + font-weight: lighter; |
| 181 | + font-family: 'Poppins'; |
| 182 | + color: #676767; |
| 183 | + font-size: small; |
| 184 | + font-weight: 400; |
| 185 | +} |
| 186 | + |
| 187 | +/* Footer */ |
| 188 | +footer { |
| 189 | + color: #444; |
| 190 | + font-family: 'Poppins'; |
| 191 | + text-align: center; |
| 192 | + font-size: 13px; |
| 193 | + padding: 50px; |
| 194 | + margin-bottom: 10px; |
| 195 | +} |
| 196 | + |
| 197 | +@media only screen and (max-width: 999px) and (min-width: 690px) { |
| 198 | + .hero-title { |
| 199 | + font-size: 37.8px; |
| 200 | + line-height: 42px; |
| 201 | + } |
| 202 | +} |
| 203 | + |
| 204 | +@media (min-width: 30em) and (max-width: 50em) { |
| 205 | + .programs li p { |
| 206 | + left: 0; |
| 207 | + |
| 208 | + } |
| 209 | +} |
| 210 | + |
| 211 | +@media (width <=1250px) { |
| 212 | + .hero-section { |
| 213 | + min-width: 300px; |
| 214 | + } |
| 215 | + |
| 216 | + .programs { |
| 217 | + grid-template-columns: 1fr; |
| 218 | + } |
| 219 | + |
| 220 | + .programs-section { |
| 221 | + margin-left: 0; |
| 222 | + padding: 50px; |
| 223 | + margin-top: 50px; |
| 224 | + } |
| 225 | + |
| 226 | + .programs-section h2 { |
| 227 | + font-weight: 900; |
| 228 | + margin-bottom: 25px; |
| 229 | + font-size: 25px; |
| 230 | + } |
| 231 | + |
| 232 | + .programs li h3 { |
| 233 | + font-size: 18px; |
| 234 | + font-weight: lighter; |
| 235 | + margin-bottom: 25px; |
| 236 | + } |
| 237 | + |
| 238 | + .programs li p { |
| 239 | + margin-right: 70px; |
| 240 | + } |
| 241 | + |
| 242 | + .hero-content { |
| 243 | + padding-top: 200px; |
| 244 | + padding-right: 0; |
| 245 | + text-align: left; |
| 246 | + line-height: 5px; |
| 247 | + } |
| 248 | + |
| 249 | + .hero-text { |
| 250 | + padding: 15px; |
| 251 | + left: 0; |
| 252 | + } |
| 253 | + |
| 254 | + .header-top-menu { |
| 255 | + display: none; |
| 256 | + justify-content: space-between; |
| 257 | + left: 0; |
| 258 | + } |
| 259 | + |
| 260 | + .header-logo img { |
| 261 | + height: 50px; |
| 262 | + margin-left: 0; |
| 263 | + } |
| 264 | + |
| 265 | + |
| 266 | + .header-cta { |
| 267 | + margin-left: auto; |
| 268 | + } |
| 269 | +} |
| 270 | + |
| 271 | + |
0 commit comments