-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
55 lines (50 loc) · 950 Bytes
/
styles.css
File metadata and controls
55 lines (50 loc) · 950 Bytes
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-family: "Arial", sans-serif;
color: #d8d8d8;
overflow: hidden;
background: #0a0a0a;
position: relative;
}
/* 3D Globe Canvas */
canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
/* Keep it behind everything */
}
/* Center Name Over Globe */
.name-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
text-align: center;
z-index: 1;
/* Ensure it's on top */
text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
/* Add slight contrast */
}
.name-container h1 {
font-size: 4rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
}
.name-container p {
font-size: 1.5rem;
opacity: 1.0;
}