styly
html {
background-color: #9bafde; /* svetlomodre pozadie */
scroll-behavior: smooth;
}

body {
background-color: #cdd5ed; /* jemná oceľovomodra */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 40px;
margin: 20px;
color: #13154d; /* tmavomomodry text */
}

p {
font-size: 18px;
line-height: 1.6;
}

@media (max-width: 600px) {
p {
font-size: 16px;
}
}

h1 {
font-family: 'Courier New', Courier, monospace;
font-size: 2.5em;
color: #102542;
}

h1, h2, h3 {
text-align: center;
letter-spacing: 0.3vw;
color: #1b1f3b;
}

table, th, td {
border: 2px solid #2c3e50;
border-collapse: collapse;
text-align: center;
}

tr:hover {
background-color: #b0c4de; /* svetlomodrá pri hoveri */
}

table {
width: 100%;
border-collapse: collapse;
text-align: center;
background-color: #edf6f9;
}

th, td {
border: 1px solid #2e3d49;
padding: 12px;
}

th {
background-color: #4682b4; /* oceľovomodrá */
color: white;
}

.parallax {
background-image: url('foto/foto1.jpg');
min-height: 400px;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

.gallery {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
max-width: 1000px;
margin: 0 auto;
padding: 20px;
position: relative;
z-index: 1;
}

.gallery a {
display: block;
position: relative;
border-radius: 12px;
overflow: visible;
transition: transform 0.3s ease, box-shadow 0.3s ease;
z-index: 0;
}

.gallery img {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 12px;
transition: transform 0.4s ease, box-shadow 0.4s ease;
display: block;
z-index: 0;
}

.gallery a:hover img {
transform: scale(1.3);
z-index: 10;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.gallery a:hover {
z-index: 10;
}

@media (max-width: 768px) {
.gallery {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 480px) {
.gallery {
grid-template-columns: 1fr;
}
}

footer {
text-align: center;
margin-top: 30px;
padding: 15px;
background-color: #5d92b2; /* tmavšia modrá */
color: white;
}

nav ul {
display: flex;
justify-content: center;
list-style: none;
padding: 0;
margin: 0;
}

nav li {
margin: 0 20px;
}

nav a {
text-decoration: none;
color: #1e2a38;
font-weight: bold;
padding: 8px 12px;
border-radius: 6px;
transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
color: #ffffff;
background-color: #345678; /* modrošedá */
}

nav {
position: sticky;
top: 0;
background-color: #a3c4dc; /* svetlá modrá */
z-index: 1000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.thumb {
max-width: 100%;
cursor: pointer;
transition: 0.3s ease;
border-radius: 8px;
}

.lightbox {
display: none;
position: fixed;
z-index: 1000;
top: 0; left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
text-align: center;
padding-top: 5%;
}

.lightbox:target {
display: block;
}

.lightbox img {
max-width: 90%;
max-height: 80vh;
border-radius: 10px;
}

.lightbox .close {
position: absolute;
top: 20px;
right: 40px;
width: 40px;
height: 40px;
background: white;
border-radius: 50%;
text-decoration: none;
font-weight: bold;
font-size: 20px;
line-height: 40px;
color: #1e2a38;
text-align: center;
}


.spotify-box {
  max-width: 400px;
  margin: 20px auto;
}

.spotify-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* dve stĺpce */
  gap: 20px;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 10px;
}

.spotify-box {
  width: 100%;
}

/* Responzívne: ak je obrazovka užšia než 600px, zobraz len jeden stĺpec */
@media (max-width: 600px) {
  .spotify-grid {
    grid-template-columns: 1fr;
  }
}





