-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
152 lines (130 loc) · 2.5 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
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
/* General Styles */
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(to bottom, #1e3c72, #2a5298);
font-family: 'Arial', sans-serif;
}
/* Card Container */
.card-container {
perspective: 1000px;
}
/* Card */
.card {
width: 350px;
height: 580px;
background: linear-gradient(145deg, #ffffff, #e6e6e6);
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
overflow: hidden;
text-align: center;
transform-style: preserve-3d;
transition: transform 0.5s ease;
}
.card:hover {
transform: rotateY(15deg) rotateX(5deg);
}
/* Card Header */
.card-header {
background: linear-gradient(to right, #4facfe, #00f2fe);
padding: 20px;
position: relative;
}
.logo {
display: flex;
justify-content: center;
gap: 8px;
}
.circle {
width: 15px;
height: 15px;
background: #fff;
border-radius: 50%;
animation: bounce 1.5s infinite alternate;
}
.circle:nth-child(1) {
animation-delay: 0s;
}
.circle:nth-child(2) {
animation-delay: 0.2s;
}
.circle:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes bounce {
to {
transform: translateY(-10px);
}
}
/* Card Image */
.card-image {
width: 100%;
height: 180px;
overflow: hidden;
border-bottom: 1px solid #ddd;
}
.card-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* Card Content */
.card-content {
padding: 20px;
}
.card-content h2 {
margin: 0 0 10px;
font-size: 22px;
color: #333;
}
.card-content p {
font-size: 14px;
color: #666;
line-height: 1.5;
}
/* Card Footer */
.card-footer {
padding: 20px;
border-top: 1px solid #ddd;
background: #f9fafc;
}
.btn {
display: inline-block;
background: #0078ff;
color: #fff;
text-decoration: none;
padding: 10px 20px;
font-size: 14px;
border-radius: 20px;
cursor: pointer;
transition: background 0.3s ease;
}
.btn:hover {
background: #005ecb;
}
/* Social Icons */
.social-icons {
margin-top: 15px;
display: flex;
justify-content: center;
gap: 15px;
}
.social-icons a {
display: inline-block;
transition: transform 0.3s ease;
}
.social-icons img {
width: 28px;
height: 28px;
cursor: pointer;
filter: grayscale(0%) brightness(0.9);
transition: filter 0.3s ease;
}
.social-icons a:hover img {
filter: grayscale(0%) brightness(1.2);
transform: scale(1.2);
}