-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
167 lines (140 loc) · 2.71 KB
/
style.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
/* Reset styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global styles */
body {
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
color: #333;
}
a {
color: #333;
text-decoration: none;
}
ul {
list-style: none;
}
/* Header styles */
header {
/* background-color: #fff; */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: relative;
top: 0;
left: 0;
right: 0;
/* z-index: 999; */
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
}
nav ul {
display: flex;
}
nav li {
margin-right: 1rem;
}
nav a {
padding: 0.5rem;
transition: all 0.3s ease;
}
nav a:hover {
background-color: #333;
color: #fff;
}
/* Hero image styles */
.hero-image {
background-image: url('/images/img.jpg');
background-size: cover;
background-position: center;
height: 500px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.hero-image h1 {
font-size: 3rem;
margin-bottom: 1rem;
color: #fff;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.cta-button {
background-color: #333;
color: #fff;
padding: 1rem 2rem;
border-radius: 5px;
font-size: 1.2rem;
transition: all 0.3s ease;
}
.cta-button:hover {
background-color: #fff;
color: #333;
}
/* Main section styles */
main {
margin-top: 100px;
}
.about {
background-color: #f5f5f5;
padding: 2rem;
text-align: center;
}
.about h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
.about p {
margin-bottom: 1rem;
}
.menu {
padding: 2rem;
text-align: center;
}
.menu h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
.menu ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin-top: 2rem;
}
.menu li {
flex-basis: 300px;
margin: 1rem;
padding: 1rem;
background-color: #f5f5f5;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.menu h3 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.menu p {
margin-bottom: 1rem;
}
.menu span {
font-size: 1.2rem;
font-weight: bold;
}
.cta-button {
margin-top: 2rem;
}
/* Footer styles */
footer {
background-color: #333;
color: #fff;
padding: 1rem;
text-align: center;
}