body {
  background-image: url("slike/pozadina.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Comic Sans MS", sans-serif;
  color: #2d0036;
  margin: 0;
  font-size: 1.1rem;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.navbar {
  background-color: #e0b3ff;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar a {
  color: #2d0036;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.2s;
}
.navbar a:hover {
  background-color: #d68cfc;
  color: white;
  transform: scale(1.05);
}
.container {
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  margin: auto;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.gallery img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery video,
.gallery-video {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
  display: block;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.links-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  animation: fadeIn 1s ease forwards;
}
.links-container a {
  width: 80%;
  max-width: 400px;
  background-color: #d68cfc;
  color: #2d0036;
  font-weight: bold;
  transition: transform 0.2s;
}
.links-container a:hover {
  transform: scale(1.03);
}
h2, h3, h4 {
  color: #2d0036;
  text-align: center;
}
h3 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
}
ul {
  list-style-type: disc;
  text-align: left;
  max-width: 600px;
  margin: 15px auto;
  color: #2d0036;
  font-size: 1.1rem;
}
.info-block {
  padding: 20px;
  font-size: 1.2rem;
  color: #2d0036;
  text-align: center;
}
.home-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease-out;
}
.home-image, .home-text {
  flex: 1 1 100%;
  text-align: center;
}
@media (min-width: 768px) {
  .home-image {
    flex: 1 1 55%;
  }
  .home-text {
    flex: 1 1 40%;
  }
}
.home-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
}
.event {
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.75);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: fadeIn 1s ease-out;
}
.event img {
  width: 100%;
  max-width: 600px;
  border-radius: 15px;
  margin-top: 10px;
  transition: transform 0.3s;
}
.event img:hover {
  transform: scale(1.02);
}

button {
  background-color: #e0b3ff;
  border: none;
  color: #2d0036;
  padding: 12px 20px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 10px;
  margin: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #d68cfc;
  color: white;
  transform: scale(1.05);
}