-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (103 loc) · 2.38 KB
/
style.css
File metadata and controls
116 lines (103 loc) · 2.38 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
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
/* General Styles */
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right, #4facfe, #1e01f4);
color: white;
text-align: center;
overflow-x: hidden;
}
/* Navbar */
.navbar {
background: rgba(255, 255, 255, 0.2);
padding: 15px;
backdrop-filter: blur(10px);
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
font-weight: 600;
font-size: 1.2rem;
}
/* Hero Section */
.hero {
max-width: 900px;
margin: 60px auto;
padding: 40px;
background: rgba(255, 255, 255, 0.15);
border-radius: 15px;
backdrop-filter: blur(20px);
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
animation: fadeIn 1.5s ease-in-out;
}
.hero h1 {
font-size: 2.8rem;
margin-bottom: 15px;
font-weight: 600;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 25px;
}
/* Call-to-Action Button */
.cta-button {
background: linear-gradient(135deg, #ff416c, #ff4b2b);
color: white;
padding: 12px 30px;
border-radius: 8px;
border: none;
cursor: pointer;
font-size: 1.1rem;
font-weight: bold;
transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}
.cta-button:hover {
transform: scale(1.05);
box-shadow: 0px 5px 15px rgba(255, 75, 43, 0.5);
}
/* Features Section */
.features {
display: flex;
justify-content: center;
gap: 20px;
margin: 50px auto;
flex-wrap: wrap;
max-width: 1100px;
}
.feature {
background: rgba(255, 255, 255, 0.2);
padding: 20px;
border-radius: 15px;
width: 280px;
text-align: center;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out;
}
.feature:hover {
transform: translateY(-10px);
}
/* Feature Icons */
.feature img {
width: 80px;
margin-bottom: 10px;
}
/* Footer */
footer {
margin-top: 50px;
padding: 20px;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
font-weight: bold;
font-size: 1rem;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}