|
| 1 | +/* Universal Styles*/ |
| 2 | + |
| 3 | +* { |
| 4 | + margin: 0; |
| 5 | + padding: 0; |
| 6 | + box-sizing: border-box; |
| 7 | + font-family: "Arial", sans-serif; |
| 8 | + --primary: #240e1f; |
| 9 | + --secondary: #f0b052; |
| 10 | + --accent: #e96932; |
| 11 | +} |
| 12 | + |
| 13 | +body { |
| 14 | + width: 100%; |
| 15 | +} |
| 16 | + |
| 17 | +button { |
| 18 | + padding-inline: 35px; |
| 19 | + padding-block: 14px; |
| 20 | + border-radius: 14px; |
| 21 | + outline: none; |
| 22 | + border: none; |
| 23 | +} |
| 24 | + |
| 25 | +.card { |
| 26 | + border-radius: 45px; |
| 27 | + padding: 50px; |
| 28 | + width: 30%; |
| 29 | + height: 200px; |
| 30 | +} |
| 31 | + |
| 32 | +/* Header Styles */ |
| 33 | + |
| 34 | +header { |
| 35 | + background-color: var(--secondary); |
| 36 | + padding-block: 1rem; |
| 37 | + display: flex; |
| 38 | + justify-content: space-around; |
| 39 | + align-items: center; |
| 40 | +} |
| 41 | + |
| 42 | +header h1 { |
| 43 | + color: var(--primary); |
| 44 | +} |
| 45 | + |
| 46 | +header h1 i { |
| 47 | + padding-right: 0.5rem; |
| 48 | +} |
| 49 | + |
| 50 | +header nav ul { |
| 51 | + display: flex; |
| 52 | + list-style: none; |
| 53 | +} |
| 54 | + |
| 55 | +header nav ul li { |
| 56 | + color: var(--primary); |
| 57 | + padding-inline: 1rem; |
| 58 | +} |
| 59 | + |
| 60 | +/* Hero Section */ |
| 61 | + |
| 62 | +#hero { |
| 63 | + height: 85vh; |
| 64 | + background-color: var(--primary); |
| 65 | + display: flex; |
| 66 | + justify-content: space-evenly; |
| 67 | + align-items: center; |
| 68 | + color: var(--accent); |
| 69 | + padding-inline: 2rem; |
| 70 | +} |
| 71 | + |
| 72 | +#hero .hero-container { |
| 73 | + height: 50%; |
| 74 | + display: flex; |
| 75 | + flex-direction: column; |
| 76 | + justify-content: space-around; |
| 77 | + align-content: space-between; |
| 78 | +} |
| 79 | + |
| 80 | +#hero .hero-container h2 { |
| 81 | + font-size: 5rem; |
| 82 | +} |
| 83 | + |
| 84 | +#hero .hero-container p { |
| 85 | + font-size: 1.5rem; |
| 86 | +} |
| 87 | + |
| 88 | +#hero .hero-container div { |
| 89 | + width: 40%; |
| 90 | + display: flex; |
| 91 | + justify-content: space-between; |
| 92 | +} |
| 93 | + |
| 94 | +#hero .hero-container div button { |
| 95 | + width: 40%; |
| 96 | + background-color: var(--secondary); |
| 97 | + box-shadow: 0px 4px 0px 0px var(--accent); |
| 98 | + font-size: 1.25rem; |
| 99 | +} |
| 100 | + |
| 101 | +#hero img { |
| 102 | + height: 50%; |
| 103 | +} |
| 104 | + |
| 105 | +/* Feature Section */ |
| 106 | + |
| 107 | +#features { |
| 108 | + height: 35vh; |
| 109 | + background-color: var(--secondary); |
| 110 | + display: flex; |
| 111 | + justify-content: space-evenly; |
| 112 | + align-items: center; |
| 113 | +} |
| 114 | + |
| 115 | +#features .card { |
| 116 | + background-color: var(--primary); |
| 117 | + box-shadow: 0px 6px 0px 0px var(--accent); |
| 118 | +} |
| 119 | + |
| 120 | +#features .card i { |
| 121 | + padding-bottom: 0.5rem; |
| 122 | + font-size: 1.75rem; |
| 123 | + color: var(--accent); |
| 124 | +} |
| 125 | + |
| 126 | +#features .card h3 { |
| 127 | + font-size: 1.5rem; |
| 128 | + padding-bottom: 0.5rem; |
| 129 | + color: var(--secondary); |
| 130 | +} |
| 131 | + |
| 132 | +#features .card p { |
| 133 | + font-size: 1rem; |
| 134 | + color: var(--secondary); |
| 135 | +} |
| 136 | + |
| 137 | +/* Call to Action Section */ |
| 138 | + |
| 139 | +#cta { |
| 140 | + background-color: var(--primary); |
| 141 | + height: 45vh; |
| 142 | + display: flex; |
| 143 | + justify-content: center; |
| 144 | + align-items: center; |
| 145 | +} |
| 146 | + |
| 147 | +#cta .cta-container { |
| 148 | + background: linear-gradient(96deg, var(--accent) 0%, var(--secondary)); |
| 149 | + box-shadow: 0px 4px 0px 0px var(--accent); |
| 150 | + border-radius: 45px; |
| 151 | + width: fit-content; |
| 152 | + height: 60%; |
| 153 | + padding-inline: 15rem; |
| 154 | + display: flex; |
| 155 | + flex-direction: column; |
| 156 | + justify-content: space-evenly; |
| 157 | + align-items: center; |
| 158 | + color: var(--primary); |
| 159 | +} |
| 160 | + |
| 161 | +#cta .cta-container button { |
| 162 | + background-color: var(--primary); |
| 163 | + color: var(--secondary); |
| 164 | + box-shadow: 0px 4px 0px 0px var(--accent); |
| 165 | +} |
| 166 | + |
| 167 | +/* Footer Styles */ |
| 168 | + |
| 169 | +footer { |
| 170 | + padding-block: 4rem; |
| 171 | + display: flex; |
| 172 | + justify-content: space-around; |
| 173 | + background-color: var(--secondary); |
| 174 | +} |
| 175 | + |
| 176 | +footer .footer-container { |
| 177 | + color: var(--primary); |
| 178 | + height: fit-content; |
| 179 | +} |
| 180 | + |
| 181 | +footer .footer-container h4 { |
| 182 | + font-size: 1.5rem; |
| 183 | + padding-bottom: 0.5rem; |
| 184 | +} |
| 185 | + |
| 186 | +footer .footer-container i { |
| 187 | + padding-right: 0.5rem; |
| 188 | +} |
| 189 | + |
| 190 | +footer .footer-container ul { |
| 191 | + list-style: none; |
| 192 | +} |
| 193 | + |
| 194 | +footer .footer-container ul li { |
| 195 | + padding-bottom: 0.75rem; |
| 196 | +} |
0 commit comments