-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathbookcycle.css
More file actions
147 lines (132 loc) · 2.43 KB
/
bookcycle.css
File metadata and controls
147 lines (132 loc) · 2.43 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
body {
font-family: 'Poppins', sans-serif;
background: #e0f2ff;
margin: 0;
display: flex;
justify-content: center;
padding: 50px 20px;
}
.container {
width: 100%;
max-width: 900px;
}
h1 {
text-align: center;
color: #1e1e2f;
font-size: 2.5rem;
margin-bottom: 40px;
font-weight: 700;
}
form {
background-color: #ffffff;
padding: 40px 50px;
border-radius: 25px;
box-shadow: 0 25px 50px rgba(0,0,0,0.15);
display: flex;
flex-direction: column;
gap: 30px;
}
fieldset {
border: none;
display: flex;
flex-direction: column;
gap: 20px;
padding: 10px 0;
}
legend {
font-weight: 700;
font-size: 1.4rem;
color: #1e1e2f;
margin-bottom: 20px;
border-bottom: 2px solid #6c63ff;
padding-bottom: 5px;
}
label {
display: block;
font-size: 1rem;
color: #333;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select {
width: 100%;
padding: 16px 18px;
border: 1.5px solid #d1d5db;
border-radius: 12px;
font-size: 1rem;
transition: 0.3s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus {
border-color: #6c63ff;
outline: none;
box-shadow: 0 0 8px rgba(108,99,255,0.4);
}
.checkbox-group {
display: flex;
align-items: center;
gap: 25px;
}
input[type="checkbox"] {
transform: scale(1.2);
}
input[type="submit"] {
width: 100%;
padding: 18px;
background: #6c63ff;
color: white;
border: none;
border-radius: 16px;
font-size: 1.2rem;
font-weight: 700;
cursor: pointer;
transition: 0.3s;
}
input[type="submit"]:hover {
background: #594fd1;
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
@media (max-width: 1024px) {
form {
padding: 35px 40px;
}
h1 {
font-size: 2.2rem;
}
}
@media (max-width: 768px) {
form {
padding: 30px 25px;
}
h1 {
font-size: 2rem;
}
.checkbox-group {
gap: 20px;
}
}
@media (max-width: 480px) {
form {
padding: 25px 20px;
}
h1 {
font-size: 1.8rem;
margin-bottom: 30px;
}
.checkbox-group {
flex-direction: column;
align-items: flex-start;
}
input[type="submit"] {
font-size: 1rem;
padding: 16px;
}
}