-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles-css.css
More file actions
78 lines (70 loc) · 1.54 KB
/
styles-css.css
File metadata and controls
78 lines (70 loc) · 1.54 KB
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
/* Reset default margins and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Ensure body takes up full viewport */
html, body {
height: 100%;
width: 100%;
overflow-x: hidden;
font-family: 'Arial', sans-serif;
color: white;
}
/* SVG Background setup */
.background-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1; /* Keep it behind content */
}
/* SVG will scale to fit the container while maintaining aspect ratio */
.background-svg {
width: 100%;
height: 100%;
object-fit: cover; /* Cover the entire container */
}
/* Website content */
.content {
position: relative;
width: 100%;
min-height: 100vh;
padding: 2rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
z-index: 1; /* Ensure content is above background */
}
h1 {
font-size: 3rem;
margin-bottom: 1rem;
text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
p {
font-size: 1.25rem;
max-width: 800px;
margin-bottom: 2rem;
text-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.btn {
padding: 0.75rem 1.5rem;
background-color: rgba(255, 255, 255, 0.15);
border: 2px solid white;
color: white;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1px;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s ease;
backdrop-filter: blur(5px);
}
.btn:hover {
background-color: rgba(255, 255, 255, 0.3);
transform: translateY(-3px);
}