|
| 1 | +body { |
| 2 | + font-family: 'Poppins', sans-serif; |
| 3 | + margin: 0; |
| 4 | + padding: 0; |
| 5 | +} |
| 6 | + |
| 7 | +header { |
| 8 | + font-family: 'Poppins', sans-serif; |
| 9 | + background-color: #fff; |
| 10 | + padding: 10px 20px; |
| 11 | + display: flex; |
| 12 | + justify-content: space-between; |
| 13 | + align-items: center; |
| 14 | + width: 100%; |
| 15 | + flex-wrap: nowrap; |
| 16 | + overflow-x: hidden; |
| 17 | +} |
| 18 | + |
| 19 | +/* Logo - align to the left */ |
| 20 | +.header-logo { |
| 21 | + display: flex; |
| 22 | + align-items: center; |
| 23 | +} |
| 24 | + |
| 25 | +.header-logo img { |
| 26 | + height: 50px; |
| 27 | + width: auto; |
| 28 | +} |
| 29 | + |
| 30 | +/* Menu - center items */ |
| 31 | +.header-top-menu { |
| 32 | + display: flex; |
| 33 | + justify-content: center; |
| 34 | + align-items: center; |
| 35 | + list-style-type: none; |
| 36 | + margin: 0; |
| 37 | + padding: 0; |
| 38 | +} |
| 39 | + |
| 40 | +/* Menu items */ |
| 41 | +.header-top-menu li { |
| 42 | + margin: 0 15px; |
| 43 | +} |
| 44 | + |
| 45 | +.header-top-menu li a { |
| 46 | + font-size: 18px; |
| 47 | + text-decoration: none; |
| 48 | + color: #333; |
| 49 | + padding: 5px 10px; |
| 50 | + transition: color 0.3s ease; |
| 51 | +} |
| 52 | + |
| 53 | +.header-top-menu li a:hover { |
| 54 | + color: #007bff; |
| 55 | +} |
| 56 | + |
| 57 | +/* Align the 'Contact Us' link to the right */ |
| 58 | +.header-top-menu li:last-child { |
| 59 | + margin-left: auto; |
| 60 | +} |
| 61 | + |
| 62 | +/* Call-to-action button - Sign Up */ |
| 63 | +.header-cta { |
| 64 | + text-align: center; |
| 65 | + margin-top: 10px; |
| 66 | + margin-left: auto; |
| 67 | +} |
| 68 | + |
| 69 | +.sign-up-button { |
| 70 | + background-color: #ff7f00; |
| 71 | + color: #fff; |
| 72 | + padding: 12px 30px; |
| 73 | + text-decoration: none; |
| 74 | + font-size: 16px; |
| 75 | + border-radius: 5px; |
| 76 | + transition: background-color 0.3s ease; |
| 77 | + display: inline-block; |
| 78 | +} |
| 79 | + |
| 80 | +.sign-up-button:hover { |
| 81 | + background-color: #ffa500; |
| 82 | +} |
| 83 | + |
| 84 | +/* Hero Section Styles */ |
| 85 | +.hero-section { |
| 86 | + position: relative; |
| 87 | + background-image: url('hero.jpg'); |
| 88 | + background-size: cover; |
| 89 | + background-position: center; |
| 90 | + padding: 100px 0 100px 0; |
| 91 | + color: rgb(238, 238, 238); |
| 92 | + text-align: left; |
| 93 | + margin-left: 0; |
| 94 | +} |
| 95 | + |
| 96 | +.hero-overlay { |
| 97 | + position: absolute; |
| 98 | + top: 0; |
| 99 | + left: 0; |
| 100 | + right: 0; |
| 101 | + bottom: 0; |
| 102 | + background: rgba(0, 0, 0, 0.5); |
| 103 | + z-index: 1; |
| 104 | +} |
| 105 | + |
| 106 | +.hero-content { |
| 107 | + position: relative; |
| 108 | + z-index: 2; |
| 109 | + padding-left: 0; |
| 110 | + color: rgb(238, 238, 238); |
| 111 | + width: 100%; |
| 112 | +} |
| 113 | + |
| 114 | +.hero-title { |
| 115 | + font-size: 48px; |
| 116 | + line-height: 1.4; |
| 117 | + margin-bottom: 0; |
| 118 | +} |
| 119 | + |
| 120 | +/* Create a thick orange box (like an underline) behind 'diversity in tech' */ |
| 121 | +.hero-title .highlight { |
| 122 | + display: inline-block; |
| 123 | + color: rgb(238, 238, 238); |
| 124 | + position: relative; |
| 125 | + padding-bottom: 6px; |
| 126 | + z-index: 2; |
| 127 | + font-style: normal; |
| 128 | + width: 40%; |
| 129 | + max-width: 40%; |
| 130 | +} |
| 131 | + |
| 132 | +.hero-title .highlight::after { |
| 133 | + content: ''; |
| 134 | + position: absolute; |
| 135 | + bottom: 0; |
| 136 | + left: 0; |
| 137 | + width: 100%; |
| 138 | + height: 16px; |
| 139 | + background-color: #ff7f00; |
| 140 | + z-index: 1; |
| 141 | + width: 70%; |
| 142 | + max-width: 70%; |
| 143 | +} |
| 144 | + |
| 145 | +/* Adjusting the blue rectangle to the new color and full width */ |
| 146 | +.hero-text { |
| 147 | + background-color: rgba(36,62,144); |
| 148 | + color: rgb(238, 238, 238); |
| 149 | + padding: 20px 40px; |
| 150 | + width: 70%; |
| 151 | + max-width: 70%; |
| 152 | + margin-top: 20px; |
| 153 | + text-align: left; |
| 154 | + box-sizing: border-box; |
| 155 | +} |
| 156 | + |
| 157 | +.hero-text span { |
| 158 | + color: #ff7f00; |
| 159 | + font-weight: bold; |
| 160 | +} |
| 161 | + |
| 162 | +.hero-section h2, .hero-section .hero-text { |
| 163 | + margin-bottom: 20px; |
| 164 | + margin-left: 0; |
| 165 | + padding-left: 0; |
| 166 | +} |
| 167 | + |
| 168 | +/* Programs Section */ |
| 169 | +.programs-section { |
| 170 | + padding: 50px 20px; |
| 171 | + background-color: #fff; |
| 172 | + max-width: 1200px; |
| 173 | + margin: 0 auto; |
| 174 | +} |
| 175 | + |
| 176 | +.programs-section h2 { |
| 177 | + font-size: 36px; |
| 178 | + line-height: 1.4; |
| 179 | + color: rgb(68, 68, 68); |
| 180 | + margin-bottom: 30px; |
| 181 | + text-align: left; |
| 182 | +} |
| 183 | + |
| 184 | +.programs-section h2 .highlight { |
| 185 | + display: inline-block; |
| 186 | + position: relative; |
| 187 | + padding-bottom: 6px; |
| 188 | + font-style: normal; |
| 189 | + color: rgb(68, 68, 68); |
| 190 | +} |
| 191 | + |
| 192 | +.programs-section h2 .highlight::after { |
| 193 | + content: ''; |
| 194 | + position: absolute; |
| 195 | + bottom: 0; |
| 196 | + left: 0; |
| 197 | + width: 100%; |
| 198 | + height: 8px; |
| 199 | + background-color: #ff7f00; |
| 200 | +} |
| 201 | + |
| 202 | +/* Programs List Layout */ |
| 203 | +.programs { |
| 204 | + display: grid; |
| 205 | + grid-template-columns: repeat(2, 1fr); |
| 206 | + gap: 30px; |
| 207 | + list-style: none; |
| 208 | + margin: 0; |
| 209 | + padding: 0; |
| 210 | + align-items: stretch; |
| 211 | +} |
| 212 | + |
| 213 | +.program { |
| 214 | + padding: 20px; |
| 215 | + border-radius: 10px; |
| 216 | + min-height: 00px; |
| 217 | +} |
| 218 | + |
| 219 | +.program h3 { |
| 220 | + font-size: 24px; |
| 221 | + color: #444; |
| 222 | + margin-bottom: 10px; |
| 223 | +} |
| 224 | + |
| 225 | +.program p { |
| 226 | + color: #676767; |
| 227 | + font-size: 16px; |
| 228 | + line-height: 1.6; |
| 229 | +} |
| 230 | + |
| 231 | +.program + .program { |
| 232 | + margin-top: 30px; |
| 233 | +} |
| 234 | + |
| 235 | +/* Add more space around the program grid */ |
| 236 | +.programs-container { |
| 237 | + padding: 30px; |
| 238 | + border-radius: 10px; |
| 239 | +} |
| 240 | + |
| 241 | +/* Footer Styles */ |
| 242 | +.footer { |
| 243 | + color: #000000; |
| 244 | + text-align: center; |
| 245 | + padding: 20px 0; |
| 246 | + font-size: 16px; |
| 247 | + position: relative; |
| 248 | + z-index: 10; |
| 249 | +} |
| 250 | + |
| 251 | +/* Footer link styling (if I plan to add links later) */ |
| 252 | +.footer a { |
| 253 | + color: #CCCCCC; |
| 254 | + text-decoration: none; |
| 255 | +} |
| 256 | + |
| 257 | +.footer a:hover { |
| 258 | + color: #FF7F00; |
| 259 | +} |
0 commit comments