forked from PRIYESHSINGH24/SMART_DSA_NOTEBOOK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
226 lines (201 loc) · 4.54 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body {
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
/* overflow-y: hidden; */
}
.content-wrapper {
height: 100%;
width: 100%;
}
header {
text-align: center;
padding: 20px 0;
background-color: #333;
color: #fff;
width: 100%;
box-sizing: border-box;
margin: 0; /* Ensure it spans the full width */
}
header h1 {
margin: 0;
font-size: 2.5em;
}
header p {
margin: 10px 0 0;
font-size: 1.2em;
}
.container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 20px;
margin-top: 20px;
width: 100%;
}
.platform-card {
background-color: #fff;
border-radius: 16px; /* Larger rounded corners */
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15); /* Subtle shadow */
margin: 10px;
padding: 30px; /* Increased padding */
text-align: center;
flex: 1 1 calc(33.33% - 40px); /* Flexible width for responsiveness */
max-width: 350px; /* Larger card size */
transition: transform 0.3s, box-shadow 0.3s;
}
.platform-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}
.platform-card img {
width: 100px; /* Larger image size */
height: 100px; /* Consistent height */
margin-bottom: 15px;
object-fit: contain; /* Ensure images are scaled proportionally */
border-radius: 10px; /* Rounded images */
border: none; /* Ensure no borders */
outline: none; /* Prevent any outlines */
box-shadow: none; /* Remove any shadows */
}
.platform-card h2 {
margin: 15px 0;
font-size: 1.6em;
color: #333;
}
.platform-card a {
display: inline-block;
margin-top: 15px;
padding: 12px 25px; /* Slightly larger buttons */
background-color: #2acb1e;
color: #fff;
text-decoration: none;
border-radius: 8px; /* Rounded button corners */
transition: background-color 0.3s;
}
.platform-card a:hover {
background-color: #555;
}
/* Scroll to Top Button */
#scrollToTopBtn {
display: none;
position: fixed;
bottom: 85px;
right: 40px;
height: 50px;
width: 50px;
background-color: rgb(80, 183, 218);
color: white;
border: none;
border-radius: 50%;
padding: 10px;
cursor: pointer;
font-size: 15px;
}
#scrollToTopBtn:hover {
background-color: rgb(80, 183, 218);
}
footer {
background-color: #ffffff;
padding: 40px 0;
color: #ffffff;
box-shadow: 12px 6px 14px rgba(0, 0, 0, 0.15);
font-family: "Outfit", serif;
font-weight:300;
margin-top: 50px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
max-width: 1200px;
margin: auto;
padding: 20px;
}
.footer-section {
margin: 20px;
}
.footer-section h2 {
font-size: 18px;
font-weight: bold;
margin-bottom: 20px;
}
.footer-section ul {
list-style: none;
padding: 0;
}
.footer-section ul li {
margin-bottom: 10px;
}
.footer-section ul li a {
text-decoration: none;
color: #6c757d;
font-size: 14px;
}
.footer-section ul li a:hover {
color: #000;
}
.social-icons {
display: flex;
gap: 10px;
}
.social-icons li {
list-style: none;
}
.social-icons li a {
font-size: 20px;
color: #6c757d;
}
.footer-section.newsletter h2 {
font-size: 22px;
color: #ea0202;
margin-bottom: 15px;
}
.footer-section.newsletter p {
font-size: 14px;
color: #130111;
margin-bottom: 20px;
}
.footer-section.newsletter .newsletter-form {
display: flex;
justify-content: center;
gap: 10px;
align-items: center;
}
.footer-section.newsletter .newsletter-form input {
padding: 10px;
font-size: 14px;
width: 250px;
border: 2px solid #ddd;
border-radius: 4px;
transition: border-color 0.3s ease;
}
.footer-section.newsletter .newsletter-form input:focus {
border-color: #ff5722; /* Focused border color */
outline: none;
}
.footer-section.newsletter .subscribe-btn {
background: linear-gradient(90deg, #ff5722, #ff0000); /* Red gradient */
color: #fff;
padding: 10px 20px;
font-size: 14px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background 0.3s ease, transform 0.3s ease;
}
.footer-section.newsletter .subscribe-btn:hover {
background: linear-gradient(90deg, #ff0000, #ff5722); /* Reverse gradient on hover */
transform: translateY(-3px); /* Button hover animation */
}
.footer-bottom {
text-align: center;
padding: 20px 0;
background-color: #e9ecef;
font-size: 14px;
position: relative;
bottom: 0;
}