-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
118 lines (105 loc) · 2.32 KB
/
styles.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
body, html {
margin: 0;
padding: 0;
overflow: hidden; /* Verhindert Standard-Scrollen */
height: 100vh;
width: 100%;
touch-action: none; /* Deaktiviert die Standard-Touch-Interaktion */
background-color: black;
text-align: start;
}
.scroll-container {
width: 200vw; /* 200% der Viewport-Breite für horizontales Scrollen */
height: 200vh; /* 200% der Viewport-Höhe für vertikales Scrollen */
position: relative;
overflow: hidden;
transform-origin: center center;
}
.parallax-layer {
position: absolute;
width: 200vw;
height: 200vh;
}
.bg-image {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
z-index: 0;
pointer-events: none;
user-select: none;
}
#layer1 {
transform: translateZ(-2px) scale(3);
z-index: 1;
}
#layer2 {
transform: translateZ(-1px) scale(2);
z-index: 2;
}
#layer3 {
transform: translateZ(0px) scale(1.5);
z-index: 3;
}
.interactive-layer {
position: absolute;
width: 200vw;
height: 200vh;
z-index: 4;
pointer-events: auto; /* Interaktionen für Punkte und Karten erlaubt */
}
.point {
position: absolute;
width: 70px;
height: 70px;
background-color: rgba(255, 255, 255, 0.5);
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-family: Arial, sans-serif;
font-size: 12px;
color: black;
text-align: center;
}
.point.pulsing {
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}
50% {
box-shadow: 0 0 20px rgba(255, 165, 0, 1);
}
100% {
box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}
}
.card {
position: absolute;
width: 150px;
height: 200px;
padding: 20px;
background: rgba(255, 255, 255, 0.8);
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: center;
font-family: Arial, sans-serif;
font-size: 16px;
text-align: center;
transition: transform 0.3s;
pointer-events: auto; /* Interaktionen für Karten erlaubt */
}
.card:hover {
transform: scale(1.1);
}
.card-content {
overflow: auto;
width: 100%;
height: 100%;
}