:root {
  --panel-width: 215px;
}

body {
  margin: 0;
  background: url("/img/greengrid.jpg") repeat;
  background-attachment: fixed;
  font-family: 'Arial', cursive, sans-serif;
}

.container {
  display: grid;
  grid-template-areas:
    "header header header"
    "sidebar-left main sidebar-right"
    "footer footer footer";
  grid-template-columns: var(--panel-width) 1fr var(--panel-width);
  grid-template-rows: auto 1fr;
  gap: 10px;
  /*min-height: 100vh;*/
  max-width: 1100px;
  margin: auto;
}

.header {
  grid-area: header;
  background: url("/img/logo-bg.jpg");
  text-align: center;
  padding: 5px;
  color: yellow;
  font-size: 1rem;
  text-shadow: 1px 1px 2px black;
}

.sidebar-left {
  grid-area: sidebar-left;
  background-color: #58005880;
  border-radius: 12px;
  padding: 10px;
  color: white;
  border: solid #ffd700;
  box-sizing: border-box;
}

.sidebar-right {
  grid-area: sidebar-right;
  background-color: #58005880;
  border-radius: 12px;
  padding: 10px;
  padding-top: 20px;
  color: white;
  border: 2px solid #ffd700;
  box-sizing: border-box;
}

.sidebar-right {
  grid-area: sidebar-right;
  background-color: #58005880;
  padding: 12px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-box {
  border: 2px solid lime;
  background-color: #000;
  padding: 10px;
  font-size: 0.9rem;
  text-align: left;
  box-shadow: 2px 2px 0 lime;
}

.sidebar-box h3 {
  margin-top: 0;
  font-size: 1rem;
  color: yellow;
  text-shadow: 1px 1px black;
}

.sidebar-box img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 5px;
}


.nav-buttons img {
  display: block;
  width: 100%;
  cursor: pointer;
}

.left-info img, {
  display: block;
  margin: 2px 0;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.right-info img, {
  display: block;
  margin: 2px 0;
  height: auto;
}

.main-content {
  grid-area: main;
  background-color: #58005880;
  border-radius: 12px;
  color: lime;
  padding: 20px;
  font-size: 1rem;
  overflow-wrap: break-word;
  text-align: left;
  border: 2px solid #ffd700;
  box-sizing: border-box;
}

.main-content p {
  margin: 12px;
}

.main-content h2 {
  margin-top: 2px;
}

/* RESPONSYWNOŚĆ NA MOBILE */
@media (max-width: 768px) {
  .container {
    grid-template-areas:
      "header"
      "sidebar-left"
      "main"
      "sidebar-right"
      "footer";
    grid-template-columns: 1fr;
  }
}

.ticker-wrapper {
  width: 100%;
  background-color: black;
  border-top: 2px solid #21653f;
  border-bottom: 2px solid #21653f;
  overflow: hidden;
  height: 35px;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
  color: lime;
  font-size: 1rem;
  line-height: 5px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.footer {
  grid-area: footer;
  text-align: center;
  background-color: #58005880;
  border-radius: 12px;
  color: lime;
  border: 2px solid #ffd700;
  font-size: 0.9rem;
  text-align: center;
}
.retro-table {
  margin: 20px auto;           /* centrowanie tabeli */
  border-collapse: collapse;
  border: 2px solid black;
  background-color: white;
  color: black;
  width: 80%;
  max-width: 600px;
}

.retro-table th,
.retro-table td {
  border: 2px solid black;
  padding: 10px;
  text-align: left;           /* albo "center" jeśli chcesz wszystko wyśrodkować */
}

.retro-table th {
  background-color: #111;
  color: yellow;
}

.blog-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.blog-list-item {
  margin-bottom: 10px;
  padding: 10px;
  border: 2px solid lime;
  background-color: #000;
  box-shadow: 2px 2px 0 lime;
}

.blog-list-item a {
  color: yellow;
  text-decoration: none;
}

.blog-list-item a:hover {
  text-decoration: underline;
}

.download-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  color: lime;
  background-color: black;
  border: 2px solid lime;
}

.download-table th,
.download-table td {
  border: 1px solid lime;
  padding: 12px;
  text-align: left;
  font-size: 1rem;
}

.download-table th {
  background-color: #111;
  color: yellow;
  text-shadow: 1px 1px black;
}

.download-table img {
  height: 32px;
  cursor: pointer;
  transition: transform 0.2s;
}

.download-table img:hover {
  transform: scale(1.1);
}

