| body { | |
| font-family: 'Arial', sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| background-color: #1a1a1a; | |
| color: #ffffff; | |
| } | |
| header { | |
| background-color: #333; | |
| padding: 10px 20px; | |
| } | |
| nav { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| nav h1 { | |
| margin: 0; | |
| } | |
| nav ul { | |
| list-style: none; | |
| padding: 0; | |
| } | |
| nav ul li { | |
| display: inline; | |
| margin-left: 20px; | |
| } | |
| nav a { | |
| color: #ffffff; | |
| text-decoration: none; | |
| } | |
| .hero { | |
| background: url('https://via.placeholder.com/1200x400') no-repeat center center/cover; | |
| text-align: center; | |
| padding: 100px 20px; | |
| } | |
| .hero h2 { | |
| font-size: 2.5em; | |
| } | |
| .hero p { | |
| font-size: 1.2em; | |
| } | |
| .cta-button { | |
| background-color: #007bff; | |
| color: #ffffff; | |
| padding: 10px 20px; | |
| text-decoration: none; | |
| border-radius: 5px; | |
| transition: background-color 0.3s; | |
| } | |
| .cta-button:hover { | |
| background-color: #0056b3; | |
| } | |
| .features { | |
| padding: 20px; | |
| text-align: center; | |
| } | |
| .features h2 { | |
| margin-bottom: 20px; | |
| } | |
| .card { | |
| background-color: #444; | |
| border-radius: 10px; | |
| padding: 20px; | |
| margin: 10px; | |
| display: inline-block; | |
| width: 30%; | |
| transition: transform 0.3s; | |
| } | |
| .card:hover { | |
| transform: scale(1.05); | |
| } | |
| footer { | |
| text-align: center; | |
| padding: 20px; | |
| background-color: #333; | |
| } | |