div[lang] {
  display: none;
}

html.en div[lang="en"] {
  display: block;
}

html.lt div[lang="lt"] {
  display: block;
}

.lang-switcher {
    position: fixed;
    right: 18px;
    top: 60px;/*50%;*/
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 14px;

    padding: 10px 8px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    z-index: 9999;
}

/* Links reset */
.lang-switcher a {
    display: block;
    width: 42px;
    height: 30px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

/* SVG flags */
.lang-switcher img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover effect */
.lang-switcher a:hover {
    transform: scale(1.18);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Active click effect */
.lang-switcher a:active {
    transform: scale(1.05);
}

/* Mobile version */
@media (max-width: 600px) {
    .lang-switcher {
        right: 10px;
        gap: 10px;
    }
    .lang-switcher a {
        width: 36px;
        height: 26px;
    }
}

body {
  display: grid;
  grid-template-areas:
    "banner banner"
    "menu content";
  grid-template-columns: 250px 1fr;
  grid-template-rows: auto 1fr;
  height: 100vh;
  margin: 0;
  font-family: system-ui, sans-serif;
}
#banner {
  grid-area: banner;
  background: #f4f4f4;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
#menu {
  grid-area: menu;
  background: #fafafa;
  padding: 10px;
  border-right: 1px solid #ccc;
  overflow-y: auto;
}
#content {
  grid-area: content;
  padding: 20px;
  overflow-y: auto;
}
a {
  color: #0366d6;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.active-link {
  font-weight: bold;
  text-decoration: underline;
}

