/* Fælles for Caminos eksempelsider (eksempel-*.html): skrifterne, dækket der glider væk, når siden
   åbner, og Camino-baren nederst med vejen tilbage. Hver side har sin egen stil ved siden af. */
@font-face { font-family: Archivo; src: url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url(../fonts/martian-mono-latin-wdth-normal.woff2) format('woff2'); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }
@font-face { font-family: Newsreader; src: url(../fonts/newsreader-latin.woff2) format('woff2'); font-style: normal; font-weight: 200 800; font-display: swap; }
@font-face { font-family: Newsreader; src: url(../fonts/newsreader-italic-latin.woff2) format('woff2'); font-style: italic; font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Young Serif'; src: url(../fonts/young-serif-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/source-sans-3-latin.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Dækket har samme farve og tekst som det, Camino folder ud ved klikket (e15.js), så skiftet ser ud som ét. */
.cam-daekke { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--daekke, #EFE9DD); color: var(--daekke-tekst, #1A1612); pointer-events: none; animation: cam-ind .8s .12s cubic-bezier(.7, 0, .2, 1) both; }
.cam-daekke span, .eksempel-daekke span { font: 500 .72rem/1 'Martian Mono', ui-monospace, monospace; letter-spacing: .22em; text-transform: uppercase; }
.cam-daekke span { animation: cam-tekst .5s both; }
@keyframes cam-ind { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes cam-tekst { to { opacity: 0; } }

/* Tilbage til Camino: Caminos papirfarve glider op over siden, før den skifter. */
.cam-ud { position: fixed; inset: 0; z-index: 1001; background: #EFE9DD; clip-path: inset(100% 0 0 0); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); pointer-events: none; }
.cam-ud.er-ude { clip-path: inset(0); }

.cam-bar { position: fixed; z-index: 900; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(26, 22, 18, .9); color: #F8F5EE; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 600 .82rem/1 Archivo, 'Arial Narrow', sans-serif; white-space: nowrap; }
.cam-bar a { color: inherit; text-decoration: none; padding: .7em 1em; border-radius: 999px; }
.cam-bar a:hover, .cam-bar a:focus-visible { background: rgba(255, 255, 255, .12); }
.cam-bar .cam-tilbage b { font-weight: 800; }
.cam-bar .cam-tilbud { background: #FFCC00; color: #1A1612; }
.cam-bar .cam-tilbud:hover, .cam-bar .cam-tilbud:focus-visible { background: #ffd83d; }
.cam-bar span { padding: 0 .7em; font: 500 .62rem/1.3 'Martian Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
@media (max-width: 640px) {
  .cam-bar { font-size: .78rem; }
  .cam-bar span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cam-daekke, .cam-ud { display: none; }
}
