-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsupplement.css
128 lines (110 loc) · 2.1 KB
/
supplement.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
/* Global Styles */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #000000;
color: #333;
}
header {
background-color: #222;
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
header .logo {
font-size: 24px;
font-weight: bold;
color: #22ff00;
text-decoration: none;
}
header .navbar {
list-style: none;
display: flex;
gap: 15px;
}
header .navbar li {
display: inline;
}
header .navbar a {
color: #fff;
text-decoration: none;
font-size: 14px;
padding: 5px 10px;
}
header .navbar .active {
color: #47fc05;
border-bottom: 2px solid #00ff26;
}
/* Supplement Section */
.supplement-section {
padding: 50px 20px;
text-align: center;
}
.supplement-section .heading {
font-size: 36px;
color: #ffffff;
margin-bottom: 20px;
}
.supplement-section .heading span {
color: #32ff1b;
}
.supplement-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
}
.supplement-card {
background: #565555;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
color: #65ff23;
padding: 20px;
text-align: center;
width: 300px;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.8s ease, transform 0.8s ease;
}
.supplement-card img {
width: 100%;
height: auto;
border-radius: 8px;
}
.supplement-card h3 {
font-size: 20px;
margin: 10px 0;
}
.supplement-card .buy-now-btn {
display: inline-block;
margin-top: 10px;
padding: 10px 20px;
background: #2fff21;
color: #fff;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background 0.3s ease;
}
.supplement-card .buy-now-btn:hover {
background: #008855;
}
/* Pop-In Animation */
.fade-in {
animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
to {
opacity: 1;
transform: translateY(0);
}
}
/* Footer */
.footer {
background: #222;
color: #fff;
text-align: center;
padding: 15px 0;
margin-top: 20px;
}