-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
110 lines (92 loc) · 1.64 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
line-height: 1.6;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 50px;
background: #333;
color: #fff;
}
header .logo {
font-size: 1.5rem;
font-weight: bold;
}
header nav ul {
list-style: none;
display: flex;
}
header nav ul li {
margin: 0 10px;
}
header nav ul li a {
color: #fff;
text-decoration: none;
font-size: 1rem;
}
header nav ul li a:hover {
text-decoration: underline;
}
.hero {
background: url('https://source.unsplash.com/1600x900/?business') no-repeat center center/cover;
color: #fff;
text-align: center;
padding: 100px 20px;
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}
.hero .btn {
background: #ff4500;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
}
.hero .btn:hover {
background: #e63900;
}
.about, .services, .testimonials {
padding: 50px 20px;
text-align: center;
}
.services .service-cards {
display: flex;
justify-content: center;
gap: 20px;
}
.services .card {
background: #f4f4f4;
padding: 20px;
border-radius: 8px;
width: 30%;
}
.testimonials .testimonial {
background: #f4f4f4;
margin: 20px auto;
padding: 20px;
max-width: 600px;
border-radius: 8px;
}
footer {
text-align: center;
background: #333;
color: #fff;
padding: 20px;
}
footer a {
color: #ff4500;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}