-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
198 lines (170 loc) · 3.16 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
186
187
188
189
190
191
192
193
194
195
196
197
198
body {
font-family: Times New Roman, serif;
line-height: 1.6;
color: #fff;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background-color: #000;
}
header {
background-color: #000;
padding: 10px 20px;
border-bottom: 2px solid #fff;
}
nav ul {
display: flex;
justify-content: space-around;
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul li {
margin: 0 10px;
}
nav ul li a {
font-size: 18px;
color: #fff;
text-decoration: none;
padding: 5px 10px;
border: 1px solid transparent;
transition: all 0.3s ease;
}
nav ul li a:hover {
color: #ff0000;
border: 1px solid #ff0000;
border-radius: 4px;
background-color: rgba(255, 255, 255, 0.1);
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
}
.hero {
background-color: #010101;
color: #fefefe;
padding: 80px 40px;
text-align: center;
margin-bottom: 40px;
}
.hero h1 {
font-size: 2.5em;
}
.content {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.column {
font-size: 24px;
font-weight: bold;
color: #ffffff;
text-decoration: none;
border-bottom: 2px solid #ffffff;
padding-bottom: 5px;
}
.footer {
text-align: center;
padding: 20px 0;
border-top: 1px solid #ddd;
}
a {
color: #ffffff;
text-decoration: none;
}
a:visited {
color: #ffffff;
}
a:hover {
color: #ff0000;
}
a:active {
color: #ffffff;
}
.column ul {
list-style-type: none;
padding: 0;
margin: 0;
}
form {
background-color: #111;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
margin-top: 40px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: column;
gap: 15px;
}
form label {
font-size: 18px;
color: #fff;
display: block;
margin-bottom: 8px;
}
form input[type="text"],
form input[type="email"],
form input[name="subject"],
form textarea {
width: 100%;
padding: 12px;
margin-bottom: 20px;
border: 1px solid #fff;
border-radius: 4px;
background-color: #222;
color: #fff;
font-size: 16px;
transition: all 0.3s ease;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[name="subject"]:focus,
form textarea:focus {
border-color: #f0f0f0;
outline: none;
background-color: #333;
}
form button {
background-color: #333;
color: #fff;
font-size: 18px;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 100%;
transition: background-color 0.3s ease;
}
form button:hover {
background-color: #555;
}
form .message {
font-size: 16px;
color: #ff5e5e;
margin-top: 10px;
text-align: center;
}
@media (max-width: 768px) {
.header, .content {
flex-direction: column;
align-items: center;
}
.column {
width: 100%;
padding: 10px;
}
header {
text-align: center;
}
nav ul {
flex-direction: column;
align-items: center;
}
nav ul li {
margin: 5px 0;
}
}