
.top-nav {
  position: fixed;
  padding: 30px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  width: 100%;
  box-sizing: border-box;
}

.hero .overlay {
  z-index: 1;
}

.hero .top-nav {
  z-index: 10;
}

.hero .hero-content {
  z-index: 5;
}

body {
  padding-top: 100px;
}


.hero-content {
  padding-top: 120px; /* prispôsobené výške fixného menu */
  text-align: center;
}

.hero {
  padding-top: 90px; /* uprav podľa výšky menu – 70–100px funguje dobre */
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Riešenie pre mobily – jedno okno */
@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: 1fr !important;
  }
}
.game-section {
  background: #000;
  color: #0f0;
  padding: 60px 20px;
  text-align: center;
}

.building {
  width: 60%;
  height: 300px;
  margin: 30px auto;
  background: url('assets/building-intact.png') center/cover no-repeat;
  transition: background 0.5s ease;
  cursor: pointer;
}

.building.damaged {
  background: url('assets/building-damaged.png') center/cover no-repeat;
}

.building.destroyed {
  background: url('assets/building-destroyed.png') center/cover no-repeat;
}
javascript
Kopírovať
Upraviť
