-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
89 lines (77 loc) · 1.53 KB
/
styles.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
#background-video {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
body {
font-family: 'Arial', sans-serif;
margin: 0;
color: #ffffff;
}
.container {
text-align: center;
}
.card-container {
margin-bottom: 20px;
}
.card {
width: 250px;
height: 350px;
perspective: 1000px;
display: inline-block;
}
.card-inner {
position: relative;
width: 100%;
height: 100%;
transform-style: preserve-3d;
transition: transform 0.6s;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}
.card:hover .card-inner {
transform: rotateY(180deg);
}
.card-front, .card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
box-sizing: border-box;
text-align: center;
color: #ffffff;
}
.card-front {
background: rgba(0, 0, 0, 0.7);
}
.card-back {
background: rgba(0, 0, 0, 0.9);
transform: rotateY(180deg);
}
.navigation {
display: flex;
justify-content: center;
gap: 20px;
}
button {
background-color: #8e44ad;
color: #ffffff;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #6c3483;
}