|
| 1 | +@import url( 'https://fonts.googleapis.com/css2?family=Dancing+Script:[email protected]&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); |
| 2 | +img { |
| 3 | + width: 227px; |
| 4 | + padding: 1.15em; |
| 5 | +} |
| 6 | +header { |
| 7 | + display: flex; |
| 8 | + align-items: center; |
| 9 | + |
| 10 | +} |
| 11 | +@media (max-width: 768px) { |
| 12 | + #navbar ul { |
| 13 | + flex-direction: column; |
| 14 | + } |
| 15 | +} |
| 16 | + |
| 17 | + |
| 18 | +.header-top-menu { |
| 19 | + list-style: none; |
| 20 | + padding-left: 0; |
| 21 | + display: flex; |
| 22 | + text-decoration: underline; |
| 23 | + text-decoration-thickness: 2px; |
| 24 | + text-decoration-color: #f47d26; |
| 25 | +} |
| 26 | +.header-top-menu li{ |
| 27 | + margin: 0 10px; |
| 28 | +} |
| 29 | +.header-top-menu a{ |
| 30 | + text-transform: uppercase; |
| 31 | + text-decoration: none; |
| 32 | + color: #3c3c3c; |
| 33 | +} |
| 34 | + |
| 35 | +.programs { |
| 36 | + list-style-type: none; |
| 37 | + margin-left: 40px; |
| 38 | + margin-right: 300px; |
| 39 | +} |
| 40 | + |
| 41 | +.header-cta .sign-up-button { |
| 42 | + color: white; |
| 43 | + background-color: #f47d26; |
| 44 | + text-decoration: none; |
| 45 | + border-radius: 5px; |
| 46 | + font-weight: 520; |
| 47 | + padding: 8px; |
| 48 | + position: absolute; /* Position the button absolutely */ |
| 49 | + top: 5%; /* Vertically center it */ |
| 50 | + right: 120; |
| 51 | +} |
| 52 | +.hero-title{ |
| 53 | + color: white; |
| 54 | + font-weight:700; |
| 55 | + font-size: 50; |
| 56 | +} |
| 57 | +.hero-text{ |
| 58 | + color: white; |
| 59 | + background-color: #243e90; |
| 60 | + height: 95px; |
| 61 | + width:650px; |
| 62 | + font-size:20px; |
| 63 | + align-content: center; |
| 64 | + padding: 15px 95px 15px 196px; |
| 65 | +} |
| 66 | +.hero-section { |
| 67 | + background: url("hero.jpg"); |
| 68 | + background-size: cover; |
| 69 | + background-position: center; |
| 70 | + padding: 150px 0 190px 0; |
| 71 | + |
| 72 | +} |
| 73 | + .hero-title .highlight{ |
| 74 | + content: " "; |
| 75 | + position: relative; |
| 76 | + z-index: 0; |
| 77 | +} |
| 78 | +.highlight { |
| 79 | + font-style: normal; |
| 80 | +} |
| 81 | + |
| 82 | +.hero-content{ |
| 83 | + max-width: 1100px; |
| 84 | + line-height: 1.2; |
| 85 | +} |
| 86 | + |
| 87 | +body > div > div > article > section.hero-section > div.hero-content > h2 > em::after{ |
| 88 | + content: ""; |
| 89 | + position: absolute; |
| 90 | + bottom: 15%; |
| 91 | + left: 0%; /* Start from the center */ |
| 92 | + width: 445px; /* Start with no width */ |
| 93 | + height: 15px; |
| 94 | + background-color: #f47d26; |
| 95 | + transition: all 0.3s ease; /* Smooth animation */ |
| 96 | + z-index: -1; |
| 97 | +} |
| 98 | +.hero-text span{ |
| 99 | + color: #f47d26; |
| 100 | + |
| 101 | +} |
| 102 | +body{ |
| 103 | + font-family: poppins; |
| 104 | + font-size: 18px; |
| 105 | + line-height: 24px; |
| 106 | + font-weight: 400; |
| 107 | + margin: 0; |
| 108 | +} |
| 109 | +p{ |
| 110 | + color: grey; |
| 111 | +} |
| 112 | +#nav-bar { |
| 113 | + position: fixed; |
| 114 | + top: 0; |
| 115 | + width: 100%; |
| 116 | + z-index: 1000; |
| 117 | + } |
| 118 | + body > div > div > article > section.programs-section > ul{ |
| 119 | + display: grid; |
| 120 | + grid-template-columns: 60% 60%; |
| 121 | + grid-template-rows: 50% 50%; |
| 122 | + color: #444; |
| 123 | + } |
| 124 | + body > div > div > article > section.programs-section > h2 > em { |
| 125 | + content: " "; |
| 126 | + position: relative; |
| 127 | + z-index: 0; |
| 128 | + } |
| 129 | + body > div > div > article > section.programs-section > h2 > em::after { |
| 130 | + content: ""; |
| 131 | + position: absolute; |
| 132 | + bottom: 10%; |
| 133 | + left: 0%; /* Start from the center */ |
| 134 | + width: 140px; /* Start with no width */ |
| 135 | + height: 10px; |
| 136 | + background-color: #f47d26; |
| 137 | + transition: all 0.3s ease; /* Smooth animation */ |
| 138 | + z-index: -1; |
| 139 | +} |
| 140 | + body > div > div > article > section.programs-section > h2{ |
| 141 | + color: #444; |
| 142 | + } |
0 commit comments