59 lines
1.4 KiB
CSS
59 lines
1.4 KiB
CSS
@font-face {
|
|
font-family: "Bratonien2025";
|
|
src: url("../../shared/fonts/PinyonScript-Regular.ttf") format("truetype");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* === Türchen-Stil === */
|
|
.door {
|
|
position: absolute;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
aspect-ratio: 1 / 1;
|
|
|
|
/* Verlauf auf Basis der CI-Farben */
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--ci-darkgreen) 60%, transparent),
|
|
color-mix(in srgb, var(--ci-blue) 60%, transparent)
|
|
);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
|
|
border: 2px solid var(--ci-gold);
|
|
border-radius: 12px;
|
|
box-shadow:
|
|
0 0 10px color-mix(in srgb, var(--ci-gold) 40%, transparent),
|
|
inset 0 0 6px rgba(255,255,255,0.9);
|
|
|
|
/* Schrift */
|
|
font-family: "Bratonien2025", cursive;
|
|
font-size: 2.3vw;
|
|
font-weight: 400;
|
|
color: var(--ci-gold);
|
|
text-shadow:
|
|
0 0 3px rgba(0,0,0,0.6),
|
|
0 0 8px rgba(0,0,0,0.4);
|
|
|
|
cursor: pointer;
|
|
transition:
|
|
transform 0.2s ease,
|
|
box-shadow 0.2s ease,
|
|
background 0.2s ease;
|
|
}
|
|
|
|
/* Hover: heller Goldverlauf */
|
|
.door:hover {
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--ci-gold) 40%, transparent),
|
|
color-mix(in srgb, var(--ci-creamwhite) 40%, transparent)
|
|
);
|
|
box-shadow:
|
|
0 0 16px color-mix(in srgb, var(--ci-gold) 60%, transparent),
|
|
inset 0 0 10px rgba(255,255,255,0.35);
|
|
transform: scale(1.04);
|
|
} |