/* Prepreči izbiranje (highlighting) besedila ob dvojnem dotiku */
body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer; /* Zamenja puščico z roko, če je slučajno vidna miška */
}

/* Skrij drsnike (scrollbars), ampak še vedno omogoči drsenje (scroll) s prstom */
::-webkit-scrollbar {
  display: none;
}

/* Top logo */
.top-logo {
  text-align: center;
  padding: 1rem 0;
}

.top-logo img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  display: inline-block;
}

/* Uvodno ozadje na touch zaslonu */
.touch-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Vsebina mora biti nad ozadjem */
.touch-page {
  position: relative;
  z-index: 1;
}

/* ====== Uvodna stran za izbiro jezika (pokončni touch info pano) ====== */

/* Cela uvodna stran kot navpičen stolpec, da lahko jezike potisnemo nižje */
.touch-page.no-header.no-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 100vh;
  padding: 4rem 2rem;
}

/* Premakni izbiro jezikov nižje, bližje višini rok, ko stojiš ob panoju */
.touch-languages {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 2.5rem 3rem;
  margin-top: auto;          /* potisne zastave proti spodnjemu delu zaslona */
  margin-bottom: 3rem;
  padding: 2rem;
}

/* Posamezen gumb za jezik: zastava + ime jezika pod njo */
.touch-language-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  text-decoration: none;
  -webkit-transition: -webkit-transform 0.15s ease;
  transition: -webkit-transform 0.15s ease;
  transition: transform 0.15s ease;
  transition: transform 0.15s ease, -webkit-transform 0.15s ease;
}

.touch-language-button:active {
  -webkit-transform: scale(0.94);
          transform: scale(0.94);
}

/* Večje zastave za enostavno izbiro s prstom */
.touch-language-button img {
  width: 170px;
  height: auto;
  border-radius: 0.75rem;
  -webkit-box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
          box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

/* Ime jezika pod zastavo */
.touch-language-name {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  color: #fff;
  text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.6);
}
