@@ -10,7 +10,7 @@ html, body {
10
10
}
11
11
12
12
.overlay-box {
13
- position : absolute ;
13
+ position : relative ;
14
14
top : 50% ;
15
15
left : 50% ;
16
16
transform : translate (-50% , -50% );
@@ -19,9 +19,8 @@ html, body {
19
19
width : 56.25vh ; /* 16:9 Breite zu 100% Höhe */
20
20
max-height : 100vh ;
21
21
background-color : rgba (255 , 255 , 255 , 0.5 );
22
- border-radius : 15px ;
23
22
border : 2px solid white;
24
- padding : 2 vh ;
23
+ padding : 5.0 vh 5.0 vh ;
25
24
box-shadow : 0 0 15px rgba (0 , 0 , 0 , 0.4 );
26
25
display : flex;
27
26
flex-direction : column;
@@ -39,29 +38,25 @@ html, body {
39
38
flex-direction : column;
40
39
justify-content : center;
41
40
align-items : center;
42
- gap : 1.5% ;
43
- width : 100% ;
44
- overflow : auto;
45
41
}
46
42
47
43
.overlay-box header ,
48
44
.overlay-box footer {
49
45
font-size : 2.2vh ;
50
46
font-weight : bold;
51
- padding : 1vh 0 ;
52
47
}
53
48
54
49
.text {
55
- margin-top : 60 px ;
50
+ margin-top : 9.0 vh ;
56
51
display : flex;
57
52
flex-direction : column;
58
53
align-items : center;
59
54
}
60
55
61
56
.text .line1 {
57
+ margin-bottom : 1.5vh ;
62
58
font-size : 2.4vh ;
63
59
font-weight : bold;
64
- margin-bottom : 15px ;
65
60
}
66
61
67
62
.text .line2 {
@@ -71,28 +66,26 @@ html, body {
71
66
.overlay-box img {
72
67
width : 100% ; /* Bild füllt die Breite der overlay-box */
73
68
height : auto;
74
- max-width : 100% ;
75
- max-height : 100% ;
76
69
object-fit : contain;
77
70
}
78
71
79
72
button {
80
73
padding : 6px 12px ;
81
- border-radius : 8px ;
82
74
border : none;
75
+ border-radius : 8px ;
83
76
background : rgba (200 , 50 , 50 , 0.8 );
84
77
color : white;
85
78
font-weight : bold;
86
79
cursor : pointer;
87
80
}
88
81
89
82
# closeBtn {
90
- margin-bottom : 90px ;
91
- background-color : white;
92
- color : # 333 ;
83
+ margin-bottom : 10.0vh ;
84
+ padding : 1vh 2vh ;
93
85
border : none;
94
86
border-radius : 8px ;
95
- padding : 1vh 2vh ;
87
+ background-color : white;
88
+ color : # 333 ;
96
89
font-size : 1.8vh ;
97
90
cursor : default;
98
91
}
@@ -126,7 +119,7 @@ button {
126
119
align-items : center;
127
120
justify-content : center;
128
121
transform : translate (-50% , -50% );
129
- box-shadow : 0 0 8px rgba (0 , 0 , 0 , 0.4 );
122
+ box-shadow : 0 0 8px rgba (0 , 0 , 0 , 0.4 );
130
123
transition : transform 0.2s ease, background 0.3s ease;
131
124
outline : 1px solid lime;
132
125
}
@@ -135,3 +128,14 @@ button {
135
128
.arrow .right { right : -3.0rem ; margin-right : -3.5rem ; top : 50% ; transform : translateY (-50% ) scale (1 ); }
136
129
.arrow : hover { transform : translateY (-50% ) scale (1.2 ); }
137
130
131
+ .safe-area-frame {
132
+ position : absolute;
133
+ top : 250px ;
134
+ left : 90px ;
135
+ width : 900px ; /* 1080 - 2×90px */
136
+ height : 1420px ; /* 1920 - 2×250px */
137
+ border : 2px dashed red;
138
+ pointer-events : none;
139
+ box-sizing : border-box;
140
+ z-index : 9999 ; /* Sicher ganz oben */
141
+ }
0 commit comments