-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
159 lines (153 loc) · 2.88 KB
/
style.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
/* Global Styles */
body {
font-family: 'Montserrat', sans-serif;
color: #333333;
margin: 0;
padding: 0;
}
/* Navbar */
.navbar {
position: fixed;
width: 100%;
backdrop-filter: blur(5px);
}
.navbar-brand {
color: #ffffff;
font-size: 2rem;
font-weight: bold;
padding: 0rem 1rem;
border-radius: 0.5rem;
background-color: rgba(39, 35, 65, 0.4);
}
.navbar-nav .nav-link {
transition: color 0.3s ease, transform 0.3s ease;
}
.navbar-nav .nav-link:hover {
color: #00aced;
transform: scale(1.05);
}
.navbar-toggler{
border:1px solid white !important;
}
.navbar-toggler-icon{
mix-blend-mode: color-burn;
}
/* Hero Section */
.hero {
height: 100vh;
background: linear-gradient(to right, #003366, #008080);
background-size: 200% 200%;
animation: gradientShift 10s ease infinite;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 20px;
}
@keyframes gradientShift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.hero h1 {
font-size: 4rem;
font-weight: bold;
margin-bottom: 20px;
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}
.hero p {
font-size: 1.5rem;
margin-bottom: 30px;
}
.hero .btn {
padding: 12px 36px;
font-size: 1.3rem;
border-radius: 50px;
background-color: #00aced;
color: white;
border: none;
box-shadow: 0 5px 15px rgba(0, 172, 237, 0.4);
transition: background-color 0.3s ease, transform 0.3s ease;
}
.hero .btn:hover {
background-color: #0088cc;
transform: translateY(-3px);
}
/* Features Section */
.features-section {
background-color: #f4f4f4;
padding: 80px 20px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}
.features-section h2 {
font-size: 2.7rem;
margin-bottom: 50px;
text-align: center;
}
.feature-card {
text-align: center;
padding: 25px;
background: rgba(255, 255, 255, 0.85);
border-radius: 15px;
transition: transform 0.4s ease, box-shadow 0.4s ease;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.feature-card:hover {
transform: translateY(-15px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.feature-card img {
width: 100px;
margin-bottom: 20px;
}
.feature-card h5 {
font-size: 1.6rem;
margin-bottom: 15px;
}
.feature-card p {
font-size: 1.1rem;
color: #444444;
}
/* Footer */
.footer {
background: linear-gradient(to right, #003366, #004b66);
color: white;
padding: 40px 20px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
.footer p {
margin: 0;
font-size: 0.9rem;
}
@media (max-width: 768px) {
.hero h1 {
font-size: 3rem;
}
.hero p {
font-size: 1rem;
}
.hero .btn {
padding: 10px 30px;
font-size: 1rem;
}
}
@media (max-width: 480px) {
.hero h1 {
font-size: 2.25rem;
}
.hero p {
font-size: 1rem;
}
}