-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
219 lines (185 loc) · 4.21 KB
/
styles.css
File metadata and controls
219 lines (185 loc) · 4.21 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
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
/* Reset default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global styles */
body {
font-family: 'Arial', sans-serif;
background-color: #f0f8ff;
color: #333;
}
header {
background: purple;
padding: 1rem;
height: 100px;
}
header nav ul {
list-style-type: none;
display: flex;
justify-content: space-around;
margin-top: 13px;
}
header nav ul li a {
text-decoration: none;
color: #fff;
font-size: 2.2rem;
transition: color 0.3s ease;
}
header nav ul li a:hover {
color: gold;
}
/* Hero section for index.html */
#hero {
background-image: url('background.png');
background-size: cover;
background-repeat: no-repeat;
background-position: center; /* Centers the background image */
text-align: center;
padding: 5rem 1rem;
height: 100vh; /* Makes the hero section full height of the viewport */
}
#hero h1 {
font-size: 3rem;
color: orangered;
margin-top: 100px;
background-color: black;
padding: 0.75rem 1rem;
display: inline-block;
}
#hero p {
font-size: 3.5rem;
color: magenta;
margin-top: 1rem;
background-color: blue;
padding: 0.75rem 1rem;
display: inline-block;
}
#hero .cta {
display: inline-block;
margin-top: 8rem;
padding: 0.75rem 1rem;
background-color: pink;
color: #333;
font-weight: bold;
text-transform: uppercase;
border-radius: 5px;
font-size: 80px;
}
#hero .cta:hover{
background-color: brown;
color: black;
}
/* About Section */
.about-section {
padding: 3rem 1rem;
text-align: center;
height: 100vh;
background-image: url('background.png');
background-size: 100% 100%;
background-repeat: no-repeat;
}
.about-section h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
color: black;
}
.about-section p {
font-size: 1.5rem;
line-height: 1.5;
margin-bottom: 2rem;
color: pink;
background-color: black;
display: inline-block;
}
/* Characters Section */
.characters-section {
text-align: center;
padding: 3rem 1rem;
}
.character-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
padding: 2rem;
height: 70vh;
}
.character-card {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
padding: 1rem;
text-align: center;
}
.character-card img {
width: 100%;
height: auto;
border-radius: 10px;
margin-bottom: 1rem;
}
.character-card h2 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.character-card p {
font-size: 1rem;
color: #555;
}
.character-card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* Contact Section */
.contact-section {
padding: 3rem 1rem;
text-align: center;
background-color: pink;
}
.contact-section h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.contact-section p {
font-size: 1.2rem;
margin-bottom: 2rem;
}
.contact-form {
max-width: 600px;
margin: 0 auto;
}
.contact-form label {
display: block;
margin-bottom: 0.5rem;
font-weight: bold;
}
.contact-form input, .contact-form textarea {
width: 100%;
padding: 0.75rem;
margin-bottom: 1.5rem;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 1rem;
}
.contact-form button {
padding: 0.75rem 2rem;
background-color: #ff5733;
color: #fff;
border: none;
border-radius: 5px;
font-size: 1.2rem;
cursor: pointer;
transition: background-color 0.3s ease;
}
.contact-form button:hover {
background-color: #ffcc00;
}
/* Footer */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem;
margin-top: 2rem;
}