-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
164 lines (140 loc) · 2.56 KB
/
style.css
File metadata and controls
164 lines (140 loc) · 2.56 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', sans-serif;
background-color: #f8f8f8;
color: #222;
line-height: 1.6;
padding-top: 100px; /* To offset the fixed header */
}
a {
text-decoration: none;
color: inherit;
}
.container {
max-width: 1200px;
margin: auto;
padding: 0 20px;
}
/* Header */
.top-header {
background-color: #222;
padding: 16px 20px;
position: fixed;
width: 100%;
top: 0;
z-index: 100;
box-shadow: 0 2px 6px rgba(255, 255, 255, 0.2);
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
/* Logo */
.logo {
font-size: 28px;
font-weight: bold;
color: #e67e22;
white-space: nowrap;
}
/* Nav menu */
.navbar ul {
list-style: none;
display: flex;
gap: 2px;
margin-left: auto;
}
.navbar li a {
color: #e67e22;
font-weight: bold;
font-size: 16px;
transition: color 0.3s;
padding: 8px 12px;
}
.navbar li a:hover,
.navbar li a:focus {
color: #fff;
text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 868px) {
.navbar ul {
gap: 2px;
}
.navbar li a {
font-size: 14px;
padding: 6px 10px;
}
.logo {
font-size: 24px;
}
}
/* Hero Section */
.hero {
background: url('https://images.unsplash.com/photo-1581091870622-8d46c1e01b43') no-repeat center center/cover;
height: 80vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #333;
padding: 0 20px;
}
.hero h2 {
font-size: 36px;
margin-bottom: 20px;
}
.hero p {
font-size: 18px;
max-width: 600px;
margin: 0 auto 30px;
color: #333;
}
.cta-button {
background-color: #e67e22;
color: #333;
padding: 12px 24px;
border-radius: 6px;
font-size: 16px;
transition: color 0.3s;
}
.cta-button:hover {
background-color: #d35400;
}
/* Footer */
.footer {
background-color: rgba(0,0,0,0);
padding: 40px 20px;
text-align: center;
color: #333;
border-top: 1px solid #eee;
}
.footer .social-links a {
margin: 0 10px;
font-size: 20px;
color: #999;
transition: color 0.3s;
}
.footer .social-links a:hover {
color: #e67e22;
}
/* Responsive Design */
@media (max-width: 768px) {
.navbar ul {
flex-direction: column;
align-items: center;
}
.card-container {
flex-direction: column;
align-items: center;
}
.hero h2 {
font-size: 28px;
}
}