-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathromance.css
164 lines (140 loc) · 2.7 KB
/
romance.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.button{
z-index: 1;
height: 60px;
width: 120px;
border-radius: 5rem;
cursor: pointer;
background-color: transparent;
color: #fff;
border: none;
}
body {
font-family: 'Poppins', sans-serif;
color: #fff;
overflow-x: hidden;
scroll-behavior: smooth;
background-color: #1c1c1c;
}
.video-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
}
.video-background video {
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(0.3);
}
.video-background .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 0, 0, 0.3);
backdrop-filter: blur(8px);
}
.container {
padding: 50px 20px;
text-align: center;
}
header {
margin-bottom: 40px;
}
header h1 {
font-size: 4rem;
color: #ff4d4d;
text-shadow: 0 5px 15px rgba(255, 99, 71, 0.8);
}
header .subtitle {
font-size: 1.6rem;
margin-top: 10px;
color: #ff8080;
font-weight: 300;
text-shadow: 0 2px 10px rgba(255, 99, 71, 0.5);
}
.books {
display: flex;
flex-wrap: wrap;
gap: 2rem;
justify-content: center;
}
.book-card {
width: 300px;
padding: 20px;
border-radius: 12px;
background: rgba(255, 77, 77, 0.1);
border: 2px solid rgba(255, 77, 77, 0.5);
box-shadow: 0 10px 30px rgba(255, 0, 0, 0.5);
transition: transform 0.3s, box-shadow 0.3s;
text-align: center;
backdrop-filter: blur(10px);
opacity: 0;
transform: translateY(50px);
animation: fadeInUp 1s ease forwards;
}
.book-card:nth-child(1) {
animation-delay: 0.3s;
}
.book-card:nth-child(2) {
animation-delay: 0.6s;
}
.book-card:nth-child(3) {
animation-delay: 0.9s;
}
.book-card:nth-child(4) {
animation-delay: 1.2s;
}
.book-card img {
width: 100%;
height: 350px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 15px;
box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}
.book-card h3 {
font-size: 1.5rem;
color: #fff;
margin-bottom: 10px;
text-shadow: 0 3px 8px rgba(255, 99, 71, 0.8);
}
.book-card p {
font-size: 1rem;
color: #ffcccc;
}
.book-card:hover {
transform: scale(1.1);
box-shadow: 0 15px 40px rgba(255, 0, 0, 0.8);
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 768px) {
header h1 {
font-size: 3rem;
}
header .subtitle {
font-size: 1.3rem;
}
.books {
flex-direction: column;
align-items: center;
}
.book-card {
width: 90%;
}
}