-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
153 lines (135 loc) · 3.19 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
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:wght@400;500;600;700;800;900&display=swap');
* {
margin: 0;
padding: 0;
font-family: Merriweather, sans-serif;
box-sizing: border-box;
}
body {
min-height: 100vh;
background: linear-gradient(180deg, rgba(47, 118, 212, 0.692), rgba(22, 21, 21, 0.437)), url('images/img.jpg');
backdrop-filter: blur(3px);
background-size: cover;
background-position: center;
overflow: hidden;
}
.header {
position: relative;
top: 0;
left: 0;
width: 100%;
padding-bottom: 10px;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(180deg, rgba(222, 225, 240, 0.446), rgba(255, 255, 255, 0.802));
backdrop-filter: blur(50px);
}
.header .logo {
width: 150px;
cursor: pointer;
}
.content {
background: linear-gradient(180deg, rgba(155, 192, 234, 0.718), rgba(155, 172, 234, 0.718) );
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(1, 31, 100, 0.36);
line-height: 2;
margin-top: 3rem;
}
.content h1 {
padding-bottom: 20px;
color: transparent;
font-size: 1.6rem;
font-weight: 700;
font-family: Poppins, sans-serif;
font-style: italic;
text-transform: uppercase;
animation: colorchange 6s infinite alternate;
}
@keyframes colorchange {
0% {
color: #c80c0c;
}
100% {
color: #082671;
}
}
.content h2 {
font-size: 1.8rem;
font-weight: 600;
color: #111954;
text-transform: uppercase;
padding: 20px;
}
.content .act {
font-size: 2.5rem;
font-family: Poppins, sans-serif;
color: transparent;
font-weight: 900;
padding-top: 0;
animation: effect 2s linear infinite;
}
@keyframes effect {
0% {
background: linear-gradient(
#022b27, #000FFF);
-webkit-background-clip: text;
}
100% {
background: linear-gradient(
#d50404, #022b27);
-webkit-background-clip: text;
}
}
.content p {
color: #111954;
font-weight: 700;
font-size: 1.4rem;
padding-bottom: 20px;
}
.content .btn {
color: #111954;
padding: 10px 15px;
font-size: 1.2rem;
margin: 10px 0 20px;
border-radius: 20px;
border: none;
background-color: #bfc6fb;
box-shadow:3px 8px 9px rgba(12, 20, 65, 0.871);
cursor: pointer;
}
.content .btn:hover {
background-color: #111954;
color: #fff;
}
/* css for mobile screens */
@media only screen and (max-width: 768px) {
/* For mobile phones: */
.header .logo {
width: 130px;
}
.content {
width: 100%;
}
.content h1 {
font-size: 1.3rem;
}
.content h2 {
font-size: 1.2rem;
padding-bottom: 20px;
}
.content .act {
font-size: 1.5rem;
}
.content p {
font-size: 1rem;
}
.content .btn {
color: #111954;
padding: 10px 15px;
font-size: 1rem;
}
}