forked from muqadsaqudoos/Creative-Minds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
185 lines (154 loc) · 2.86 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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
height: 100%;
font-family: 'Poppins', sans-serif;
line-height: 1.6;
background: #f9f9f9;
}
.container {
width: 90%;
max-width: 1200px;
margin: auto;
overflow: hidden;
}
header {
background: #444;
color: #fff;
padding: 20px 0;
position: sticky;
top: 0;
z-index: 1000;
margin-bottom: 0;
}
header::after {
content: "";
display: table;
clear: both;
}
header h1 {
float: left;
font-size: 2em;
}
nav {
float: right;
}
nav ul {
list-style: none;
}
nav ul li {
display: inline;
margin-left: 30px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: 600;
transition: color 0.3s;
}
nav ul li a:hover {
color: #e8491d;
}
.hero {
background: url('assets/hero-bg.jpg') no-repeat center center/cover;
color: #fff;
padding: 150px 0;
text-align: center;
margin: 0;
padding-top: 0;
min-height: 50vh;
}
.hero-content {
background: rgba(0, 0, 0, 0.5);
padding: 40px;
border-radius: 10px;
}
.btn {
background: #e8491d;
color: #fff;
padding: 15px 30px;
text-decoration: none;
border-radius: 5px;
margin-top: 20px;
display: inline-block;
transition: background 0.3s;
}
.btn:hover {
background: #d03d1a;
}
h2 {
margin: 30px 0;
text-align: center;
font-size: 2em;
color: #333;
}
section {
position: relative;
padding-top: 80px;
margin-top: -80px;
}
section h2 {
margin-top: 0;
}
#services, #portfolio, #team {
padding-top: 120px;
margin-top: -120px;
}
.services-grid, .portfolio-grid, .team-grid {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.service, .portfolio-item, .team-member {
background: #fff;
padding: 20px;
margin: 15px 0;
border-radius: 8px;
text-align: center;
width: calc(30% - 20px);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
transition: transform 0.3s;
}
.service:hover, .portfolio-item:hover, .team-member:hover {
transform: translateY(-5px);
}
.service h3, .portfolio-item h3, .team-member h3 {
margin: 10px 0;
}
.portfolio-item img, .team-member img {
max-width: 100%;
height: auto;
border-radius: 5px;
}
footer {
background: #444;
color: #fff;
text-align: center;
padding: 20px 0;
position: relative;
bottom: 0;
width: 100%;
}
form {
display: flex;
flex-direction: column;
align-items: center;
}
form input, form textarea {
width: 80%;
padding: 12px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
transition: border-color 0.3s;
}
form input:focus, form textarea:focus {
border-color: #66afe9;
outline: none;
box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}