-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.css
98 lines (90 loc) · 1.91 KB
/
home.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
/* General styling for the Home page */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
padding: 20px;
overflow: hidden;
}
/* Container for content */
.container {
background-color: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
max-width: 600px;
width: 90%;
text-align: center;
animation: slideIn 1.5s ease-out;
}
/* Headings */
h1 {
color: #fff;
font-size: 36px;
font-weight: 700;
margin-bottom: 20px;
text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
animation: fadeIn 1.5s ease-in-out;
}
h2 {
color: #f0f2f5;
font-size: 24px;
font-weight: 400;
margin-top: 10px;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
animation: fadeIn 2s ease-in-out;
}
/* Animations */
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideIn {
0% {
opacity: 0;
transform: translateX(-100%);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
/* Button styling */
.primary-btn {
background-color: #ffffff;
color: #2575fc;
font-size: 16px;
padding: 12px 25px;
border: none;
border-radius: 25px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
margin-top: 20px;
}
.primary-btn:hover {
background-color: #2575fc;
color: #fff;
transform: translateY(-3px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
/* Utility classes */
.mt-20 {
margin-top: 20px;
}
.mt-40 {
margin-top: 40px;
}