/* Tło */
body {
  margin: 0;
  padding: 0;
  background: url("../img/background.png") no-repeat center center fixed;
  background-size: cover;
  font-family: sans-serif;
  color: white;
}

/* Główna zawartość */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  gap: 20px;
  padding: 20px;
}

/* Domyślnie pokazujemy obraz Thorgala */
.desktop-only {
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Ukrywamy wersję mobilną */
.mobile-only {
  display: none;
}

/* Linki */
.links a {
  display: inline-block;
  margin: 10px 20px;
  transition: transform 0.3s ease;
}

.link-img {
  width: 120px;         /* lub dowolna inna szerokość – możesz dostosować */
  height: auto;
}

/* Efekt powiększenia na hover */
.links a:hover {
  transform: scale(1.1);
}

/* === MEDIA QUERY: urządzenia mobilne (max 768px) === */
@media screen and (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .mobile-img {
    max-width: 90vw;
    height: auto;
  }
}