|
| 1 | +body { |
| 2 | + font-family: Poppins, sans-serif; /* Global font */ |
| 3 | + margin: 0; |
| 4 | + padding: 0; |
| 5 | +} |
| 6 | + |
| 7 | +/* ============================ |
| 8 | + HEADER STYLES |
| 9 | + ============================ */ |
| 10 | + |
| 11 | +.header { |
| 12 | + display: flex; |
| 13 | + align-items: center; |
| 14 | + justify-content: space-between; |
| 15 | + padding: 25px 96px 4px 25px; |
| 16 | + font-weight: 600; |
| 17 | + position: sticky; |
| 18 | + top: 0; |
| 19 | + background-color: white; |
| 20 | + z-index: 2; |
| 21 | + margin: 0; |
| 22 | + height: 20%; |
| 23 | +} |
| 24 | + |
| 25 | +.header-logo img { |
| 26 | + position:absolute |
| 27 | + left:5; |
| 28 | + width: 226.64px; |
| 29 | + height: 75px; |
| 30 | + margin-bottom: 40%; |
| 31 | +} |
| 32 | + |
| 33 | +.header-top-menu { |
| 34 | + list-style-type: none; |
| 35 | + display: flex; |
| 36 | + gap: 225px; |
| 37 | + margin-right: 20%; |
| 38 | + margin-bottom: 10%; |
| 39 | +} |
| 40 | + |
| 41 | +.header-top-menu li a { |
| 42 | + text-decoration: none; |
| 43 | + font-weight: 600; |
| 44 | + color: #1a1a1a; |
| 45 | + padding: 5px 0; |
| 46 | + transition: color 0.3s ease; |
| 47 | + position: relative; |
| 48 | + transition: color 0.3s ease; |
| 49 | +} |
| 50 | + |
| 51 | + |
| 52 | +.header-top-menu li a::after { |
| 53 | + content: ''; |
| 54 | + position: absolute; |
| 55 | + left: 0; |
| 56 | + bottom: 0; |
| 57 | + width: 0%; |
| 58 | + height: 2px; |
| 59 | + background-color: orange; |
| 60 | + transition: width 0.3s ease; |
| 61 | +} |
| 62 | + |
| 63 | + |
| 64 | +.header-top-menu li:first-child a::after { |
| 65 | + width: 100%; |
| 66 | +} |
| 67 | + |
| 68 | +.header-cta .sign-up-button { |
| 69 | + background-color: #f26522; |
| 70 | + color: #ffffff; |
| 71 | + padding: 4px 30px; |
| 72 | + border-radius: 5px; |
| 73 | + font-weight: 600; |
| 74 | + transition: background-color 0.3s; |
| 75 | + line-height: 34px; |
| 76 | +} |
| 77 | + |
| 78 | +.header-cta .sign-up-button:hover { |
| 79 | + background-color: #ea893ff7; |
| 80 | + opacity: 0.7; |
| 81 | + |
| 82 | +} |
| 83 | + |
| 84 | +.header-cta .sign-up-button: ::after{ |
| 85 | + z-index: -1; |
| 86 | + background-color: #df833c; |
| 87 | +} |
| 88 | + |
| 89 | +/* ============================ |
| 90 | + HERO SECTION STYLES |
| 91 | + ============================ */ |
| 92 | + |
| 93 | +.hero-section { |
| 94 | + position: relative; |
| 95 | + background-image: url("hero.jpg"); |
| 96 | + background-size: 100%; |
| 97 | + background-position: center 40%; |
| 98 | + background-repeat: no-repeat; |
| 99 | + height: 77vh; |
| 100 | + margin-top: 67px; |
| 101 | + z-index: 1; |
| 102 | + overflow: hidden; |
| 103 | +} |
| 104 | + |
| 105 | +.hero-content h2 { |
| 106 | + font-weight: 800; |
| 107 | + font-size: 35.px; |
| 108 | + line-height: 62px; |
| 109 | + color: #ffffff; |
| 110 | +} |
| 111 | + |
| 112 | + |
| 113 | +.hero-content .highlight { |
| 114 | + font-style: normal; |
| 115 | + position: relative; |
| 116 | + z-index: 1; |
| 117 | + padding-left: 3px; |
| 118 | + display: inline-block; |
| 119 | +} |
| 120 | + |
| 121 | +.hero-content .highlight::after { |
| 122 | + content: ""; |
| 123 | + position: absolute; |
| 124 | + left: 0; |
| 125 | + bottom: 8px; |
| 126 | + width: 100%; |
| 127 | + height: 15px; |
| 128 | + width: 100.6%; |
| 129 | + background-color: rgb(244, 125, 38); |
| 130 | + transform: scaleX(0); |
| 131 | + transform-origin: left; |
| 132 | + animation: underlineIn 1s ease forwards; |
| 133 | + z-index: -1; |
| 134 | +} |
| 135 | + |
| 136 | +@keyframes underlineIn { |
| 137 | + to { |
| 138 | + transform: scaleX(1); |
| 139 | + } |
| 140 | +} |
| 141 | + |
| 142 | +.hero-title { |
| 143 | + width: 40%; |
| 144 | + height: 100px; |
| 145 | + margin: 100px 0 0 -20px; |
| 146 | + font-family: 'Montserrat', sans-serif; |
| 147 | + font-size: 4rem; |
| 148 | + font-weight: bolder; |
| 149 | + line-height: 1.2; |
| 150 | + color: #fff; |
| 151 | + padding: 100px 20px 20px 20px; |
| 152 | + text-align: left; |
| 153 | +} |
| 154 | + |
| 155 | +.hero-text { |
| 156 | + font-family: Poppins; |
| 157 | + font-weight: 100; |
| 158 | + background-color: rgb(36, 62, 144); |
| 159 | + font-size: 20px; |
| 160 | +} |
| 161 | + |
| 162 | + |
| 163 | +.hero-text{ |
| 164 | + background-color: #243e90; |
| 165 | + background-position: center; |
| 166 | + height: 100px; |
| 167 | + width: 55%; |
| 168 | + padding: 30px 120px; |
| 169 | + font-size: 20px; |
| 170 | + font-weight: 100; |
| 171 | + margin-top: 70px; |
| 172 | + color: white; |
| 173 | + |
| 174 | +} |
| 175 | + |
| 176 | +.hero-text span { |
| 177 | + color:#f47d26; |
| 178 | +} |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | +/* ============================ |
| 183 | + PROGRAMS SECTION STYLES |
| 184 | + ============================ */ |
| 185 | +.programs { |
| 186 | + display: grid; |
| 187 | + grid-template-columns: 1fr 1fr; |
| 188 | + gap: 20px; |
| 189 | + max-width: fit-content; |
| 190 | +} |
| 191 | +.programs-section { |
| 192 | + margin: 150px 110px; |
| 193 | +} |
| 194 | + |
| 195 | +.programs-section h2{ /* our program */ |
| 196 | + font-size: 34px; |
| 197 | + color: rgb(68, 68, 68); |
| 198 | + font-weight: 1000; |
| 199 | + line-height: 34px; |
| 200 | + padding-left: 40; |
| 201 | +} |
| 202 | + |
| 203 | +.program p{ /* program descriptions */ |
| 204 | + color: rgb(103, 103, 103); |
| 205 | + font-family: Poppins; |
| 206 | + font-size: 18px; |
| 207 | + font-weight: 400px; |
| 208 | + line-height: 24px; |
| 209 | + margin-bottom: 42px; |
| 210 | + |
| 211 | +} |
| 212 | + |
| 213 | +.programs li p { |
| 214 | + font-family: 'Poppins', sans-serif; |
| 215 | + font-weight: 400; |
| 216 | + font-size: medium; |
| 217 | + olor: #676767; |
| 218 | +} |
| 219 | + |
| 220 | + |
| 221 | +.programs-section ul li { |
| 222 | + list-style: none; |
| 223 | + margin: 0; |
| 224 | + padding: 0; |
| 225 | + display: flex; |
| 226 | + flex-wrap: wrap; |
| 227 | + align-items: center; |
| 228 | + width: 50%; |
| 229 | + color: #a9a9a9; |
| 230 | + font-weight: 100; |
| 231 | +} |
| 232 | + |
| 233 | +.programs li h3 { /* program headlines */ |
| 234 | + color: #444444; |
| 235 | + font-size: 17.6px; |
| 236 | + line-height: 34px; |
| 237 | + margin-bottom: 27px; |
| 238 | + text-decoration: none; |
| 239 | +} |
| 240 | + |
| 241 | +.programs-section .highlight { |
| 242 | + font-style: normal; |
| 243 | + position: relative; |
| 244 | + z-index: 1; |
| 245 | + padding-left: 3px; |
| 246 | + display: inline-block; |
| 247 | +} |
| 248 | + |
| 249 | +.programs-section .highlight::after { |
| 250 | + content: ""; |
| 251 | + position: absolute; |
| 252 | + left: 0; |
| 253 | + bottom:0; |
| 254 | + width: 100%; |
| 255 | + height: 9.5px; |
| 256 | + width: 101.7%; |
| 257 | + background-color: rgb(244, 125, 38); |
| 258 | + transform-origin: left; |
| 259 | + animation: underlineIn 1s ease forwards; |
| 260 | + z-index: -1; |
| 261 | + transform: scaleX(0); |
| 262 | +} |
| 263 | + |
| 264 | + |
| 265 | +.footer { |
| 266 | + text-align: center; |
| 267 | + line-height: 22px; |
| 268 | + margin-top: 3px; |
| 269 | + color: #3C3C3C; |
| 270 | + padding: 20px 0; |
| 271 | + font-family: 'Poppins'; |
| 272 | +} |
| 273 | + |
0 commit comments