* { box-sizing: border-box }
body { margin: 0; background: #082920; color: white; font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", sans-serif }
body::before { content: ""; position: fixed; inset: 0; background: url("tlo.gif") center / cover no-repeat; filter: saturate(.45); opacity: .28; pointer-events: none }
nav { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; background: rgb(9 37 30 / 48%); border-bottom: 1px solid #628778 }
nav a { color: #eee; padding: 1.25rem clamp(.6rem, 4vw, 3rem); font-family: inherit; font-size: 1rem; text-decoration: none; border-bottom: 3px solid transparent }
nav a[aria-current] { color: #b2ffd5; border-color: currentColor }
nav a:hover { background: rgb(32 70 54 / 65%) }
main { position: relative; min-height: 75svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 8vw }
h1 { font-size: clamp(2.35rem, 7vw, 7rem); letter-spacing: -.065em; margin: 0; text-shadow: 0 2px 18px #082920 }
@media (max-width: 40rem) {
  nav a { padding: .7rem .8rem }
  nav a:first-child { flex-basis: 100%; text-align: center }
}

#kontakt { line-height: 1.6 }
#kontakt address { font-style: normal }
#kontakt a { color: #b2ffd5 }
#galeria:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem }
#galeria img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .35rem }
#podglad { padding: 0; border: 0; background: #10231d; max-width: 96vw; max-height: 96dvh }
#podglad::backdrop { background: rgb(0 0 0 / 86%) }
#podglad img { display: block; max-width: 95vw; max-height: 94dvh; object-fit: contain }
#podglad button { position: absolute; right: .5rem; top: .5rem; width: 44px; height: 44px; border: 1px solid white; border-radius: 50%; background: #132820; color: white; font-size: 1.7rem; cursor: pointer }

#opis .wstep,
#kontakt > p:first-child > strong { font-size: 2em; font-weight: 700 }
#opis .wstep { margin-bottom: .65em }
#opis .wstep + p { margin-top: 0 }

html[data-platform="android"] nav a { min-height: 48px; align-content: center }
html[data-platform="android"] #podglad button { width: 48px; height: 48px }
@media (pointer: coarse) {
  #podglad button { width: 48px; height: 48px }
}

nav { padding-inline: 1vw }
nav > a:first-child { margin-inline-start: auto }
.languages { display: flex; align-items: center; margin-inline-start: auto }
.languages a { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0 }
.languages svg { box-shadow: 0 0 0 1px #ffffff60 }
@media (max-width: 54rem) {
 nav > a { padding-inline: .65rem }
 nav > a:first-child { flex-basis: auto; margin-inline-start: 0 }
}
@media (max-width: 40rem) {
 nav { display: grid; grid-template-columns: repeat(3, 1fr) auto }
 nav > a { text-align: center }
 nav > a:first-child { grid-column: 1 / 4; text-align: left }
 .languages { grid-column: 4; grid-row: 1 }
}
