Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
198 lines (190 loc) · 3.74 KB
/
Copy pathstyle.css
File metadata and controls
198 lines (190 loc) · 3.74 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
/* Reset de base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', Arial, sans-serif;
background: #fffbe6;
color: #222;
min-height: 100vh;
line-height: 1.6;
overflow-x: hidden;
}
/* Animation fade-in */
.fade-in {
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s forwards;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
/* HERO */
.hero {
text-align: center;
padding: 60px 20px 40px 20px;
background: linear-gradient(120deg, rgb(158, 158, 158) 25%, #0a0a0a 100%);
color: #fff;
border-radius: 0 0 40px 40px;
box-shadow: 0 8px 32px rgba(18, 18, 19, 0.08);
position: relative;
overflow: hidden;
}
.hero .cover {
width: 180px;
border-radius: 20px;
box-shadow: 0 4px 24px rgba(0,0,0,0.12);
margin-bottom: 24px;
animation: float 2.5s infinite ease-in-out alternate;
}
@keyframes float {
to { transform: translateY(-12px) scale(1.03);}
}
.hero h1 {
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 16px;
letter-spacing: 1px;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 28px;
}
/* Bouton principal */
.btn {
display: inline-block;
background: #fff;
color: hsl(0, 0%, 13%);
font-weight: 600;
padding: 12px 32px;
border-radius: 30px;
text-decoration: none;
box-shadow: 0 2px 8px rgba(17, 17, 17, 0.1);
transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
margin-top: 10px;
border: none;
cursor: pointer;
font-size: 1.1rem;
position: relative;
overflow: hidden;
}
.btn:hover, .btn:focus {
background: hwb(0 15% 85%);
color: #fff;
box-shadow: 0 4px 16px rgba(79,140,255,0.18);
transform: scale(1.04);
}
/* Aperçu */
.apercu {
max-width: 500px;
margin: 40px auto 0 auto;
background: #fffbe6;
border-radius: 24px;
box-shadow: 0 2px 16px rgba(79,140,255,0.07);
padding: 32px 24px;
text-align: left;
}
.apercu h2 {
font-size: 1.4rem;
color: #000000;
margin-bottom: 18px;
font-weight: 600;
}
.apercu ul {
list-style: none;
}
.apercu li {
font-size: 1.1rem;
margin-bottom: 12px;
padding-left: 24px;
position: relative;
}
.apercu li::before {
content: "✔";
position: absolute;
left: 0;
color: hwb(0 0% 100%);
font-weight: bold;
font-size: 1.2em;
}
/* Formulaire */
.form-section {
max-width: 500px;
margin: 40px auto;
background: #fffbe6;
border-radius: 24px;
box-shadow: 0 2px 16px rgba(167,127,251,0.07);
padding: 32px 24px;
text-align: center;
}
.form-section h2 {
color: #000000;
font-size: 1.3rem;
margin-bottom: 18px;
font-weight: 600;
}
.form-section small {
display: block;
margin-top: 18px;
color: #888;
}
/* Footer */
footer {
text-align: center;
padding: 32px 0 16px 0;
background: linear-gradient(120deg, rgb(158, 158, 158) 25%, #0a0a0a 100%);
color: #000000;
font-size: 1rem;
margin-top: 40px;
border-radius: 24px 24px 0 0;
box-shadow: 0 -2px 16px rgba(167,127,251,0.07);
}
footer a {
color: #ffffff;
text-decoration: none;
font-weight: 600;
margin: 0 8px;
transition: color 0.2s;
}
footer a:hover {
color: #000000;
text-decoration: underline;
}
/* Responsive */
@media (max-width: 600px) {
.hero, .apercu, .form-section {
padding: 24px 8px;
}
.hero h1 {
font-size: 1.3rem;
}
.apercu, .form-section {
max-width: 100%;
}
.btn {
padding: 10px 24px;
font-size: 1rem;
}
}
.input-email {
width: 80%;
max-width: 320px;
padding: 12px 16px;
margin-bottom: 16px;
border: 2px solid #000000;
border-radius: 24px;
font-size: 1rem;
background: #fff;
transition: border-color 0.2s, box-shadow 0.2s;
box-shadow: 0 2px 8px rgba(167,127,251,0.07);
}
.input-email:focus {
border-color: #726f44;
box-shadow: 0 4px 16px rgba(167,127,251,0.18);
outline: none;
}