-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
178 lines (153 loc) · 2.85 KB
/
Copy pathstyles.css
File metadata and controls
178 lines (153 loc) · 2.85 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
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;500&display=swap');
/* Global Box Sizing */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Base Styles */
body {
margin: 0;
padding: 0;
background: linear-gradient(to right, #f0f4f8, #eaf0f6);
font-family: 'Inter', sans-serif;
color: #333;
}
/* Container */
.container {
max-width: 1000px;
margin: auto;
padding: 2rem 1rem;
}
/* Card Layout */
.card {
background: white;
border-radius: 12px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
padding: 2rem;
margin-bottom: 2rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
/* Typography */
h1 {
font-family: 'Playfair Display', serif;
font-size: 2.8rem;
margin-bottom: 0.5rem;
}
h2 {
font-size: 1.8rem;
color: #2c3e50;
border-bottom: 2px solid #1abc9c;
padding-bottom: 0.3rem;
margin-top: 0;
}
h3 {
font-size: 1.2rem;
color: #34495e;
margin-top: 1rem;
}
ul {
padding-left: 1.2rem;
}
a {
color: #1abc9c;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #16a085;
text-decoration: underline;
}
/* Footer */
footer {
text-align: center;
font-size: 0.9rem;
color: #555;
padding: 1rem 0;
}
/* Animations */
.fade-in {
opacity: 0;
animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
/* Responsive */
@media (max-width: 600px) {
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
.card {
padding: 1.5rem;
}
}
/* Form Container */
.form {
max-width: 600px;
margin: 2rem auto;
padding: 2rem;
background: white;
border-radius: 12px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.form:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
/* Input and Textarea */
.form input,
.form textarea {
width: 100%;
padding: 1rem;
margin-bottom: 1.5rem;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 1rem;
font-family: 'Inter', sans-serif;
background-color: white;
color: #333;
line-height: 1.5;
transition: border-color 0.3s ease, background-color 0.3s ease;
display: block;
}
/* Focus Styles */
.form input:focus,
.form textarea:focus {
border-color: #1abc9c;
outline: none;
background-color: #f0fff4;
transform: scale(1.01);
}
/* Textarea Specifics */
.form textarea {
resize: vertical;
min-height: 120px;
}
/* Submit Button */
.form button {
width: 100%;
padding: 0.75rem;
background-color: #1abc9c;
color: white;
border: none;
border-radius: 8px;
font-size: 1.1rem;
font-family: 'Inter', sans-serif;
cursor: pointer;
transition: background-color 0.3s ease;
}
.form button:hover {
background-color: #16a085;
}