Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
TheGameCenter
GitHub Repository: TheGameCenter/TheGameCenter.github.io
Path: blob/main/assets/css/index.css
7017 views
1
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
2
3
* {
4
box-sizing: border-box;
5
}
6
7
body {
8
min-height: 100vh;
9
background: #0c192c;
10
overflow-x: hidden;
11
}
12
13
14
/*
15
Loader Start
16
*/
17
.loader {
18
position: fixed;
19
top: 0;
20
left: 0;
21
width: 100vw;
22
height: 100vh;
23
display: flex;
24
align-items: center;
25
justify-content: center;
26
background: #0c192c;
27
}
28
29
.loader--hidden {
30
opacity: 0;
31
visibility: hidden;
32
}
33
34
.loader::after {
35
content: "";
36
width: 75px;
37
height: 75px;
38
border: 15px solid #ddd;
39
border-top-color: #ff6057;
40
border-radius: 50%;
41
animation: loading 0.75s ease infinite;
42
transition: opacity 0.75s, visibility 0.75s;
43
}
44
45
@keyframes loading {
46
from { transform: rotate(0turn)}
47
to { transform: rotate(1turn)}
48
}
49
50
/*
51
Var Loading Stop
52
*/
53
54
/*
55
Glowing Text Start
56
*/
57
58
.glowtext {
59
display: flex;
60
font-family: 'Poppins', sans-serif;
61
}
62
63
ul {
64
position: relative;
65
display: flex;
66
flex-direction: column;
67
gap: 30px;
68
}
69
70
ul li {
71
position: relative;
72
list-style: none;
73
transform: translate(0, 1000%);
74
}
75
76
ul li a {
77
position: relative;
78
font-size: 2em;
79
text-decoration: none;
80
line-height: 1em;
81
letter-spacing: 2px;
82
text-transform: uppercase;
83
color: transparent;
84
-webkit-text-stroke: 1px rgba(255,255,255,0.5);
85
}
86
87
ul li a::before {
88
content: attr(data-text);
89
position: absolute;
90
color: #fff;
91
width: 0%;
92
overflow: hidden;
93
transition: 1s;
94
border-right: 8px solid var(--clr);
95
-webkit-text-stroke: 1px var(--clr);
96
}
97
98
ul li a:hover::before {
99
width: 100%;
100
filter: drop-shadow(0 0 25px var(--clr));
101
}
102
103
/*
104
Var Glowing Text End
105
*/
106
107
/*
108
Bubbles Start
109
*/
110
.contaienr {
111
position: relative;
112
width: 100%;
113
height: 100vh;
114
min-height: 30px;
115
min-width: 30px;
116
}
117
118
.bubbles {
119
position: relative;
120
display: flex;
121
}
122
123
.bubbles span {
124
width: 30px;
125
height: 30px;
126
min-width: 30px;
127
min-height: 30px;
128
background: #4fc3dc;
129
margin: 0 3px;
130
border-radius: 50%;
131
box-shadow: 0 0 0 10px #4fc3dc44,
132
0 0 50px #4fc3dc,
133
0 0 100px #4fc3dc;
134
animation: animate 15s linear infinite;
135
animation-duration: calc(200s / var(--i));
136
}
137
138
.bubbles span:nth-child(even) {
139
background: #ff2d75;
140
box-shadow: 0 0 0 10px #ff2d7544,
141
0 0 50px #ff2d75,
142
0 0 100px #ff2d75;
143
}
144
145
@keyframes animate {
146
0% {
147
transform: translateY(100vh) scale(0);
148
}
149
100% {
150
transform: translateY(-10vh) scale(1);
151
}
152
}
153
154
/*
155
Bubbles End
156
*/
157
158
.textfront {
159
text-align: center;
160
color: #ff6057;
161
filter: drop-shadow(0 0 25px var(--clr));
162
padding: 0px;
163
margin: 0px;
164
filter: drop-shadow(0 0 15px #ff6057);
165
}
166
167
.ytModel .ytBox {
168
position: absolute;
169
bottom: 0;
170
right: 0;
171
padding: 2.5em;
172
padding-right: 12em;
173
padding-left: 12em;
174
margin: 1em;
175
border-radius: 5px;
176
}
177
178
.ytBox .ytBtn {
179
position: absolute;
180
bottom: 0;
181
left: 0;
182
padding: 1em;
183
padding-right: 8.1555em;
184
padding-left: 8.1555em;
185
background: #50C878;
186
margin: 1em;
187
border-radius: 5px;
188
color: white;
189
display: inline-block;
190
white-space: nowrap;
191
text-align: center;
192
filter: drop-shadow(2px 2px 8px #50c878);
193
transition: all 150ms ease-in-out;
194
}
195
196
.ytBox .ytBtn:hover {
197
transform: scale(1.05);
198
background: #4bb86f;
199
}
200