-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
244 lines (210 loc) · 4.36 KB
/
style.css
File metadata and controls
244 lines (210 loc) · 4.36 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
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
/* roboto-condensed-regular - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 400;
src: url('/fonts/roboto-condensed-v27-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* Preloader Overlay */
#preloader {
position: fixed;
z-index: 9999;
background: #000;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
transition: opacity 0.6s ease;
}
.loader {
width: 60px;
height: 60px;
border: 8px solid rgba(255, 255, 255, 0.2);
border-top-color: #f0e000; /* Gelbton deiner Wahl */
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
body.loading main, body.loading header, body.loading footer {
opacity: 0;
transition: opacity 0.6s ease;
}
.flag-icon {
width: 16px;
height: 12px;
object-fit: contain;
vertical-align: middle; /* oder baseline, falls besser aussieht */
margin-left: 4px;
margin-right: 2px;
border-radius: 2px;
box-shadow: 0 0 1px rgba(255,255,255,0.3); /* optional */
}
html, body {
margin: 0;
padding: 0;
font-family: 'Roboto Condensed', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
background: url('/images/back.webp') no-repeat center center fixed;
background-size: cover;
filter: grayscale(20%) brightness(90%);
color: #fff;
min-height: 100vh;
display: flex;
flex-direction: column;
box-sizing: border-box;
}
header {
background-color: rgba(0, 0, 0, 0.5);
padding: 1rem 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
header img {
width: 600px;
height: 150px;
display: block;
aspect-ratio: 4 / 1; /* optional, aber hilft */
filter: drop-shadow(0 6px 12px rgba(0,0,0,0.8));
}
header .qualities {
text-align: right;
font-size: 0.9rem;
color: rgba(255,255,255,0.7);
line-height: 1.4;
}
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding: 2rem 1rem;
}
.intro {
background-color: rgba(0, 0, 0, 0.6);
color: #fff;
width: 100%;
max-width: 960px;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 6px 16px rgba(200,200,0,0.5);
text-align: center;
border: 1px solid rgba(200,200,200,0.3);
margin-bottom: 2rem;
}
.intro h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
.intro p {
font-size: 1.1rem;
line-height: 1.6;
}
.intro a {
color: rgba(255,255,0,0.9);
text-decoration: none;
}
.services {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
transition: all 0.3s ease-in-out;
gap: 1.5rem;
width: 100%;
height: auto;
min-height: 500px;
max-width: 1200px;
padding: 0 1rem;
}
.service-box {
background-color: rgba(0, 0, 0, 0.6);
padding: 1.5rem;
border-radius: 16px;
box-shadow: 0 6px 16px rgba(200,200,0,0.5);
text-align: center;
}
.service-box h2 {
font-size: 1.2rem;
margin-bottom: 0.5rem;
}
footer {
background-color: rgba(0, 0, 0, 0.5);
font-size: 0.75rem;
color: rgba(255, 255, 255, 0.9);
text-align: center;
padding: 1rem 1rem;
}
footer a {
color: rgba(255,255,0,0.9);
text-decoration: none;
}
@media (max-width: 480px) {
header {
flex-direction: column;
text-align: center;
}
header img {
max-width: 80%;
margin-bottom: 1rem;
}
.intro h1 {
font-size: 1.5rem;
}
.intro p {
font-size: 1rem;
}
}
@media (min-width: 1200px) {
main {
padding: 3rem 2rem;
}
.services {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto;
gap: 2rem;
}
.intro {
grid-column: 1 / -1;
margin: 0 auto 2rem auto;
}
}
#logo-fade {
position: fixed;
z-index: 9999;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: #000;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.5s ease-in-out;
}
#logo-fade.active {
opacity: 1;
}
#logo-fade img {
width: 800px;
max-width: 80vw;
opacity: 0;
animation: logoFadeIn 0.6s ease-in-out forwards;
animation-delay: 0.1s;
}
@keyframes logoFadeIn {
to { opacity: 1; }
}
.hidden {
display: none !important;
}